Update of /cvsroot/openfirst/forum
In directory sc8-pr-cvs1:/tmp/cvs-serv18639/forum
Modified Files:
thread.php
Log Message:
Bug fixes - signatures, some setup changes
Index: thread.php
===================================================================
RCS file: /cvsroot/openfirst/forum/thread.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** thread.php 27 Dec 2003 01:04:55 -0000 1.6
--- thread.php 1 Jan 2004 21:55:57 -0000 1.7
***************
*** 42,45 ****
--- 42,46 ----
$reply=0;
$forum="";
+ $usersig="";
if ($thread != 0) {
***************
*** 77,82 ****
--- 78,85 ----
if(function_exists("emoticon_translate")){
echo(emoticon_translate($msg->Message));
+ echo('<div><br><hr width=200 align=left>'.emoticon_translate($usersig).'</div>');
}else{
echo($msg->Message);
+ echo('<div><br><hr width=200 align=left>'.$usersig.'</div>');
}
echo "</td></tr>";
***************
*** 130,135 ****
--- 133,140 ----
if(function_exists("emoticon_translate")){
echo(emoticon_translate($msg->Message));
+ echo('<div><br><hr width=200 align=left>'.emoticon_translate($usersig).'</div>');
}else{
echo($msg->Message);
+ echo('<div><br><hr width=200 align=left>'.$usersig.'</div>');
}
echo "</div></td></tr>";
***************
*** 164,167 ****
--- 169,174 ----
}
}
+ unset($usersig);
+
include($footer);
***************
*** 184,187 ****
--- 191,195 ----
$ret .= "<div>Team $user->team</div>";
}
+ $GLOBALS["usersig"]=$user->signature;
return $ret;
} else {
|