資訊組長

2017-02-04 編修「公告」模組

  • 將頁籤的「所有消息」改「最新消息」

/modules/tadnews/language/tchinese_utf8/blocks.php

define('_MB_TADNEWS_LATEST_NEWS_TAB', '最新消息');

 

  • 修改作用中的頁籤格式

/modules/tadtools/Easy-Responsive-Tabs/css/easy-responsive-tabs.css 

  • .resp-tab-active {
    border: 1px solid #ff9900 !important;
    border-bottom: none;
    margin-bottom: -1px !important;
    padding: 12px 14px 14px 14px !important;
    border-top: 4px solid #ff9900 !important;
    border-bottom: 0px #fff solid !important;
    background-color: #ff9900 !important;
    color:white !important;
    }
    ...
    .resp-vtabs li.resp-tab-active {
    position: relative;
    z-index: 1;
    margin-right: -1px !important;
    padding: 14px 15px 15px 14px !important;
    border-top: 1px solid;
    border: 1px solid #ff9900 !important;
    border-left: 4px solid #ff9900 !important;
    margin-bottom: 4px !important;
    border-right: 1px #FFF solid !important;
    }
    

 

  • 公告增加「置頂」、「本日文章」符號,加入張貼者職稱和姓名

/var/www/html/themes/school2015/modules/tadnews/blocks/tadnews_block_tag_news.tpl

<style type="text/css" media="screen">
.resp-vtabs .resp-tabs-container{
min-height: <{$block.min_height}>px;
}
</style>
<div id="<{$block.tag_news_name}>">
<ul class="resp-tabs-list vert">
<{if $block.latest_news}>
<li><{$smarty.const._MB_TADNEWS_LATEST_NEWS_TAB}></li>
<{/if}>
<{foreach from=$block.tags key=tag_sn item=tag}>
<li><{$tag}></li>
<{/foreach}>
</ul>
<div class="resp-tabs-container vert">
<{if $block.latest_news}>
<div>
<{foreach from=$block.latest_news item=news}>
<div style="padding: 8px;">
<{$news.post_date}> <{$news.always_top_pic}> <{$news.prefix_tag}>
<{* customed start *}>
<{$news.enable_txt}><{$news.today_pic}>
<{* customed end *}>
<a href="<{$xoops_url}>/modules/tadnews/index.php?nsn=<{$news.nsn}>"><{$news.news_title}></a>
<{* customed start *}>
 <span style="color:#555555;font-size:14px;"> (<{$news.uid_name}>)</span>
<{* customed end *}>
</div>
<{/foreach}>
</div>
<{/if}>
<{foreach from=$block.tags key=tag_sn item=tag}>
<div>
<{if $block.all_news.$tag_sn.page}>
<{foreach from=$block.all_news.$tag_sn.page item=news}>
<div style="padding: 8px;">
<{$news.post_date}> <{$news.always_top_pic}>
<{* customed start *}>
 <span style="color:#333333;">【<a href="<{$xoops_url}>/modules/tadnews/index.php?ncsn=<{$news.ncsn}>"><{$news.cate_name}></a>】
<{$news.today_pic}></span>
<{* customed end *}>
<a href="<{$xoops_url}>/modules/tadnews/index.php?nsn=<{$news.nsn}>"><{$news.news_title}></a>
<{* customed start *}>
<span style="color:#555555;font-size:14px;"> (<{$news.uid_name}>)</span>
<{* customed end *}> 
</div>
<{/foreach}>
<div class="text-right">
[ <a href="<{$xoops_url}>/modules/tadnews/index.php?tag_sn=<{$tag_sn}>">more...</a> ]
</div>
<{/if}>
</div>
<{/foreach}>
</div>
</div>
<div style="clear: both;"></div>

 

活動剪影秀

  • slider image 1

1061120-網路應用競賽選手練習

搜尋

測站

空氣品質指標

 

 

指標污染物:

更新時間:

天氣一週預報

網路競賽

107年度網路競賽決賽

維基百科查詢

查百科

萌典查生字

查生字

Dr.eye 英漢字典

查單字