:::

9-3-4-4 templates\blocks\action_signup.tpl 套用語系

您沒有觀看影片的權限

您沒有觀看影片的權限

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

 Tadtools中「:」的常數為:_TAD_FOR

<h2 class="my">
    <{if $block.enable && ($block.number + $block.candidate) > $block.signup_count && $block.end_date|strtotime >= $smarty.now}>
        <i class="fa fa-check text-success" aria-hidden="true"></i>
    <{else}>
        <i class="fa fa-times text-danger" aria-hidden="true"></i>
    <{/if}>
    <{$block.title}>
</h2>

<div class="alert alert-info">
    <{$block.detail}>
</div>

<h4 class="my">
    <small>
        <div><i class="fa fa-calendar" aria-hidden="true"></i> <{$smarty.const._MB_TAD_SIGNUP_ACTION_DATE}><{$smarty.const._TAD_FOR}><{$block.action_date|substr:0:-3}></div>
        <div><i class="fa fa-calendar-check-o" aria-hidden="true"></i> <{$smarty.const._MB_TAD_SIGNUP_END_DATE}><{$smarty.const._TAD_FOR}><{$block.end_date|substr:0:-3}></div>
        <div>
            <i class="fa fa-users" aria-hidden="true"></i> <{$smarty.const._MB_TAD_SIGNUP_STATUS}><{$smarty.const._TAD_FOR}><{$block.signup_count}>/<{$block.number}>
            <{if $block.candidate}><span data-toggle="tooltip" title="<{$smarty.const._MB_TAD_SIGNUP_CANDIDATES_QUOTA}>">(<{$block.candidate}>)</span><{/if}>
        </div>
    </small>
</h4>

<div class="text-center my-3">
    <a href="<{$xoops_url}>/modules/tad_signup/index.php?op=tad_signup_data_create&action_id=<{$block.id}>" class="btn btn-lg btn-info <{if !($block.enable && ($block.number + $block.candidate) > $block.signup_count && $xoops_isuser && $block.end_date|strtotime >= $smarty.now)}>disabled<{/if}>"><i class="fa fa-plus" aria-hidden="true"></i> <{$smarty.const._MB_TAD_SIGNUP_APPLY_NOW}></a>
</div>

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


:::

搜尋

QR Code 區塊

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

書籍目錄

展開 | 闔起

線上使用者

20人線上 (6人在瀏覽線上書籍)

會員: 0

訪客: 20

更多…