Update of /cvsroot/phpslash/phpslash-ft/public_html
In directory sc8-pr-cvs1:/tmp/cvs-serv3900/phpslash-ft/public_html
Modified Files:
config.php3 comment.php3
Log Message:
session variable name is not needed
Index: config.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config.php3,v
retrieving revision 1.171
retrieving revision 1.172
diff -C2 -d -r1.171 -r1.172
*** config.php3 11 Dec 2002 23:03:17 -0000 1.171
--- config.php3 13 Dec 2002 17:34:25 -0000 1.172
***************
*** 348,396 ****
/**
- * Time zone
- **/
- if ($_PSL['timezone']['engine']) {
- loadLibrary("tz");
- // set up the time zone environment array
- $_TZ =& $_PSL['timezone'];
- $_TZ['templatedir'] = $_PSL['templatedir'];
- $_TZ['show_format'] = psl_getLocalInfo('LC_TIME','%a %b %e %H:%M:%S %Z %Y');
- /* $_TZ['available'] = array("America/New_York",
- "America/Chicago",
- "America/Denver",
- "America/Los_Angeles",
- "Pacific/Honolulu");
- */
- // to enable setting of time zone in URL
- set_TZ($HTTP_GET_VARS['TZ'],'cookie');
- // to disable setting in URL and to set $_PSL['timezone']['name'] as the time zone
- // set_TZ();
- }
-
- /* ============= Things to deprecate ============= */
-
- // ----------------------------------------------------------
- // Ref'ed in Block_i
- // $templatedir = $_PSL['templatedir'];
-
- // ----------------------------------------------------------
- // The following can be deleted
- // ----------------------------------------------------------
- // if ($sitename=="") $sitename = $_PSL['site_name'];
- // if ($siteowner=="") $siteowner = $_PSL['site_owner'];
- // $rootdir = $_PSL['rooturl'];
- // $debug = $_PSL['debug'];
- // $debug_type = $_PSL['debug_type'];
- // $infolog_enable = $_PSL['use_infolog'];
- // $default_pending = $_PSL['default_pending'];
- // $show_admin_on_navbar = $_PSL['show_admin_on_navbar'];
- // $max_poll_answers = $_PSL['poll_max_answers'];
- // $admindir = $_PSL['adminurl'];
- // $imagedir = $_PSL['imageurl'];
- // $classdir = $_PSL['classdir'];
- // $basedir = $_PSL['basedir'];
- // ----------------------------------------------------------
-
- /**
* $ary is used by story::getStory and block_i::getBlocks
* this block just merges in the default section
--- 348,351 ----
***************
*** 701,705 ****
'name' => "Add Story",
'link' => $_PSL['rooturl'] . "/submission.php3",
! 'perm' => "submissionNew",
'module' => "Submission"
);
--- 656,660 ----
'name' => "Add Story",
'link' => $_PSL['rooturl'] . "/submission.php3",
! 'perm' => "nobody",
'module' => "Submission"
);
***************
*** 883,886 ****
--- 838,844 ----
$_PSL['expirerelated'] = 14400;
+ /**
+ * Time zone
+ **/
if ($_PSL['timezone']['engine']) {
loadLibrary("tz");
***************
*** 900,903 ****
--- 858,870 ----
// set_TZ();
}
+
+ /* ============= Things to deprecate ============= */
+
+ // ----------------------------------------------------------
+
+ // ----------------------------------------------------------
+ // The following can be deleted
+ // ----------------------------------------------------------
+ // ----------------------------------------------------------
?>
Index: comment.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/comment.php3,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** comment.php3 11 Dec 2002 21:25:54 -0000 1.24
--- comment.php3 13 Dec 2002 17:34:33 -0000 1.25
***************
*** 118,130 ****
// session variables
! if(isset($name)) {
! $ary['name'] = $name;
! }
! if(isset($email)) {
! $ary['email'] = $email;
! }
! if(isset($url)) {
! $ary['url'] = $url;
! }
// either start a new object or getForm not reuse template vars.
--- 118,130 ----
// session variables
! // if(isset($name)) {
! // $ary['name'] = $name;
! // }
! // if(isset($email)) {
! // $ary['email'] = $email;
! // }
! // if(isset($url)) {
! // $ary['url'] = $url;
! // }
// either start a new object or getForm not reuse template vars.
|