|
From: Wendall C. <wen...@us...> - 2005-01-05 15:50:43
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11451/class Modified Files: Manager.php Thread.php Log Message: small syntax fixes Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -d -r1.67 -r1.68 *** Thread.php 5 Jan 2005 00:45:48 -0000 1.67 --- Thread.php 5 Jan 2005 15:50:32 -0000 1.68 *************** *** 209,213 **** if ($results) foreach($results as $rec) ! $forums[$rec['id']] = $rec['label']; $form = new EZform('PHPWSBB_thread_move'); --- 209,213 ---- if ($results) foreach($results as $rec) ! $forums[$rec['id']] = PHPWS_Text::parseOutput($rec['label']); $form = new EZform('PHPWSBB_thread_move'); *************** *** 265,269 **** $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; ! return '<a name="bb-top" /></a>' . PHPWS_Template::processTemplate($tags, 'phpwsbb', 'view_thread_top.tpl') . $content --- 265,269 ---- $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; ! return '<div name="bb-top" />' . PHPWS_Template::processTemplate($tags, 'phpwsbb', 'view_thread_top.tpl') . $content Index: Manager.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Manager.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** Manager.php 5 Jan 2005 00:45:45 -0000 1.61 --- Manager.php 5 Jan 2005 15:50:32 -0000 1.62 *************** *** 481,485 **** $GLOBALS['CNT_phpwsbb']['content'] = $_SESSION['translate']->it('Anonymous viewing of this bulletin board has been disabled. You must log-in to view this bulletin board.'); } else { ! $sql = "SELECT tid, label FROM " . $GLOBALS["core"]->tbl_prefix . "mod_phpwsbb_messages $where"; $result = $GLOBALS['core']->query($sql); --- 481,485 ---- $GLOBALS['CNT_phpwsbb']['content'] = $_SESSION['translate']->it('Anonymous viewing of this bulletin board has been disabled. You must log-in to view this bulletin board.'); } else { ! $sql = 'SELECT tid, label FROM ' . $GLOBALS["core"]->tbl_prefix . 'mod_phpwsbb_messages '. $where; $result = $GLOBALS['core']->query($sql); |