From: <dts...@us...> - 2003-06-03 16:37:53
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb In directory sc8-pr-cvs1:/tmp/cvs-serv14102 Modified Files: index.php Log Message: Updates for adding replies and lastreply fields Index: index.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.php 20 May 2003 19:29:38 -0000 1.1 --- index.php 3 Jun 2003 16:22:27 -0000 1.2 *************** *** 15,20 **** } ! if(isset($_REQUEST["PHPWSBB_OP"]) && isset($_SESSION["PHPWSBB_Manager"]->message)) ! $_SESSION["PHPWSBB_Manager"]->message->action(); ?> --- 15,20 ---- } ! if(isset($_REQUEST["PHPWSBB_MESSAGE_OP"]) && isset($_SESSION["PHPWSBB_Manager"]->phpwsbb_message)) ! $_SESSION["PHPWSBB_Manager"]->phpwsbb_message->action(); ?> |
From: Eloi G. <ada...@us...> - 2008-10-08 17:11:33
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17831 Modified Files: index.php Log Message: Corrected minor bugs Index: index.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.php 23 Aug 2008 04:15:49 -0000 1.1 --- index.php 8 Oct 2008 17:11:19 -0000 1.2 *************** *** 89,93 **** } break; ! case 'forum': $forum = new PHPWSBB_Forum((int) $_GET['id']); --- 89,93 ---- } break; ! case 'forum': $forum = new PHPWSBB_Forum((int) $_GET['id']); *************** *** 118,122 **** $forum = & $GLOBALS['BBForums'][(int) $_REQUEST['forum']]; } ! switch ($_REQUEST['op']) { case 'create_topic': --- 118,122 ---- $forum = & $GLOBALS['BBForums'][(int) $_REQUEST['forum']]; } ! switch ($_REQUEST['op']) { case 'create_topic': *************** *** 126,130 **** $content = $topic->edit(); break; ! case 'save_topic': // Make sure that we can save this topic --- 126,130 ---- $content = $topic->edit(); break; ! case 'save_topic': // Make sure that we can save this topic *************** *** 146,150 **** unset($message); break; ! case 'getnew': if (!empty($_SESSION['phpwsbb_last_on'])) --- 146,150 ---- unset($message); break; ! case 'getnew': if (!empty($_SESSION['phpwsbb_last_on'])) *************** *** 155,159 **** Layout::addPageTitle($title); break; ! case 'viewtoday': $since = strtotime('00:00 today'); --- 155,159 ---- Layout::addPageTitle($title); break; ! case 'viewtoday': $since = strtotime('00:00 today'); *************** *** 163,167 **** Layout::addPageTitle($title); break; ! case 'viewweek': $since = strtotime('last monday'); --- 163,167 ---- Layout::addPageTitle($title); break; ! case 'viewweek': $since = strtotime('last monday'); *************** *** 171,175 **** Layout::addPageTitle($title); break; ! case 'viewzerothreads': $title = dgettext('phpwsbb', 'Threads with no replies'); --- 171,175 ---- Layout::addPageTitle($title); break; ! case 'viewzerothreads': $title = dgettext('phpwsbb', 'Threads with no replies'); *************** *** 178,182 **** Layout::addPageTitle($title); break; ! case 'viewuserthreads': PHPWS_Core::initModClass('phpwsbb', 'BB_Lists.php'); --- 178,182 ---- Layout::addPageTitle($title); break; ! case 'viewuserthreads': PHPWS_Core::initModClass('phpwsbb', 'BB_Lists.php'); *************** *** 191,206 **** break; - case 'viewuserposts': - PHPWS_Core::initModClass('phpwsbb', 'BB_Lists.php'); - if (isset($_REQUEST['user'])) { - $title = sprintf(dgettext('phpwsbb', 'Bulletin Board Comments made by %s'), $_REQUEST['username']); - $content = PHPWSBB_Lists::search_comments('userposts', (int) $_REQUEST['user']); - } else { - $title = dgettext('phpwsbb', 'My Comments'); - $content = PHPWSBB_Lists::search_comments('userposts', Current_User::getId()); - } - Layout::addPageTitle($title); - break; - case 'viewlockedthreads': $title = dgettext('phpwsbb', 'Locked Threads'); --- 191,194 ---- *************** *** 209,213 **** Layout::addPageTitle($title); break; ! case 'fill_topic': // For diagnostic use only! Creates test comments in a topic // Make sure that we can save this topic --- 197,201 ---- Layout::addPageTitle($title); break; ! case 'fill_topic': // For diagnostic use only! Creates test comments in a topic // Make sure that we can save this topic *************** *** 242,247 **** $content = $topic->view(); break; ! ! default: // If none of these actions were requested & user is an admin.. --- 230,234 ---- $content = $topic->view(); break; ! default: // If none of these actions were requested & user is an admin.. |