:::

9-5-1-2 templates\op_tad_signup_actions_index.tpl 套用語系

您沒有觀看影片的權限

您沒有觀看影片的權限

請先登入,登入後,確認您的權限後,即可觀看影片。

<h2 class="my"><{$smarty.const._MD_TAD_SIGNUP_ACTION_LIST}></h2>

<table class="table table-bordered">
    <thead>
        <tr>
            <th nowrap class="c"><{$smarty.const._MD_TAD_SIGNUP_TITLE}></th>
            <th nowrap class="c"><{$smarty.const._MD_TAD_SIGNUP_ACTION_DATE}></th>
            <th nowrap class="c"><{$smarty.const._MD_TAD_SIGNUP_END_DATE_COL}></th>
            <th nowrap class="c"><{$smarty.const._MD_TAD_SIGNUP_NUMBER_OF_APPLIED}></th>
            <th nowrap class="c"><{$smarty.const._TAD_FUNCTION}></th>
        </tr>
    </thead>
    <tbody>
        <{foreach from=$all_data key=id item=action name=all_data}>
            <tr>
                <td>
                    <{if $action.enable && ($action.number + $action.candidate) > $action.signup_count && $action.end_date|strtotime >= $smarty.now}>
                        <i class="fa fa-check text-success" data-toggle="tooltip" title="<{$smarty.const._MD_TAD_SIGNUP_IN_PROGRESS}>" aria-hidden="true"></i>
                    <{else}>
                        <i class="fa fa-times text-danger" data-toggle="tooltip" title="<{$smarty.const._MB_TAD_SIGNUP_CANT_APPLY}>" aria-hidden="true"></i>
                    <{/if}>
                    <a href="<{$xoops_url}>/modules/tad_signup/index.php?id=<{$action.id}>"><{$action.title}></a>
                </td>
                <td><{$action.action_date}></td>
                <td><{$action.end_date}></td>
                <td>
                    <{$action.signup_count}>/<{$action.number}>
                    <{if $action.candidate}><span data-toggle="tooltip" title="<{$smarty.const._MD_TAD_SIGNUP_CANDIDATES_QUOTA}>">(<{$action.candidate}>)</span><{/if}>
                </td>
                <td>
                    <{if $smarty.session.can_add && ($action.uid==$now_uid || $smarty.session.tad_signup_adm)}>
                        <a href="<{$xoops_url}>/modules/tad_signup/index.php?op=tad_signup_actions_edit&id=<{$action.id}>" class="btn btn-sm btn-warning"><i class="fa fa-pencil" aria-hidden="true"></i> <{$smarty.const._EDIT}></a>
                        <a href="<{$xoops_url}>/modules/tad_signup/index.php?op=tad_signup_actions_copy&id=<{$action.id}>" class="btn btn-sm btn-info"><i class="fa fa-copy" aria-hidden="true"></i> <{$smarty.const._CLONE}></a>
                    <{/if}>

                    <{if $action.enable && ($action.number + $action.candidate) > $action.signup_count && $xoops_isuser && $action.end_date|strtotime >= $smarty.now}>
                        <a href="<{$xoops_url}>/modules/tad_signup/index.php?op=tad_signup_data_create&action_id=<{$action.id}>" class="btn btn-sm btn-info"><i class="fa fa-plus" aria-hidden="true"></i> <{$smarty.const._MD_TAD_SIGNUP_APPLY_NOW}></a>
                    <{else}>
                        <a href="<{$xoops_url}>/modules/tad_signup/index.php?id=<{$action.id}>" class="btn btn-sm btn-success"><i class="fa fa-file" aria-hidden="true"></i> <{$smarty.const._MORE}></a>
                    <{/if}>
                </td>
            </tr>
        <{/foreach}>
    </tbody>
</table>

<{$bar}>

<{if $smarty.session.can_add}>
    <div class="bar">
        <a href="<{$xoops_url}>/modules/tad_signup/index.php?op=tad_signup_actions_create" class="btn btn-primary"><i class="fa fa-plus" aria-hidden="true"></i> <{$smarty.const._MD_TAD_SIGNUP_ADD_ACTION}></a>
    </div>
<{/if}>

link to https://github.com/tadlearn/tad_signup/commit/8ce30633dfe050a773ab4adfe230011067c7adf6 \


:::

搜尋

QR Code 區塊

https%3A%2F%2Fwww.tad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D48%26tbdsn%3D1821

書籍目錄

展開 | 闔起

線上使用者

27人線上 (5人在瀏覽線上書籍)

會員: 0

訪客: 27

更多…