phpmp-commits Mailing List for phpMyPublications (Page 15)
Status: Pre-Alpha
Brought to you by:
heimidal
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(69) |
May
(1) |
Jun
|
Jul
(53) |
Aug
(27) |
Sep
|
Oct
|
Nov
(35) |
Dec
(71) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(5) |
Feb
(65) |
Mar
|
Apr
(15) |
May
(40) |
Jun
(72) |
Jul
|
Aug
(2) |
Sep
(95) |
Oct
(37) |
Nov
|
Dec
|
2005 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Brian R. <hei...@us...> - 2002-12-05 00:33:00
|
Update of /cvsroot/phpmp/phpMP/docs In directory sc8-pr-cvs1:/tmp/cvs-serv15502/docs Modified Files: Changelog Log Message: Updated Changelog. Index: Changelog =================================================================== RCS file: /cvsroot/phpmp/phpMP/docs/Changelog,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** Changelog 5 Dec 2002 00:15:40 -0000 1.5 --- Changelog 5 Dec 2002 00:32:57 -0000 1.6 *************** *** 1,7 **** 2002-12-04 [Heimidal] ! *languages/english/lang_main.php ! *languages/french/lang_main.php Forgot $this->, changing the depth of the $lang var. 2002-12-04 [TopherCoS] --- 1,13 ---- 2002-12-04 [Heimidal] ! * all php files ! Added 'C_' to all config values not involving the DB. ! ! 2002-12-04 [Heimidal] ! ! * languages/english/lang_main.php ! * languages/french/lang_main.php Forgot $this->, changing the depth of the $lang var. + 2002-12-04 [TopherCoS] |
From: Brian R. <hei...@us...> - 2002-12-05 00:17:07
|
Update of /cvsroot/phpmp/phpMP/languages/french In directory sc8-pr-cvs1:/tmp/cvs-serv10633/languages/french Modified Files: lang_main.php Log Message: Forgot $this->, which changes the context of the variable. Without it, the var is contained in the wrong scope (we want it in the Localization class). Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/french/lang_main.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** lang_main.php 4 Dec 2002 16:09:21 -0000 1.3 --- lang_main.php 5 Dec 2002 00:17:03 -0000 1.4 *************** *** 9,13 **** { ! $lang = array( // --- 9,13 ---- { ! $this->lang = array( // |
From: Brian R. <hei...@us...> - 2002-12-05 00:17:06
|
Update of /cvsroot/phpmp/phpMP/languages/english In directory sc8-pr-cvs1:/tmp/cvs-serv10633/languages/english Modified Files: lang_main.php Log Message: Forgot $this->, which changes the context of the variable. Without it, the var is contained in the wrong scope (we want it in the Localization class). Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/english/lang_main.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** lang_main.php 4 Dec 2002 16:09:20 -0000 1.12 --- lang_main.php 5 Dec 2002 00:17:01 -0000 1.13 *************** *** 9,13 **** { ! $lang = array( // --- 9,13 ---- { ! $this->lang = array( // |
From: Brian R. <hei...@us...> - 2002-12-05 00:16:04
|
Update of /cvsroot/phpmp/phpMP/docs In directory sc8-pr-cvs1:/tmp/cvs-serv10426 Modified Files: Changelog Log Message: Updated Changelog. Index: Changelog =================================================================== RCS file: /cvsroot/phpmp/phpMP/docs/Changelog,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** Changelog 4 Dec 2002 16:09:19 -0000 1.4 --- Changelog 5 Dec 2002 00:15:40 -0000 1.5 *************** *** 1,2 **** --- 1,7 ---- + 2002-12-04 [Heimidal] + + *languages/english/lang_main.php + *languages/french/lang_main.php + Forgot $this->, changing the depth of the $lang var. 2002-12-04 [TopherCoS] |
From: Christopher C. <top...@us...> - 2002-12-04 16:09:25
|
Update of /cvsroot/phpmp/phpMP/languages/french In directory sc8-pr-cvs1:/tmp/cvs-serv31366/languages/french Modified Files: lang_main.php Log Message: Convert fr language file to new format. Escape single-quotes requiring escaping. Aesthetic cleanups. Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/french/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** lang_main.php 3 Dec 2002 10:25:44 -0000 1.2 --- lang_main.php 4 Dec 2002 16:09:21 -0000 1.3 *************** *** 9,33 **** { // // General language used throughout site. // ! $this->lang['Welcome_to_Site'] = 'Bienvenue chez ' . SITE_NAME . '!'; ! $this->lang['Home'] = 'Accueil'; ! $this->lang['Profile'] = 'Profil'; ! $this->lang['Modules'] = 'Modules'; ! $this->lang['Downloads'] = 'Téléchargements'; ! $this->lang['Username'] = 'Nom d\'usager'; ! $this->lang['User_CP'] = 'User CP'; ! $this->lang['User_Control_Panel'] = 'Votre panneau de commande'; ! $this->lang['E-mail'] = 'Courriel'; ! $this->lang['Password'] = 'Mot de passe'; ! $this->lang['Confirm'] = 'Confirmez'; ! $this->lang['Real Name'] = 'Prénom et Nom'; ! $this->lang['Location'] = 'Location'; ! $this->lang['Register'] = 'Enregistrer'; ! $this->lang['Welcome'] = 'Bienvenue'; ! $this->lang['Administration_Area'] = 'Section Administrative'; ! $this->lang['Register_a_Username'] = 'Enregistrez votre nom d\'usager'; --- 9,37 ---- { + $lang = array( + // // General language used throughout site. // ! // Note: Always escape single quote characters (') with a backslash (\). ! // ! 'L_Welcome_to_Site' => 'Bienvenue chez ' . SITE_NAME . '!', ! 'L_Home' => 'Accueil', ! 'L_Profile' => 'Profil', ! 'L_Modules' => 'Modules', ! 'L_Downloads' => 'Téléchargements', ! 'L_Username' => 'Nom d\'usager', ! 'L_User_CP' => 'User CP', ! 'L_User_Control_Panel' => 'Votre panneau de commande', ! 'L_E-mail' => 'Courriel', ! 'L_Password' => 'Mot de passe', ! 'L_Comfirm' => 'Confirmez', ! 'L_Real Name' => 'Prénom et Nom', ! 'L_Location' => 'Location', ! 'L_Register' => 'Enregistrer', ! 'L_Welcome' => 'Bienvenue', ! 'L_Administration_Area' => 'Section Administrative', ! 'L_Register_a_Username' => 'Enregistrez votre nom d\'usager', *************** *** 35,53 **** // Below is language used almost specifically for auth. // ! $this->lang['Login'] = 'Ouvrir session'; ! $this->lang['Logout'] = 'Fermer session'; ! $this->lang['Account_Activated'] = 'Votre compte a été activé. Vous pouvez maintenant ouvrir une session.'; ! $this->lang['Required_Field'] = 'Ceci dénote de l\'information requise pour votre enregistrement'; ! $this->lang['Registration_Finished'] = 'Votre enregistrement a été traité. Un courriel expliquant l'activation de votre compte sera envoyé à l'adresse soumisse sous peu.'; ! $this->lang['Forgot_Password'] = 'Avez-vous oubliez votre mot de pass?'; ! $this->lang['You_are_not_logged_in'] = 'Veuillez ouvrir une session via votre compte personel.'; // ! // Other various language stuff. // ! $this->lang['Powered_by_phpMP'] = 'Actionné par phpMP ' . VERSION . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.'; ! $this->lang['Copyright'] = 'Tout le contenu de se site est la propriété du propriétaire respectif. Tous droits réservés.'; } --- 39,62 ---- // Below is language used almost specifically for auth. // ! 'L_Login' => 'Ouvrir session', ! 'L_Logout' => 'Fermer session', ! 'L_Account_Activated' => 'Votre compte a été activé. Vous pouvez maintenant ouvrir une session.', ! 'L_Required_Field' => 'Ceci dénote de l\'information requise pour votre enregistrement', ! 'L_Register_Finished' => 'Votre enregistrement a été traité. Un courriel expliquant l\'activation de votre compte sera envoyé à l\'adresse soumisse sous peu.', ! 'L_Forgot_Password' => 'Avez-vous oubliez votre mot de pass?', ! 'L_Not_logged_in' => 'Veuillez ouvrir une session via votre compte personel.', // ! // Other various parts of the templates. // ! 'L_Powered_by_phpMP' => 'Actionné par phpMP ' . VERSION . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.', ! 'L_Copyright' => 'Tout le contenu de se site est la propriété du propriétaire respectif. Tous droits réservés.' ! ! // It is IMPERATIVE that the last array value entered (usually the copyright) ! // does not end in a comma. ! ! ); } |
From: Christopher C. <top...@us...> - 2002-12-04 16:09:23
|
Update of /cvsroot/phpmp/phpMP/languages/english In directory sc8-pr-cvs1:/tmp/cvs-serv31366/languages/english Modified Files: lang_main.php Log Message: Convert fr language file to new format. Escape single-quotes requiring escaping. Aesthetic cleanups. Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/english/lang_main.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** lang_main.php 3 Dec 2002 11:17:42 -0000 1.11 --- lang_main.php 4 Dec 2002 16:09:20 -0000 1.12 *************** *** 14,37 **** // General language used throughout site. // ! // Note: Always escape singe quote characters (') with a backslash (\). // 'L_Welcome_to_Site' => 'Welcome to ' . SITE_NAME . '!', ! 'L_Home' => 'Home', ! 'L_Profile' => 'Profile', ! 'L_Modules' => 'Modules', 'L_Downloads' => 'Downloads', 'L_Username' => 'Username', ! 'L_User_CP' => 'User CP', ! 'L_User_Control_Panel' => 'User Control Panel', ! 'L_E-mail' => 'E-mail', 'L_Password' => 'Password', ! 'L_Comfirm' => 'Confirm', 'L_Real Name' => 'Real Name', 'L_Location' => 'Location', 'L_Register' => 'Register', ! 'L_Welcome' => 'Welcome', ! 'L_Administration_Area' => 'Administration Area', ! 'L_Register_a_Username' => 'Register a Username', --- 14,37 ---- // General language used throughout site. // ! // Note: Always escaple singe quote characters (') with a backslash (\). // 'L_Welcome_to_Site' => 'Welcome to ' . SITE_NAME . '!', ! 'L_Home' => 'Home', ! 'L_Profile' => 'Profile', ! 'L_Modules' => 'Modules', 'L_Downloads' => 'Downloads', 'L_Username' => 'Username', ! 'L_User_CP' => 'User CP', ! 'L_User_Control_Panel' => 'User Control Panel', ! 'L_E-mail' => 'E-mail', 'L_Password' => 'Password', ! 'L_Comfirm' => 'Confirm', 'L_Real Name' => 'Real Name', 'L_Location' => 'Location', 'L_Register' => 'Register', ! 'L_Welcome' => 'Welcome', ! 'L_Administration_Area' => 'Administration Area', ! 'L_Register_a_Username' => 'Register a Username', *************** *** 39,48 **** // Below is language used almost specifically for auth. // ! 'L_Login' => 'Login', ! 'L_Logout' => 'Logout', ! 'L_Account_Activated' => 'Your account has been activated. You may now log in.', 'L_Required_Field' => 'Denotes a Required Field', ! 'L_Register_Finished' => 'Your registration has been processed. Please check your e-mail for a message explaining how to activate your new account.', 'L_Forgot_Password' => 'Forgot Your Password?', 'L_Not_logged_in' => 'You are not logged in.', --- 39,48 ---- // Below is language used almost specifically for auth. // ! 'L_Login' => 'Login', ! 'L_Logout' => 'Logout', ! 'L_Account_Activated' => 'Your account has been activated. You may now log in.', 'L_Required_Field' => 'Denotes a Required Field', ! 'L_Register_Finished' => 'Your registration has been processed. Please check your e-mail for a message explaining how to activate your new account.', 'L_Forgot_Password' => 'Forgot Your Password?', 'L_Not_logged_in' => 'You are not logged in.', *************** *** 52,56 **** // Other various parts of the templates. // ! 'L_Powered_by_phpMP' => 'powered by phpMP ' . VERSION . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.', 'L_Copyright' => 'All content is property of its respective owner. All rights reserved.' --- 52,56 ---- // Other various parts of the templates. // ! 'L_Powered_by_phpMP' => 'powered by phpMP ' . VERSION . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.', 'L_Copyright' => 'All content is property of its respective owner. All rights reserved.' *************** *** 64,66 **** } ! ?> \ No newline at end of file --- 64,66 ---- } ! ?> |
From: Christopher C. <top...@us...> - 2002-12-04 16:09:23
|
Update of /cvsroot/phpmp/phpMP/docs In directory sc8-pr-cvs1:/tmp/cvs-serv31366/docs Modified Files: Changelog Log Message: Convert fr language file to new format. Escape single-quotes requiring escaping. Aesthetic cleanups. Index: Changelog =================================================================== RCS file: /cvsroot/phpmp/phpMP/docs/Changelog,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** Changelog 4 Dec 2002 00:20:23 -0000 1.3 --- Changelog 4 Dec 2002 16:09:19 -0000 1.4 *************** *** 1,2 **** --- 1,10 ---- + 2002-12-04 [TopherCoS] + + * languages/english/lang_main.php + * languages/french/lang_main.php + Escape more single-quotes neeeding escaping (fr) + Aesthetic cleanups + Convert fr language file to new format + 2002-12-03 [Heimidal] |
From: Brian R. <hei...@us...> - 2002-12-04 00:20:26
|
Update of /cvsroot/phpmp/phpMP/docs In directory sc8-pr-cvs1:/tmp/cvs-serv2463/docs Modified Files: Changelog Log Message: Updated Changelog. Index: Changelog =================================================================== RCS file: /cvsroot/phpmp/phpMP/docs/Changelog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** Changelog 3 Dec 2002 12:37:24 -0000 1.2 --- Changelog 4 Dec 2002 00:20:23 -0000 1.3 *************** *** 1,2 **** --- 1,8 ---- + 2002-12-03 [Heimidal] + + * includes/constants.php + * includes/user.php + * includes/auth.php + Continuous updates to the auth system. 2002-12-02 [Heimidal] |
From: Brian R. <hei...@us...> - 2002-12-04 00:18:56
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv1110/includes Modified Files: auth.php user.php Log Message: Continued work on the Auth system. Index: auth.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/auth.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -r1.24 -r1.25 *** auth.php 2 Dec 2002 22:21:03 -0000 1.24 --- auth.php 4 Dec 2002 00:18:52 -0000 1.25 *************** *** 5,26 **** var $curr_user; function Auth() { // Session ID is contained in the URL. ! if( isset( $_GET[SESSID] ) { } ! // We're using the session cookie set by the previous session. elseif( isset( $_COOKIE[COOKIE_NAME] ) { ! $cookie_data = $_COOKIE[COOKIE_NAME]; } // Set up cookie/url procedures and such. } --- 5,58 ---- var $curr_user; + var $SESSID; function Auth() { + global $DB; + // Session ID is contained in the URL. ! if( isset( $_GET['SESSID'] ) { + define("SESSID_LOC", 1); + + $session_id = $_GET['SESSID']; } ! // We're using the cookie set by the previous session. elseif( isset( $_COOKIE[COOKIE_NAME] ) { ! define("SESSID_LOC", 2); ! ! $session_id = $_COOKIE[COOKIE_NAME]; } + $sql = "SELECT * FROM " . SESSIONS_TABLE . " WHERE sessid=" . $session_id . " AND expiry<" . time(); + $result = $DB->query($sql); + + $numrows = $DB->numRows($result); + + if($numrows >= 1) + { + + $sess_data = $DB->fetchArray($result); + + } + else // The session doesn't exist or has expired. + { + + die("Your session has expired."); + + } + + if( SESSID_LOC == 2 ) // We need to set up the cookie. + { + + // Set up cookie/url procedures and such. + + } } Index: user.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/user.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** user.php 3 Dec 2002 11:17:42 -0000 1.4 --- user.php 4 Dec 2002 00:18:52 -0000 1.5 *************** *** 20,24 **** if( $val != '' ) { ! define( "U_" . $key, $val ); } } --- 20,24 ---- if( $val != '' ) { ! define( "U_" . strtoupper($key), $val ); } } |
From: Brian R. <hei...@us...> - 2002-12-03 12:37:27
|
Update of /cvsroot/phpmp/phpMP/docs In directory sc8-pr-cvs1:/tmp/cvs-serv15760/docs Modified Files: Changelog Log Message: Updated Changelog. Index: Changelog =================================================================== RCS file: /cvsroot/phpmp/phpMP/docs/Changelog,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Changelog 3 Dec 2002 12:16:23 -0000 1.1 --- Changelog 3 Dec 2002 12:37:24 -0000 1.2 *************** *** 1,4 **** --- 1,11 ---- 2002-12-02 [Heimidal] + * dba/sql/mysql_structure.sql + Updates to DB structure. + * dba/sql/mysql_default_vals.sql + Updates to default MySQL table values. + + 2002-12-02 [Heimidal] + * languages/english/lang_main.php Altered the way in which the lang array is defined. |
From: Brian R. <hei...@us...> - 2002-12-03 12:35:59
|
Update of /cvsroot/phpmp/phpMP/dba/sql In directory sc8-pr-cvs1:/tmp/cvs-serv14820/dba/sql Modified Files: mysql_default_vals.sql mysql_structure.sql Log Message: Updated MySQL SQL insert files. Index: mysql_default_vals.sql =================================================================== RCS file: /cvsroot/phpmp/phpMP/dba/sql/mysql_default_vals.sql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** mysql_default_vals.sql 3 Dec 2002 08:37:11 -0000 1.2 --- mysql_default_vals.sql 3 Dec 2002 12:35:56 -0000 1.3 *************** *** 4,8 **** # # Host: localhost ! # Generation Time: Dec 02, 2002 at 04:28 AM # Server version: 3.23.53 # PHP Version: 4.2.3 --- 4,8 ---- # # Host: localhost ! # Generation Time: Dec 03, 2002 at 05:32 AM # Server version: 3.23.53 # PHP Version: 4.2.3 *************** *** 17,25 **** INSERT INTO phpmp_config VALUES ('default_tpl', 'TealMP'); INSERT INTO phpmp_config VALUES ('override_usr_tpl', '0'); ! INSERT INTO phpmp_config VALUES ('site_name', 'phpMP Development'); INSERT INTO phpmp_config VALUES ('default_lang', 'english'); ! INSERT INTO phpmp_config VALUES ('date_format', 'M j, Y h:iA'); INSERT INTO phpmp_config VALUES ('enable_account_activation', '0'); ! INSERT INTO phpmp_config VALUES ('system_timezone', '-5'); # -5 is EST. ! INSERT INTO phpmp_config VALUES ('version', '0.1a'); # Version ! INSERT INTO phpmp_config VALUES ('use_perms', '0'); # Don't use Auth for now. --- 17,31 ---- INSERT INTO phpmp_config VALUES ('default_tpl', 'TealMP'); INSERT INTO phpmp_config VALUES ('override_usr_tpl', '0'); ! INSERT INTO phpmp_config VALUES ('site_name', 'phpMP'); INSERT INTO phpmp_config VALUES ('default_lang', 'english'); ! INSERT INTO phpmp_config VALUES ('default_date_format', 'M j, Y h:ia'); INSERT INTO phpmp_config VALUES ('enable_account_activation', '0'); ! INSERT INTO phpmp_config VALUES ('system_timezone', '-7'); ! INSERT INTO phpmp_config VALUES ('version', '0.1a'); ! INSERT INTO phpmp_config VALUES ('use_perms', '0'); ! ! # ! # Dumping data for table `phpmp_users` ! # ! ! INSERT INTO phpmp_users VALUES (-1, 'Anonymous', '', 1, '', '', 0, 'M j, Y h:ia', '', ''); \ No newline at end of file Index: mysql_structure.sql =================================================================== RCS file: /cvsroot/phpmp/phpMP/dba/sql/mysql_structure.sql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** mysql_structure.sql 2 Dec 2002 11:31:11 -0000 1.1 --- mysql_structure.sql 3 Dec 2002 12:35:56 -0000 1.2 *************** *** 4,8 **** # # Host: localhost ! # Generation Time: Dec 02, 2002 at 04:25 AM # Server version: 3.23.53 # PHP Version: 4.2.3 --- 4,8 ---- # # Host: localhost ! # Generation Time: Dec 03, 2002 at 05:30 AM # Server version: 3.23.53 # PHP Version: 4.2.3 *************** *** 18,20 **** --- 18,39 ---- config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_key) + ) TYPE=MyISAM; + # -------------------------------------------------------- + + # + # Table structure for table `phpmp_users` + # + + CREATE TABLE phpmp_users ( + userid mediumint(8) NOT NULL auto_increment, + username varchar(24) NOT NULL default '', + passwd varchar(32) NOT NULL default '', + active tinyint(1) NOT NULL default '0', + email varchar(255) NOT NULL default '', + actkey varchar(32) NOT NULL default '', + auth_level tinyint(1) NOT NULL default '0', + date_format varchar(32) NOT NULL default '', + template varchar(32) NOT NULL default '', + signature varchar(255) NOT NULL default '', + PRIMARY KEY (userid) ) TYPE=MyISAM; |
From: Brian R. <hei...@us...> - 2002-12-03 12:16:25
|
Update of /cvsroot/phpmp/phpMP/docs In directory sc8-pr-cvs1:/tmp/cvs-serv3041/docs Added Files: Changelog Log Message: Moved the Changelog into the docs folder. It just makes more sense there. --- NEW FILE: Changelog --- 2002-12-02 [Heimidal] * languages/english/lang_main.php Altered the way in which the lang array is defined. * includes/core.php * includes/functions.php * includes/constants.php Begin arranging and declaring constants. * includes/template.php * includes/user.php To be logical, U_ will now prefix user vars. User variables will not be defined if empty. Anonymous user now carries a User ID of -1. 2002-12-02 [Heimidal] * includes/core.php Added an 's' to SESSIONS_TABLE. * includes/user.php Keep work up on the auth system. * dba/sql/mysql_default_vals.sql Changed a few defaults to reflect typical setups. 2002-12-02 [Heimidal] * index.php * includes/core.php Attempt to comply with coding standards. * includes/language.php Fixed inclusion of main language file. 2002-12-02 [Heimidal] * templates/TealMP/compile/ **NEW** * templates/TealMP/configs/ **NEW** 2002-12-02 [TopherCoS] * languages/french/lang_main.php **NEW** Added French language support 2002-12-02 [Heimidal] * includes/auth.php * includes/user.php Started work on the Auth system. * includes/language.php Changed the way language class works. * languages/english/lang_main.php Reformatted the language file for better use. * includes/debug.php **NEW** Just laying stuff out. 2002-12-02 [TopherCoS] * languages/english/lang_main.php Fix another minor typo I missed earlier 2002-12-02 [TopherCoS] * languages/english/lang_main.php Fix a minor typo 2002-12-02 [TopherCoS] * Changelog **NEW** Added Changelog to help keep track of changes * Format Entries begin with date in YYYY-MM-DD One <TAB> after the date followed by the SF username in brackets Optionally the software version number seperated by one <TAB> One empty line One <TAB> followed by "* dir/filename.php" One <TAB> then "**NEW** if a new file Next line is two <TAB>s followed by a concise description of the changes. Text should not wrap, nor should it extend beyond 80 characters on a single line. Entries seperated by an empty line Added a couple of extra entries to help illustrate format 2002-12-02 [heimidal] * includes/core.php Ugh. Stupid mistake 2002-12-02 [heimidal] * includes/core.php Fixed a few small errors 2002-12-02 [heimidal] * index.php * includes/auth.php * includes/core.php * includes/user.php **NEW** Made use of files within hierarchy much easier. Seperated User and Auth so we aren't forced into loading Auth. Started writing a basic auth system (though the parts written are contained in User) |
From: Brian R. <hei...@us...> - 2002-12-03 12:16:25
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv3041 Removed Files: Changelog Log Message: Moved the Changelog into the docs folder. It just makes more sense there. --- Changelog DELETED --- |
From: Brian R. <hei...@us...> - 2002-12-03 11:51:42
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv21463 Modified Files: index.php Log Message: Another stupid mistake. And I'm really going to bed after this. Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/index.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -r1.25 -r1.26 *** index.php 3 Dec 2002 06:37:33 -0000 1.25 --- index.php 3 Dec 2002 11:51:40 -0000 1.26 *************** *** 37,41 **** print "Block Table: " . BLOCK_TABLE . '<br>'; print "Modules Table: " . MODULES_TABLE . '<br>'; ! print "Session Table: " . SESSION_TABLE . '<br>'; ?> --- 37,41 ---- print "Block Table: " . BLOCK_TABLE . '<br>'; print "Modules Table: " . MODULES_TABLE . '<br>'; ! print "Session Table: " . SESSIONS_TABLE . '<br>'; ?> |
From: Brian R. <hei...@us...> - 2002-12-03 11:43:50
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv16914/includes Modified Files: functions.php Log Message: Stupid mistake. Not going in Changelog. Index: functions.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/functions.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** functions.php 3 Dec 2002 11:17:42 -0000 1.14 --- functions.php 3 Dec 2002 11:43:47 -0000 1.15 *************** *** 17,19 **** --- 17,21 ---- } + } + ?> |
From: Brian R. <hei...@us...> - 2002-12-03 11:25:07
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv2539 Modified Files: Changelog Log Message: Updated Changelog. Going to bed three and a half hours after I should have. Index: Changelog =================================================================== RCS file: /cvsroot/phpmp/phpMP/Changelog,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** Changelog 3 Dec 2002 08:42:26 -0000 1.9 --- Changelog 3 Dec 2002 11:25:04 -0000 1.10 *************** *** 1,4 **** --- 1,18 ---- 2002-12-02 [Heimidal] + * languages/english/lang_main.php + Altered the way in which the lang array is defined. + * includes/core.php + * includes/functions.php + * includes/constants.php + Begin arranging and declaring constants. + * includes/template.php + * includes/user.php + To be logical, U_ will now prefix user vars. + User variables will not be defined if empty. + Anonymous user now carries a User ID of -1. + + 2002-12-02 [Heimidal] + * includes/core.php Added an 's' to SESSIONS_TABLE. |
From: Brian R. <hei...@us...> - 2002-12-03 11:17:45
|
Update of /cvsroot/phpmp/phpMP/languages/english In directory sc8-pr-cvs1:/tmp/cvs-serv27709/languages/english Modified Files: lang_main.php Log Message: Reformatted language file. Started organizing constants file. Added a bit of logic to variables - U_ prefix is a user var. Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/english/lang_main.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** lang_main.php 2 Dec 2002 22:30:13 -0000 1.10 --- lang_main.php 3 Dec 2002 11:17:42 -0000 1.11 *************** *** 9,33 **** { // // General language used throughout site. // ! $this->lang['Welcome_to_Site'] = 'Welcome to ' . SITE_NAME . '!'; ! $this->lang['Home'] = 'Home'; ! $this->lang['Profile'] = 'Profile'; ! $this->lang['Modules'] = 'Modules'; ! $this->lang['Downloads'] = 'Downloads'; ! $this->lang['Username'] = 'Username'; ! $this->lang['User_CP'] = 'User CP'; ! $this->lang['User_Control_Panel'] = 'User Control Panel'; ! $this->lang['E-mail'] = 'E-mail'; ! $this->lang['Password'] = 'Password'; ! $this->lang['Comfirm'] = 'Confirm'; ! $this->lang['Real Name'] = 'Real Name'; ! $this->lang['Location'] = 'Location'; ! $this->lang['Register'] = 'Register'; ! $this->lang['Welcome'] = 'Welcome'; ! $this->lang['Administration_Area'] = 'Administration Area'; ! $this->lang['Register_a_Username'] = 'Register a Username'; --- 9,37 ---- { + $lang = array( + // // General language used throughout site. // ! // Note: Always escape singe quote characters (') with a backslash (\). ! // ! 'L_Welcome_to_Site' => 'Welcome to ' . SITE_NAME . '!', ! 'L_Home' => 'Home', ! 'L_Profile' => 'Profile', ! 'L_Modules' => 'Modules', ! 'L_Downloads' => 'Downloads', ! 'L_Username' => 'Username', ! 'L_User_CP' => 'User CP', ! 'L_User_Control_Panel' => 'User Control Panel', ! 'L_E-mail' => 'E-mail', ! 'L_Password' => 'Password', ! 'L_Comfirm' => 'Confirm', ! 'L_Real Name' => 'Real Name', ! 'L_Location' => 'Location', ! 'L_Register' => 'Register', ! 'L_Welcome' => 'Welcome', ! 'L_Administration_Area' => 'Administration Area', ! 'L_Register_a_Username' => 'Register a Username', *************** *** 35,53 **** // Below is language used almost specifically for auth. // ! $this->lang['Login'] = 'Login'; ! $this->lang['Logout'] = 'Logout'; ! $this->lang['Account_Activated'] = 'Your account has been activated. You may now log in.'; ! $this->lang['Required_Field'] = 'Denotes a Required Field'; ! $this->lang['Registration_Finished'] = 'Your registration has been processed. Please check your e-mail for a message explaining how to activate your new account.'; ! $this->lang['Forgot_Password'] = 'Forgot Your Password?'; ! $this->lang['You_are_not_logged_in'] = 'You are not logged in.'; // ! // Other various language stuff. // ! $this->lang['Powered_by_phpMP'] = 'powered by phpMP ' . VERSION . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.'; ! $this->lang['Copyright'] = 'All content is property of its respective owner. All rights reserved.'; } --- 39,62 ---- // Below is language used almost specifically for auth. // ! 'L_Login' => 'Login', ! 'L_Logout' => 'Logout', ! 'L_Account_Activated' => 'Your account has been activated. You may now log in.', ! 'L_Required_Field' => 'Denotes a Required Field', ! 'L_Register_Finished' => 'Your registration has been processed. Please check your e-mail for a message explaining how to activate your new account.', ! 'L_Forgot_Password' => 'Forgot Your Password?', ! 'L_Not_logged_in' => 'You are not logged in.', // ! // Other various parts of the templates. // ! 'L_Powered_by_phpMP' => 'powered by phpMP ' . VERSION . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.', ! 'L_Copyright' => 'All content is property of its respective owner. All rights reserved.' ! ! // It is IMPERATIVE that the last array value entered (usually the copyright) ! // does not end in a comma. ! ! ); } *************** *** 55,57 **** } ! ?> --- 64,66 ---- } ! ?> \ No newline at end of file |
From: Brian R. <hei...@us...> - 2002-12-03 11:17:45
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv27709/includes Modified Files: constants.php core.php functions.php language.php template.php user.php Log Message: Reformatted language file. Started organizing constants file. Added a bit of logic to variables - U_ prefix is a user var. Index: constants.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/constants.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** constants.php 1 Dec 2002 03:47:22 -0000 1.10 --- constants.php 3 Dec 2002 11:17:42 -0000 1.11 *************** *** 3,5 **** --- 3,15 ---- define("TIME_NOW", date( DATE_FORMAT ) ); + define("ACTIVATE_DISABLED", 0); + define("ACTIVATE_USER", 1); + define("ACTIVATE_ADMIN", 2); + + define("AUTH_LVL_GUEST", 0); // Guest. + define("AUTH_LVL_MEM", 1); // Standard Member + define("AUTH_LVL_CONTRIB", 2); // Contributor + define("AUTH_LVL_MOD", 3); // Moderator + define("AUTH_LVL_ADMIN", 4); // Administrator + ?> Index: core.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/core.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -r1.37 -r1.38 *** core.php 3 Dec 2002 08:37:11 -0000 1.37 --- core.php 3 Dec 2002 11:17:42 -0000 1.38 *************** *** 49,60 **** $this->_initConfig(); // Grab DB-stored config values. include_once(PHPMP_ROOT . 'includes/user.php'); $User = new User(); // Create an instance of User. - include_once(PHPMP_ROOT . 'includes/functions.php'); - include_once(PHPMP_ROOT . 'includes/language.php'); $Language = new Language(); include_once(PHPMP_ROOT . 'includes/constants.php'); --- 49,61 ---- $this->_initConfig(); // Grab DB-stored config values. + include_once(PHPMP_ROOT . 'includes/functions.php'); + include_once(PHPMP_ROOT . 'includes/user.php'); $User = new User(); // Create an instance of User. include_once(PHPMP_ROOT . 'includes/language.php'); $Language = new Language(); + createConstants(); include_once(PHPMP_ROOT . 'includes/constants.php'); Index: functions.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/functions.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** functions.php 5 Nov 2002 22:11:06 -0000 1.13 --- functions.php 3 Dec 2002 11:17:42 -0000 1.14 *************** *** 1,5 **** <? ! // File for functions that go nowhere in particular. ?> --- 1,19 ---- <? ! // Defines constants whose contents may be questionable. ! // Author: Brian 'Heimidal' Rose ! // Accepts: none. ! // Returns: none. ! function createConstants() ! { ! ! if( defined( "U_DATE_FORMAT" ) ) ! { ! define( "DATE_FORMAT", U_DATE_FORMAT ); ! } ! else ! { ! define( "DATE_FORMAT", DEFAULT_DATE_FORMAT ); ! } ?> Index: language.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/language.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** language.php 3 Dec 2002 06:37:34 -0000 1.3 --- language.php 3 Dec 2002 11:17:42 -0000 1.4 *************** *** 7,13 **** { ! if( defined("USR_LANG") ) { ! define( "LANGUAGE", USR_LANG ); } else { --- 7,13 ---- { ! if( defined("U_LANGUAGE") ) { ! define( "LANGUAGE", U_LANGUAGE ); } else { *************** *** 17,21 **** global $Local; ! include_once( PHPMP_ROOT . 'languages/' . LANGUAGE . '/lang_main.php'); $Local = new Localization(); --- 17,21 ---- global $Local; ! include_once( PHPMP_ROOT . 'languages/' . LANGUAGE . '/lang_main.php' ); $Local = new Localization(); *************** *** 24,26 **** } ! ?> --- 24,26 ---- } ! ?> \ No newline at end of file Index: template.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/template.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** template.php 1 Dec 2002 03:47:22 -0000 1.22 --- template.php 3 Dec 2002 11:17:42 -0000 1.23 *************** *** 7,10 **** --- 7,43 ---- { + // Assigns template constants. + // This function should somehow be integrated into constants.php. + // Author: Nrian 'Heimidal' Rose + // Accepts: none. + // Returns: none. + function assignConstants() + { + + $this->assign( array( + + "SITE_ADDR" => SITE_ADDR, + "SITE_NAME" => SITE_NAME, + "REL_PATH" => REL_PATH, + "TIME_NOW" => TIME_NOW, + "TEMPLATE" => TEMPLATE + + ) ); + + } + + // Assigns template vars through lang files. + // Author: Brian 'Heimidal' Rose + // Accepts: none. + // Returns: none. + function assignLangVars() + { + + global $Local; + + $this->assign( $Local->lang ); + + } + // Initiates the Template engine. // Author: Brian 'Heimidal' Rose *************** *** 16,20 **** if( defined( "USR_TPL" ) && ( OVERRIDE_USR_TPL == 0 ) ) { ! define( "TEMPLATE", USR_TPL ); } else { --- 49,53 ---- if( defined( "USR_TPL" ) && ( OVERRIDE_USR_TPL == 0 ) ) { ! define( "TEMPLATE", U_TEMPLATE ); } else { *************** *** 32,57 **** // Switch for caching. ! $this->caching = false; //Caching does not currently work. Maybe later. ! ! } ! ! ! // Assigns template constants. ! // This function should somehow be integrated into constants.php. ! // Author: Nrian 'Heimidal' Rose ! // Accepts: none. ! // Returns: none. ! function assign_constants() ! { ! ! $this->assign( array( ! ! "SITE_ADDR" => SITE_ADDR, ! "SITE_NAME" => SITE_NAME, ! "REL_PATH" => REL_PATH, ! "TIME_NOW" => TIME_NOW, ! "TEMPLATE" => TEMPLATE ! ! ) ); } --- 65,69 ---- // Switch for caching. ! $this->caching = false; // Caching does not currently work. Maybe later. } *************** *** 59,61 **** } ! ?> --- 71,73 ---- } ! ?> \ No newline at end of file Index: user.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/user.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** user.php 3 Dec 2002 08:37:11 -0000 1.3 --- user.php 3 Dec 2002 11:17:42 -0000 1.4 *************** *** 18,22 **** while( list ($key, $val) = each ($user_array) ) { ! define( "U_" . $key, $val ); } --- 18,25 ---- while( list ($key, $val) = each ($user_array) ) { ! if( $val != '' ) ! { ! define( "U_" . $key, $val ); ! } } *************** *** 62,66 **** { ! $this->snapshot(1); } --- 65,69 ---- { ! $this->snapshot('-1'); } |
From: Brian R. <hei...@us...> - 2002-12-03 10:25:47
|
Update of /cvsroot/phpmp/phpMP/languages/french In directory sc8-pr-cvs1:/tmp/cvs-serv18990/languages/french Modified Files: lang_main.php Log Message: It is absolutely imperative we give people directions...heh. Always escape quotes if used within the same type of quotes. Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/french/lang_main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** lang_main.php 3 Dec 2002 01:25:28 -0000 1.1 --- lang_main.php 3 Dec 2002 10:25:44 -0000 1.2 *************** *** 17,21 **** $this->lang['Modules'] = 'Modules'; $this->lang['Downloads'] = 'Téléchargements'; ! $this->lang['Username'] = 'Nom d'usager'; $this->lang['User_CP'] = 'User CP'; $this->lang['User_Control_Panel'] = 'Votre panneau de commande'; --- 17,21 ---- $this->lang['Modules'] = 'Modules'; $this->lang['Downloads'] = 'Téléchargements'; ! $this->lang['Username'] = 'Nom d\'usager'; $this->lang['User_CP'] = 'User CP'; $this->lang['User_Control_Panel'] = 'Votre panneau de commande'; *************** *** 29,33 **** $this->lang['Administration_Area'] = 'Section Administrative'; ! $this->lang['Register_a_Username'] = 'Enregistrez votre nom d'usager'; --- 29,33 ---- $this->lang['Administration_Area'] = 'Section Administrative'; ! $this->lang['Register_a_Username'] = 'Enregistrez votre nom d\'usager'; *************** *** 39,43 **** $this->lang['Account_Activated'] = 'Votre compte a été activé. Vous pouvez maintenant ouvrir une session.'; ! $this->lang['Required_Field'] = 'Ceci dénote de l'information requise pour votre enregistrement'; $this->lang['Registration_Finished'] = 'Votre enregistrement a été traité. Un courriel expliquant l'activation de votre compte sera envoyé à l'adresse soumisse sous peu.'; $this->lang['Forgot_Password'] = 'Avez-vous oubliez votre mot de pass?'; --- 39,43 ---- $this->lang['Account_Activated'] = 'Votre compte a été activé. Vous pouvez maintenant ouvrir une session.'; ! $this->lang['Required_Field'] = 'Ceci dénote de l\'information requise pour votre enregistrement'; $this->lang['Registration_Finished'] = 'Votre enregistrement a été traité. Un courriel expliquant l'activation de votre compte sera envoyé à l'adresse soumisse sous peu.'; $this->lang['Forgot_Password'] = 'Avez-vous oubliez votre mot de pass?'; |
From: Brian R. <hei...@us...> - 2002-12-03 08:42:29
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv14412 Modified Files: Changelog Log Message: Updated Changelog. Index: Changelog =================================================================== RCS file: /cvsroot/phpmp/phpMP/Changelog,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** Changelog 3 Dec 2002 06:39:33 -0000 1.8 --- Changelog 3 Dec 2002 08:42:26 -0000 1.9 *************** *** 1,4 **** --- 1,15 ---- 2002-12-02 [Heimidal] + * includes/core.php + Added an 's' to SESSIONS_TABLE. + * includes/user.php + Keep work up on the auth system. + * dba/sql/mysql_default_vals.sql + Changed a few defaults to reflect typical setups. + + + + 2002-12-02 [Heimidal] + * index.php * includes/core.php |
From: Brian R. <hei...@us...> - 2002-12-03 08:37:14
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv12276/includes Modified Files: core.php user.php Log Message: Updated a bit of SQL. Not quite complete, though (ok..no where close). Also keeping up on the auth development. This will be a challenge. Index: core.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/core.php,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -r1.36 -r1.37 *** core.php 3 Dec 2002 06:37:33 -0000 1.36 --- core.php 3 Dec 2002 08:37:11 -0000 1.37 *************** *** 13,17 **** define("CONFIG_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'config'); define("USERS_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'users'); ! define("SESSION_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'sessions'); define("MODULES_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'modules'); define("BLOCK_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'blocks'); --- 13,17 ---- define("CONFIG_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'config'); define("USERS_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'users'); ! define("SESSIONS_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'sessions'); define("MODULES_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'modules'); define("BLOCK_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'blocks'); Index: user.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/user.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** user.php 2 Dec 2002 22:21:07 -0000 1.2 --- user.php 3 Dec 2002 08:37:11 -0000 1.3 *************** *** 5,28 **** { - var $array; - function snapshot( $user ) { ! global $DB; ! $sql = "SELECT * FROM " . USERS_TABLE . " WHERE userid=$user"; ! $qry = $DB->query($sql); ! ! $this->array = $DB->fetchArray($qry); } function User() { ! // Must decide is this is an anonymous user or a registered user. ! if( USE_PERMS == 1 ) { --- 5,49 ---- { function snapshot( $user ) { ! global $DB; ! $sql = "SELECT * FROM " . USERS_TABLE . " WHERE userid=$user"; ! $qry = $DB->query($sql); ! ! $user_array = $DB->fetchArray($qry); ! ! while( list ($key, $val) = each ($user_array) ) ! { ! define( "U_" . $key, $val ); ! } } + function sessionClean() + { + + global $DB; + + $rand = rand(0,10); + if($rand >= 1) + { + + $sql = "DELETE FROM " . SESSIONS_TABLE . " WHERE expiry<" . time(); + $DB->query($sql); + + } + + } + function User() { ! ! $this->sessionClean(); ! // Must decide is this is an anonymous user or a registered user. ! if( USE_PERMS == 1 ) { *************** *** 32,36 **** global $Auth; ! include_once(PHPMP_ROOT . 'includes/auth.php'); $Auth = new Auth(); --- 53,57 ---- global $Auth; ! include_once( PHPMP_ROOT . 'includes/auth.php' ); $Auth = new Auth(); *************** *** 49,51 **** } ! ?> \ No newline at end of file --- 70,72 ---- } ! ?> |
From: Brian R. <hei...@us...> - 2002-12-03 08:37:14
|
Update of /cvsroot/phpmp/phpMP/dba/sql In directory sc8-pr-cvs1:/tmp/cvs-serv12276/dba/sql Modified Files: mysql_default_vals.sql Log Message: Updated a bit of SQL. Not quite complete, though (ok..no where close). Also keeping up on the auth development. This will be a challenge. Index: mysql_default_vals.sql =================================================================== RCS file: /cvsroot/phpmp/phpMP/dba/sql/mysql_default_vals.sql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** mysql_default_vals.sql 2 Dec 2002 11:31:11 -0000 1.1 --- mysql_default_vals.sql 3 Dec 2002 08:37:11 -0000 1.2 *************** *** 13,17 **** # ! INSERT INTO phpmp_config VALUES ('site_addr', 'http://192.168.0.2'); INSERT INTO phpmp_config VALUES ('rel_path', '/'); INSERT INTO phpmp_config VALUES ('default_tpl', 'TealMP'); --- 13,17 ---- # ! INSERT INTO phpmp_config VALUES ('site_addr', 'http://localhost'); INSERT INTO phpmp_config VALUES ('rel_path', '/'); INSERT INTO phpmp_config VALUES ('default_tpl', 'TealMP'); *************** *** 21,25 **** INSERT INTO phpmp_config VALUES ('date_format', 'M j, Y h:iA'); INSERT INTO phpmp_config VALUES ('enable_account_activation', '0'); ! INSERT INTO phpmp_config VALUES ('system_timezone', '-7'); ! INSERT INTO phpmp_config VALUES ('version', '0.1a'); ! INSERT INTO phpmp_config VALUES ('use_perms', '0'); \ No newline at end of file --- 21,25 ---- INSERT INTO phpmp_config VALUES ('date_format', 'M j, Y h:iA'); INSERT INTO phpmp_config VALUES ('enable_account_activation', '0'); ! INSERT INTO phpmp_config VALUES ('system_timezone', '-5'); # -5 is EST. ! INSERT INTO phpmp_config VALUES ('version', '0.1a'); # Version ! INSERT INTO phpmp_config VALUES ('use_perms', '0'); # Don't use Auth for now. |
From: Brian R. <hei...@us...> - 2002-12-03 06:39:35
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv23751 Modified Files: Changelog Log Message: Updated Changelog. Index: Changelog =================================================================== RCS file: /cvsroot/phpmp/phpMP/Changelog,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** Changelog 3 Dec 2002 05:22:41 -0000 1.7 --- Changelog 3 Dec 2002 06:39:33 -0000 1.8 *************** *** 1,4 **** --- 1,12 ---- 2002-12-02 [Heimidal] + * index.php + * includes/core.php + Attempt to comply with coding standards. + * includes/language.php + Fixed inclusion of main language file. + + 2002-12-02 [Heimidal] + * templates/TealMP/compile/ **NEW** * templates/TealMP/configs/ **NEW** |
From: Brian R. <hei...@us...> - 2002-12-03 06:37:36
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv21876/includes Modified Files: core.php language.php Log Message: Updated a few files to comply with my self-proclaimed coding standards. Fixed the inclusion the lang_main.php file by the Lgnauge class. Index: core.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/core.php,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -r1.35 -r1.36 *** core.php 2 Dec 2002 22:21:03 -0000 1.35 --- core.php 3 Dec 2002 06:37:33 -0000 1.36 *************** *** 36,42 **** function init ( $optional_files = array() ) { ! include_once(PHPMP_ROOT . 'config.php'); ! include_once(PHPMP_ROOT . 'includes/debug.php'); $Debug = new Debug(); --- 36,42 ---- function init ( $optional_files = array() ) { ! include_once( PHPMP_ROOT . 'config.php' ); ! include_once( PHPMP_ROOT . 'includes/debug.php' ); $Debug = new Debug(); *************** *** 83,85 **** } ! ?> \ No newline at end of file --- 83,85 ---- } ! ?> Index: language.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/language.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** language.php 2 Dec 2002 22:21:06 -0000 1.2 --- language.php 3 Dec 2002 06:37:34 -0000 1.3 *************** *** 17,21 **** global $Local; ! include_once( PHPMP_ROOT . 'languages/' . LANGUAGE . '.php'); $Local = new Localization(); --- 17,21 ---- global $Local; ! include_once( PHPMP_ROOT . 'languages/' . LANGUAGE . '/lang_main.php'); $Local = new Localization(); |
From: Brian R. <hei...@us...> - 2002-12-03 06:37:36
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv21876 Modified Files: index.php Log Message: Updated a few files to comply with my self-proclaimed coding standards. Fixed the inclusion the lang_main.php file by the Lgnauge class. Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/index.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -r1.24 -r1.25 *** index.php 2 Dec 2002 10:59:50 -0000 1.24 --- index.php 3 Dec 2002 06:37:33 -0000 1.25 *************** *** 5,9 **** define("PHPMP_ROOT", "./"); ! include( PHPMP_ROOT . 'includes/core.php' ); $Core = new Core(); --- 5,9 ---- define("PHPMP_ROOT", "./"); ! include_once( PHPMP_ROOT . 'includes/core.php' ); $Core = new Core(); *************** *** 42,44 **** </body> ! </html> \ No newline at end of file --- 42,44 ---- </body> ! </html> |