我无法弄清楚如何在新闻的主要页脚上添加“发布日期”。每当我想检查帖子的日期时,我都必须单击“更多”图标。我需要将它放在主页脚上。
猜猜我找到了相关代码在哪里。它们在 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> ";
}
?>