From: <dts...@us...> - 2003-06-03 20:07:16
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/conf In directory sc8-pr-cvs1:/tmp/cvs-serv32753/conf Modified Files: boost.php manager.php module_rights.txt Log Message: Adding thread layer Index: boost.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/conf/boost.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** boost.php 20 May 2003 21:59:16 -0000 1.2 --- boost.php 3 Jun 2003 20:07:11 -0000 1.3 *************** *** 17,21 **** $admin_op = "&PHPWSBB_MAN_OP=list"; ! $mod_class_files = array("Message.php", "Manager.php"); $mod_sessions = array("PHPWSBB_Manager"); $init_object = array("PHPWSBB_Manager"=>"PHPWSBB_Manager"); --- 17,21 ---- $admin_op = "&PHPWSBB_MAN_OP=list"; ! $mod_class_files = array("Thread.php", "Message.php", "Manager.php"); $mod_sessions = array("PHPWSBB_Manager"); $init_object = array("PHPWSBB_Manager"=>"PHPWSBB_Manager"); Index: manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/conf/manager.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** manager.php 3 Jun 2003 16:22:43 -0000 1.5 --- manager.php 3 Jun 2003 20:07:11 -0000 1.6 *************** *** 6,19 **** /* The name of my lists and their corresponding database constraints */ ! $lists = array("messages"=>"pid=0"); /* The directory where my templates are located */ ! $templates = array("messages"=>"manager"); /* The columns to list for my defined "saved" list and their labels */ ! $messagesColumns = array( "label"=>$_SESSION["translate"]->it("Subject"), "owner"=>$_SESSION["translate"]->it("Poster"), "replies"=>$_SESSION["translate"]->it("Replies"), ! "lastreply"=>$_SESSION["translate"]->it("Last Reply"), "id"=>NULL, "locked"=>NULL, --- 6,19 ---- /* The name of my lists and their corresponding database constraints */ ! $lists = array("threads"=>"approved=1"); /* The directory where my templates are located */ ! $templates = array("threads"=>"manager"); /* 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"), ! "updated"=>$_SESSION["translate"]->it("Last Reply"), "id"=>NULL, "locked"=>NULL, *************** *** 21,41 **** /* The actions to show in the defined "saved" list and their labels */ ! $messagesActions = array( "view"=>"View", ! "edit"=>"Edit", "delete"=>"Delete", - "fork"=>"Fork", "lock"=>"Lock" ); /* The permissions associated with the defined actions above */ ! $messagesPermissions = array( "view"=>NULL, ! "edit"=>"edit_messages", ! "delete"=>"delete_messages", ! "fork"=>"fork_messages", "lock"=>"lock_threads" ); /* The paging parameters for the list */ ! $messagesPaging = array( "op"=>"PHPWSBB_MAN_OP=list", "limit"=>50, "secion"=>1, --- 21,37 ---- /* The actions to show in the defined "saved" list and their labels */ ! $threadsActions = array( "view"=>"View", "delete"=>"Delete", "lock"=>"Lock" ); /* The permissions associated with the defined actions above */ ! $threadsPermissions = array( "view"=>NULL, ! "delete"=>"delete_threads", "lock"=>"lock_threads" ); /* The paging parameters for the list */ ! $threadsPaging = array( "op"=>"PHPWSBB_MAN_OP=list", "limit"=>50, "secion"=>1, Index: module_rights.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/conf/module_rights.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** module_rights.txt 20 May 2003 19:29:38 -0000 1.1 --- module_rights.txt 3 Jun 2003 20:07:11 -0000 1.2 *************** *** 1,4 **** edit_messages::Add/Edit Messages ! delete_messages::Delete Messages/Threads fork_messages::Fork Messages Into New Threads lock_threads::Lock Threads --- 1,5 ---- edit_messages::Add/Edit Messages ! delete_messages::Delete Messages fork_messages::Fork Messages Into New Threads lock_threads::Lock Threads + delete_threads::Delete Threads |