From: Shaun M. <sin...@us...> - 2006-02-27 01:08:52
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16013 Modified Files: Manager.php Log Message: RouteLogin added to Eloi's listNewThreads Index: Manager.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Manager.php,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** Manager.php 25 Feb 2006 21:29:40 -0000 1.68 --- Manager.php 27 Feb 2006 01:08:49 -0000 1.69 *************** *** 387,392 **** if(!$_SESSION['OBJ_user']->username) { $GLOBALS['CNT_phpwsbb']['title'] = $_SESSION['translate']->it('Please Register'); ! $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('The "New Posts" feature is only available to registered users of this site. You must log-in to view this page.'); ! return FALSE; } --- 387,394 ---- if(!$_SESSION['OBJ_user']->username) { $GLOBALS['CNT_phpwsbb']['title'] = $_SESSION['translate']->it('Please Register'); ! $_SESSION['OBJ_user']->jumpURL = './index.php?module=phpwsbb&PHPWSBB_MAN_OP=getnew'; ! $_SESSION['OBJ_user']->error[] = $_SESSION['translate']->it('The "View New Posts" feature is only available to registered users of this site. You must log-in to view this page.'); ! $_SESSION['OBJ_user']->routeLogin(); ! exit(); } |