Update of /cvsroot/phpwsbb/phpwsbb/conf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1820
Modified Files:
manager.php
Log Message:
Add Views
Index: manager.php
===================================================================
RCS file: /cvsroot/phpwsbb/phpwsbb/conf/manager.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** manager.php 19 Sep 2004 05:32:41 -0000 1.14
--- manager.php 4 Feb 2006 01:33:42 -0000 1.15
***************
*** 72,84 ****
/* The columns to list for my defined 'saved' list and their labels */
! $threadsColumns = array( 'label'=>$_SESSION['translate']->it('Topic'),
! 'owner'=>$_SESSION['translate']->it('Poster'),
! 'replies'=>$_SESSION['translate']->it('Replies'),
! 'lastpost'=>$_SESSION['translate']->it('Last Post'),
! 'id'=>NULL,
! 'locked'=>NULL,
! 'lastpost_post_id'=>NULL,
! 'sticky'=>NULL );
!
/* The actions to show in the defined 'saved' list and their labels */
$threadsActions = array( 'view'=>'View',
--- 72,96 ----
/* The columns to list for my defined 'saved' list and their labels */
! $result = $GLOBALS['core']->sqlSelect('mod_phpwsbb_settings');
! if ($result[0]['use_views']) {
! $threadsColumns = array( 'label'=>$_SESSION['translate']->it('Topic'),
! 'owner'=>$_SESSION['translate']->it('Poster'),
! 'replies'=>$_SESSION['translate']->it('Replies'),
! 'views'=>$_SESSION['translate']->it('Views'),
! 'lastpost'=>$_SESSION['translate']->it('Last Post'),
! 'id'=>NULL,
! 'locked'=>NULL,
! 'lastpost_post_id'=>NULL,
! 'sticky'=>NULL );
! } else {
! $threadsColumns = array( 'label'=>$_SESSION['translate']->it('Topic'),
! 'owner'=>$_SESSION['translate']->it('Poster'),
! 'replies'=>$_SESSION['translate']->it('Replies'),
! 'lastpost'=>$_SESSION['translate']->it('Last Post'),
! 'id'=>NULL,
! 'locked'=>NULL,
! 'lastpost_post_id'=>NULL,
! 'sticky'=>NULL );
! }
/* The actions to show in the defined 'saved' list and their labels */
$threadsActions = array( 'view'=>'View',
|