0
我很難弄清楚如何在新聞的主頁腳上添加「發佈日期」。每當我想檢查我的帖子的日期時,我必須點擊「更多」圖標。我需要在主頁腳上添加它。php-nuke在新聞的主要頁腳上顯示日期
猜想我找到了相關代碼的位置。他們在theme.php:
主要頁腳:
<div class="NewsFooter">
<div class="foot-r">
<?=$MoreLinkRight?>
</div>
<div class="foot-l">
<?=$MoreLinkLeft?>
</div>
<div class="foot-m">
<div class="Author">
<?=_AUTHOR?>
:
<?=$aid?>
<?=_VISIT?>
:
<?=$counter?>
</div>
子頁腳(這是一個條件):
<?php
}
function themearticle($aid, $informant, $datetime, $title, $bodytext, $hometext, $topics, $topicname_link, $topicimage_link, $topictext_link, $printpage, $notes, $counter, $score, $ratings, $sid, $topic_link)
{
global $admin, $tipath;
$ThemeSel = get_theme();
theme_lang();
if(file_exists("themes/$ThemeSel/images/topics/$topicimage_link")){
$t_image = "themes/$ThemeSel/images/topics/$topicimage_link";
}else{
$t_image = "$tipath$topicimage_link";
}
$posted = ""._POSTEDON." $datetime "._BY." ";
$posted .= get_author($aid);
$notes = str_replace(" ","_",$notes);
$notes = explode(":",$notes);
foreach($notes as $tag){
$tags .= "<i><a href=\"modules.php?name=News&file=tags&tags=$tag\">".str_replace("_"," ",$tag)."</a></i> ";
}
?>