Update of /cvsroot/phpmp/phpMP/includes
In directory sc8-pr-cvs1:/tmp/cvs-serv23619/includes
Modified Files:
admin.php
Log Message:
Added timezone dropdown (instead of a textbox)
Index: admin.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/admin.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** admin.php 9 Feb 2003 20:48:57 -0000 1.3
--- admin.php 9 Feb 2003 21:53:51 -0000 1.4
***************
*** 46,50 ****
print "<option value=\"2\" " . $sel2 . ">Admin Activation";
print "</select><br>";
! print "System Timezone: <input type=\"text\" name=\"systime\" value=\"" . C_SYSTEM_TIMEZONE . "\"><br>";
if (C_USE_PORTAL_PERMS == 1) { $checked = "CHECKED"; } else { $checked = ""; }
print "<input type=\"checkbox\" name=\"portperms\" value=\"1\" " . $checked . "> Use Portal Permissions?<br>";
--- 46,84 ----
print "<option value=\"2\" " . $sel2 . ">Admin Activation";
print "</select><br>";
! print "System Timezone: ";
! print "<select name=\"systime\">";
! print "<option value=\"" . GMT_MINUS_12 . "\">GMT -12 (International Dateline West)";
! print "<option value=\"" . GMT_MINUS_11 . "\">GMT -11 (Midway Island, Simoa)";
! print "<option value=\"" . GMT_MINUS_10 . "\">GMT -10 (Hawaii)";
! print "<option value=\"" . GMT_MINUS_9 . "\">GMT -9 (Alaska)";
! print "<option value=\"" . GMT_MINUS_8 . "\">GMT -8 (Pacific Time)";
! print "<option value=\"" . GMT_MINUS_7 . "\">GMT -7 (Arizona, Mountain Time)";
! print "<option value=\"" . GMT_MINUS_6 . "\">GMT -6 (Central Time)";
! print "<option value=\"" . GMT_MINUS_5 . "\">GMT -5 (Eastern Time)";
! print "<option value=\"" . GMT_MINUS_4 . "\">GMT -4 (Atlantic Time)";
! print "<option value=\"" . GMT_MINUS_3_30 . "\">GMT -3.5 (Newfoundland)";
! print "<option value=\"" . GMT_MINUS_3 . "\">GMT -3 (Greenland)";
! print "<option value=\"" . GMT_MINUS_2 . "\">GMT -2 (Mid-Atlantic)";
! print "<option value=\"" . GMT_MINUS_1 . "\">GMT -1 (Cape Verda Islands)";
! print "<option value=\"" . GMT . "\">GMT (Greenwich Mean Time)";
! print "<option value=\"" . GMT_PLUS_1 . "\">GMT +1 (Paris)";
! print "<option value=\"" . GMT_PLUS_2 . "\">GMT +2 (Jerusalem)";
! print "<option value=\"" . GMT_PLUS_3 . "\">GMT +3 (Moscow)";
! print "<option value=\"" . GMT_PLUS_4 . "\">GMT +4 (Abu Dhabi)";
! print "<option value=\"" . GMT_PLUS_4_30 . "\">GMT +4.5 (Kabul)";
! print "<option value=\"" . GMT_PLUS_5 . "\">GMT +5 (Karachi)";
! print "<option value=\"" . GMT_PLUS_5_30 . "\">GMT +5.5 (New Delhi)";
! print "<option value=\"" . GMT_PLUS_5_45 . "\">GMT +5.75 (Kathmandu)";
! print "<option value=\"" . GMT_PLUS_6 . "\">GMT +6 (Almaty)";
! print "<option value=\"" . GMT_PLUS_6_30 . "\">GMT +6.5 (Rangoon)";
! print "<option value=\"" . GMT_PLUS_7 . "\">GMT +7 (Bangkok)";
! print "<option value=\"" . GMT_PLUS_8 . "\">GMT +8 (Beijing)";
! print "<option value=\"" . GMT_PLUS_9 . "\">GMT +9 (Tokyo)";
! print "<option value=\"" . GMT_PLUS_9_30 . "\">GMT +9.5 (Adelaide)";
! print "<option value=\"" . GMT_PLUS_10 . "\">GMT +10 (Brisbane)";
! print "<option value=\"" . GMT_PLUS_11 . "\">GMT +11 (Solomon Islands)";
! print "<option value=\"" . GMT_PLUS_12 . "\">GMT +12 (Auckland)";
! print "<option value=\"" . GMT_PLUS_13 . "\">GMT +13 (Nuku'alofa)";
! print "</select> (Current: " . C_SYSTEM_TIMEZONE . ")<br>";
if (C_USE_PORTAL_PERMS == 1) { $checked = "CHECKED"; } else { $checked = ""; }
print "<input type=\"checkbox\" name=\"portperms\" value=\"1\" " . $checked . "> Use Portal Permissions?<br>";
***************
*** 54,58 ****
// Parses the general management form
// Author: Anthony White
! // Accepts: Form values from the general form
// Returns: none.
function parse_site($sname, $ovrtpl, $deftpl, $deflang, $defdate, $accact, $systime, $portperms)
--- 88,92 ----
// Parses the general management form
// Author: Anthony White
! // Accepts: Form values from the site config form
// Returns: none.
function parse_site($sname, $ovrtpl, $deftpl, $deflang, $defdate, $accact, $systime, $portperms)
|