From: Don S. <ri...@us...> - 2004-09-13 21:42:05
|
Update of /cvsroot/phpwsbb/phpwsbb/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29269/conf Modified Files: boost.php controlpanel.php help.php layout.php manager.php menuman.php search.php Log Message: Switching to use single-quotes when possible for faster parsing and PEAR followingness Index: controlpanel.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/controlpanel.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** controlpanel.php 10 Sep 2004 02:01:34 -0000 1.7 --- controlpanel.php 13 Sep 2004 21:41:55 -0000 1.8 *************** *** 24,43 **** */ ! $image["name"] = "phpwsbb.png"; ! $image["alt"] = "Author: Don Seiler"; ! $link[] = array ("label"=>"Bulletin Board", ! "module"=>"phpwsbb", ! "url"=>"index.php?module=phpwsbb&PHPWSBB_MAN_OP=list", ! "image"=>$image, ! "description"=>"A bulletin board module.", ! "tab"=>"content"); ! $link[] = array ("label"=>"Set My Bulletin Board Preferences", ! "module"=>"phpwsbb", ! "url"=>"index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings", ! "image"=>$image, ! "description"=>"Allows you to set your bulletin board preferences.", ! "tab"=>"my_settings"); ?> --- 24,43 ---- */ ! $image['name'] = 'phpwsbb.png'; ! $image['alt'] = 'Author: Don Seiler'; ! $link[] = array ('label'=>'Bulletin Board', ! 'module'=>'phpwsbb', ! 'url'=>'index.php?module=phpwsbb&PHPWSBB_MAN_OP=list', ! 'image'=>$image, ! 'description'=>'A bulletin board module.', ! 'tab'=>'content'); ! $link[] = array ('label'=>'Set My Bulletin Board Preferences', ! 'module'=>'phpwsbb', ! 'url'=>'index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings', ! 'image'=>$image, ! 'description'=>'Allows you to set your bulletin board preferences.', ! 'tab'=>'my_settings'); ?> Index: search.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/search.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** search.php 10 Sep 2004 02:01:34 -0000 1.5 --- search.php 13 Sep 2004 21:41:55 -0000 1.6 *************** *** 24,35 **** */ ! $module = "phpwsbb"; ! $search_class = "PHPWSBB_Manager"; ! $search_function = "search"; ! $search_cols = "label, body, owner"; ! $view_string = "&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS[]="; $show_block = 1; ! $block_title = "Bulletin Board"; ! $class_file = "Manager.php"; ?> --- 24,35 ---- */ ! $module = 'phpwsbb'; ! $search_class = 'PHPWSBB_Manager'; ! $search_function = 'search'; ! $search_cols = 'label, body, owner'; ! $view_string = '&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS[]='; $show_block = 1; ! $block_title = 'Bulletin Board'; ! $class_file = 'Manager.php'; ?> Index: boost.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/boost.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** boost.php 13 Sep 2004 16:07:17 -0000 1.37 --- boost.php 13 Sep 2004 21:41:55 -0000 1.38 *************** *** 24,39 **** */ ! $mod_title = "phpwsbb"; ! $mod_pname = "Bulletin Board"; ! $mod_directory = "phpwsbb"; ! $mod_filename = "index.php"; ! $allow_view = "all"; $priority = 50; $admin_mod = 1; ! $active = "on"; ! $version = "1.0.0"; ! $admin_op = "&PHPWSBB_MAN_OP=list"; ! $mod_class_files = array("Manager.php"); ! $mod_sessions = array("PHPWSBB_Manager"); ?> --- 24,39 ---- */ ! $mod_title = 'phpwsbb'; ! $mod_pname = 'Bulletin Board'; ! $mod_directory = 'phpwsbb'; ! $mod_filename = 'index.php'; ! $allow_view = 'all'; $priority = 50; $admin_mod = 1; ! $active = 'on'; ! $version = '1.0.0'; ! $admin_op = '&PHPWSBB_MAN_OP=list'; ! $mod_class_files = array('Manager.php'); ! $mod_sessions = array('PHPWSBB_Manager'); ?> Index: manager.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/manager.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** manager.php 10 Sep 2004 02:01:34 -0000 1.12 --- manager.php 13 Sep 2004 21:41:55 -0000 1.13 *************** *** 25,110 **** /* The name of my lists and their corresponding database constraints */ ! $lists = array( "forums"=>"approved=1", ! "threads"=>"approved=1"); /* The name of the tables to pull the lists from */ ! $tables = array("forums"=>"mod_phpwsbb_forums", ! "threads"=>"mod_phpwsbb_threads"); /* The directory where my templates are located */ ! $templates = array( "forums"=>"forums", ! "threads"=>"threads"); ! /* The columns to list for my defined "saved" list and their labels */ ! $forumsColumns = array( "label"=>$_SESSION["translate"]->it("Forum"), ! "description"=>$_SESSION["translate"]->it("Description"), ! "threads"=>$_SESSION["translate"]->it("Topics"), ! "lastpost"=>$_SESSION["translate"]->it("Last Post"), ! "posts"=>$_SESSION["translate"]->it("Posts"), ! "lastpost_topic_label"=>NULL, ! "lastpost_topic_id"=>NULL, ! "lastpost_post_id"=>NULL, ! "editor"=>NULL, ! "id"=>NULL ); ! /* The actions to show in the defined "saved" list and their labels */ ! $forumsActions = array( "view"=>"View", ! "delete"=>"Delete", ! "hide"=>"Hide", ! "show"=>"Show" ); /* The permissions associated with the defined actions above */ ! $forumsPermissions = array( "view"=>NULL, ! "delete"=>"delete_forums", ! "hide"=>"hide_forums", ! "show"=>"hide_forums" ); /* The paging parameters for the list */ ! $forumsPaging = array( "op"=>"PHPWSBB_MAN_OP=list", ! "limit"=>50, ! "section"=>1, ! "limits"=>array(5,10,25,50), ! "back"=>"<<", ! "forward"=>">>" ); ! /* 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, ! "lastpost_post_owner"=>NULL, ! "sticky"=>NULL ); ! /* The actions to show in the defined "saved" list and their labels */ ! $threadsActions = array( "view"=>"View", ! "delete"=>"Delete", ! "lock"=>"Lock", ! "unlock"=>"Unlock", ! "hide"=>"Hide", ! "show"=>"Show" ); /* The permissions associated with the defined actions above */ ! $threadsPermissions = array( "view"=>NULL, ! "delete"=>"delete_threads", ! "lock"=>"lock_threads", ! "unlock"=>"lock_threads", ! "hide"=>"hide_threads", ! "show"=>"hide_threads" ); /* The paging parameters for the list */ ! $threadsPaging = array( "op"=>"PHPWSBB_MAN_OP=viewforum", ! "limit"=>50, ! "section"=>1, ! "limits"=>array(5,10,25,50), ! "back"=>"<<", ! "forward"=>">>" ); ?> --- 25,110 ---- /* The name of my lists and their corresponding database constraints */ ! $lists = array( 'forums'=>'approved=1', ! 'threads'=>'approved=1'); /* The name of the tables to pull the lists from */ ! $tables = array('forums'=>'mod_phpwsbb_forums', ! 'threads'=>'mod_phpwsbb_threads'); /* The directory where my templates are located */ ! $templates = array( 'forums'=>'forums', ! 'threads'=>'threads'); ! /* The columns to list for my defined 'saved' list and their labels */ ! $forumsColumns = array( 'label'=>$_SESSION['translate']->it('Forum'), ! 'description'=>$_SESSION['translate']->it('Description'), ! 'threads'=>$_SESSION['translate']->it('Topics'), ! 'lastpost'=>$_SESSION['translate']->it('Last Post'), ! 'posts'=>$_SESSION['translate']->it('Posts'), ! 'lastpost_topic_label'=>NULL, ! 'lastpost_topic_id'=>NULL, ! 'lastpost_post_id'=>NULL, ! 'editor'=>NULL, ! 'id'=>NULL ); ! /* The actions to show in the defined 'saved' list and their labels */ ! $forumsActions = array( 'view'=>'View', ! 'delete'=>'Delete', ! 'hide'=>'Hide', ! 'show'=>'Show' ); /* The permissions associated with the defined actions above */ ! $forumsPermissions = array( 'view'=>NULL, ! 'delete'=>'delete_forums', ! 'hide'=>'hide_forums', ! 'show'=>'hide_forums' ); /* The paging parameters for the list */ ! $forumsPaging = array( 'op'=>'PHPWSBB_MAN_OP=list', ! 'limit'=>50, ! 'section'=>1, ! 'limits'=>array(5,10,25,50), ! 'back'=>'<<', ! 'forward'=>'>>' ); ! /* 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, ! 'lastpost_post_owner'=>NULL, ! 'sticky'=>NULL ); ! /* The actions to show in the defined 'saved' list and their labels */ ! $threadsActions = array( 'view'=>'View', ! 'delete'=>'Delete', ! 'lock'=>'Lock', ! 'unlock'=>'Unlock', ! 'hide'=>'Hide', ! 'show'=>'Show' ); /* The permissions associated with the defined actions above */ ! $threadsPermissions = array( 'view'=>NULL, ! 'delete'=>'delete_threads', ! 'lock'=>'lock_threads', ! 'unlock'=>'lock_threads', ! 'hide'=>'hide_threads', ! 'show'=>'hide_threads' ); /* The paging parameters for the list */ ! $threadsPaging = array( 'op'=>'PHPWSBB_MAN_OP=viewforum', ! 'limit'=>50, ! 'section'=>1, ! 'limits'=>array(5,10,25,50), ! 'back'=>'<<', ! 'forward'=>'>>' ); ?> Index: layout.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/layout.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** layout.php 10 Sep 2004 02:01:34 -0000 1.6 --- layout.php 13 Sep 2004 21:41:55 -0000 1.7 *************** *** 24,35 **** */ ! $layout_info[] = array( "content_var"=>"CNT_phpwsbb", ! "transfer_var"=>"body"); ! $layout_info[] = array( "content_var"=>"CNT_phpwsbb_forumsblock", ! "transfer_var"=>"right_col_top"); ! $layout_info[] = array( "content_var"=>"CNT_phpwsbb_latestthreadsblock", ! "transfer_var"=>"right_col_mid"); ?> --- 24,35 ---- */ ! $layout_info[] = array( 'content_var'=>'CNT_phpwsbb', ! 'transfer_var'=>'body'); ! $layout_info[] = array( 'content_var'=>'CNT_phpwsbb_forumsblock', ! 'transfer_var'=>'right_col_top'); ! $layout_info[] = array( 'content_var'=>'CNT_phpwsbb_latestthreadsblock', ! 'transfer_var'=>'right_col_mid'); ?> Index: menuman.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/menuman.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** menuman.php 10 Sep 2004 02:01:34 -0000 1.6 --- menuman.php 13 Sep 2004 21:41:55 -0000 1.7 *************** *** 24,27 **** */ ! $link[$_SESSION["translate"]->it("Bulletin Board")] = "index.php?module=phpwsbb&PHPWSBB_MAN_OP=list"; ?> --- 24,27 ---- */ ! $link[$_SESSION['translate']->it('Bulletin Board')] = 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=list'; ?> Index: help.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/help.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** help.php 10 Sep 2004 02:01:34 -0000 1.11 --- help.php 13 Sep 2004 21:41:55 -0000 1.12 *************** *** 24,47 **** */ ! $admin_email = "Bulletin Board Administrator Email"; ! $admin_email_content = "Enter in the email address of the bulletin board administrator, if he/she is different than the overall phpWebSite administrator. If this field is left blank, then phpwsBB will use the contact email address in the User control panel's Settings screen."; ! $email_text = "Notification Email Text"; ! $email_text_content = "This is the text sent to users who are monitoring threads when those threads are replied to. Enter in the text you would like to appear in the body of the email message. You can use variables [name] and [url] to represent the name of the thread and the url to view the thread, respectively."; ! $monitor_posts = "Monitor Posts"; ! $monitor_posts_content = "Enabling this setting will have all posts emailed to the bulletin board administrator email (or the website admin if it is blank)."; ! $sortorder = "Forum Sort Order"; ! $sortorder_content = "This value sets the order in which the forums are listed on the Forums page. Must be an integer value."; ! $bboffline = "Take Bulletin Board Offline"; ! $bboffline_content = "Checking this will prevent non-deity users from accessing the bulletin board. They will be presented with a message indicating the bulletin board is offline for maintenance. This can be used when doing upgrades or maintenance like cleaning/moving messages and threads."; ! $suspend_monitors = "Suspend Monitors"; ! $suspend_monitors_content = "Checking this will suspend the sending of emails that would notify you when someone has replied to a thread that you are monitoring. This is useful if you are going on vacation, for example."; ! $remove_all_monitors = "Remove All Monitors"; ! $remove_all_monitors_content = "This will clear all monitors so you will no longer be monitoring any threads."; ?> --- 24,47 ---- */ ! $admin_email = 'Bulletin Board Administrator Email'; ! $admin_email_content = 'Enter in the email address of the bulletin board administrator, if he/she is different than the overall phpWebSite administrator. If this field is left blank, then phpwsBB will use the contact email address in the User control panel\'s Settings screen.'; ! $email_text = 'Notification Email Text'; ! $email_text_content = 'This is the text sent to users who are monitoring threads when those threads are replied to. Enter in the text you would like to appear in the body of the email message. You can use variables [name] and [url] to represent the name of the thread and the url to view the thread, respectively.'; ! $monitor_posts = 'Monitor Posts'; ! $monitor_posts_content = 'Enabling this setting will have all posts emailed to the bulletin board administrator email (or the website admin if it is blank).'; ! $sortorder = 'Forum Sort Order'; ! $sortorder_content = 'This value sets the order in which the forums are listed on the Forums page. Must be an integer value.'; ! $bboffline = 'Take Bulletin Board Offline'; ! $bboffline_content = 'Checking this will prevent non-deity users from accessing the bulletin board. They will be presented with a message indicating the bulletin board is offline for maintenance. This can be used when doing upgrades or maintenance like cleaning/moving messages and threads.'; ! $suspend_monitors = 'Suspend Monitors'; ! $suspend_monitors_content = 'Checking this will suspend the sending of emails that would notify you when someone has replied to a thread that you are monitoring. This is useful if you are going on vacation, for example.'; ! $remove_all_monitors = 'Remove All Monitors'; ! $remove_all_monitors_content = 'This will clear all monitors so you will no longer be monitoring any threads.'; ?> |