1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 00:27:45 +02:00

More forum progress

This commit is contained in:
mcfly
2008-12-02 21:34:18 +00:00
parent aed9cb08e5
commit d968b4f315
7 changed files with 256 additions and 264 deletions

View File

@@ -115,8 +115,17 @@ if($post_info['thread_parent'] == 0)
SC_END
SC_BEGIN SIGNATURE
global $postInfo;
if(!USER) { return ''; }
global $postInfo, $pref;
static $forum_sig_shown;
$e107 = e107::getInstance();
//$pref['forum_sig_once'] = true;
if(varsettrue($pref['forum_sig_once']))
{
$_tmp = 'forum_sig_shown_'.$postInfo['post_user'];
if(getcachedvars($_tmp)) { return ''; }
cachevars($_tmp, 1);
}
return ($postInfo['user_signature'] ? "<br /><hr style='width:15%; text-align:left' /><span class='smalltext'>".$e107->tp->toHTML($postInfo['user_signature'], true).'</span>' : '');
SC_END