phpmp-commits Mailing List for phpMyPublications (Page 7)
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...> - 2003-06-30 02:42:49
|
Update of /cvsroot/phpmp/phpMP/docs In directory sc8-pr-cvs1:/tmp/cvs-serv8107 Modified Files: Changelog Log Message: Updated Changelog. Index: Changelog =================================================================== RCS file: /cvsroot/phpmp/phpMP/docs/Changelog,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -r1.39 -r1.40 *** Changelog 29 Jun 2003 08:19:55 -0000 1.39 --- Changelog 30 Jun 2003 02:42:46 -0000 1.40 *************** *** 1,2 **** --- 1,11 ---- + 2003-06-29 [Heimidal] + * almost all files (so check them all) + Lots of updates. Fixed linebreaks. + * dba/* **REMOVED** + * includes/dba/* **NEW** + All contents of dba/ have been moved to the + includes/ directory since they technically + are includes. + 2003-05-19 [Heimidal] * module.php |
From: Brian R. <hei...@us...> - 2003-06-30 02:34:35
|
Update of /cvsroot/phpmp/phpMP/templates In directory sc8-pr-cvs1:/tmp/cvs-serv7178/templates Added Files: index.html Log Message: Giving us some protective padding.. --- NEW FILE: index.html --- <html> <head> <title>Sorry...</title> </head> <body> This directory is not directly accessible. </body> </html> |
From: Brian R. <hei...@us...> - 2003-06-30 02:34:35
|
Update of /cvsroot/phpmp/phpMP/includes/dba In directory sc8-pr-cvs1:/tmp/cvs-serv7178/includes/dba Added Files: index.html Log Message: Giving us some protective padding.. --- NEW FILE: index.html --- <html> <head> <title>Sorry...</title> </head> <body> This directory is not directly accessible. </body> </html> |
From: Brian R. <hei...@us...> - 2003-06-30 02:34:35
|
Update of /cvsroot/phpmp/phpMP/languages/english In directory sc8-pr-cvs1:/tmp/cvs-serv7178/languages/english Added Files: index.html Log Message: Giving us some protective padding.. --- NEW FILE: index.html --- <html> <head> <title>Sorry...</title> </head> <body> This directory is not directly accessible. </body> </html> |
From: Brian R. <hei...@us...> - 2003-06-30 02:34:35
|
Update of /cvsroot/phpmp/phpMP/languages In directory sc8-pr-cvs1:/tmp/cvs-serv7178/languages Added Files: index.html Log Message: Giving us some protective padding.. --- NEW FILE: index.html --- <html> <head> <title>Sorry...</title> </head> <body> This directory is not directly accessible. </body> </html> |
From: Brian R. <hei...@us...> - 2003-06-30 02:34:35
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv7178/includes Added Files: index.html Log Message: Giving us some protective padding.. --- NEW FILE: index.html --- <html> <head> <title>Sorry...</title> </head> <body> This directory is not directly accessible. </body> </html> |
From: Brian R. <hei...@us...> - 2003-06-30 02:34:35
|
Update of /cvsroot/phpmp/phpMP/admin In directory sc8-pr-cvs1:/tmp/cvs-serv7178/admin Added Files: index.html Log Message: Giving us some protective padding.. --- NEW FILE: index.html --- <html> <head> <title>Sorry...</title> </head> <body> This directory is not directly accessible. </body> </html> |
From: Brian R. <hei...@us...> - 2003-06-30 02:31:54
|
Update of /cvsroot/phpmp/phpMP/cache/templates In directory sc8-pr-cvs1:/tmp/cvs-serv6882/templates Log Message: Directory /cvsroot/phpmp/phpMP/cache/templates added to the repository |
From: Brian R. <hei...@us...> - 2003-06-30 01:44:10
|
Update of /cvsroot/phpmp/phpMP/includes/dba In directory sc8-pr-cvs1:/tmp/cvs-serv2758/includes/dba Added Files: mssql.dba mysql.dba Log Message: Moving the dba directory into includes/. --- NEW FILE: mssql.dba --- <?php /* * phpMP - The PHP Modular Portal System * Copyright (C) 2002-2003 Brian Rose and the phpMP group * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id: mssql.dba,v 1.1 2003/06/30 01:44:07 heimidal Exp $ * */ class DB { var $ident_link; var $connected; function connect() { if (empty($this->ident_link)) { $connection = @mssql_connect(DB_HOST, DB_USER, DB_PASSWD); if (!$connection) { $this->connected = 0; return 0; } else { $this->ident_link = $connection; return $this->ident_link; } } } function close() { if ($this->ident_link != 0) { @mssql_close($this->ident_link); $this->ident_link = 0; return 1; } else { return 1; } } function query($qry) { if ($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } if (!$db) { return 0; } else { $result = @mssql_query($qry, $db); return $result; } } function num_rows($qry) { if ($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } if (!$db) { return 0; } else { $num = @mssql_num_rows($qry); return $num; } } function result($result, $row=0, $field='') { if ($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } if (!$db) { return 0; } else { $return = @mssql_result($result, $row, $field); return $return; } } function fetch_array($qry) { if ($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } if (!$db) { return 0; } else { $result = @mssql_fetch_array($qry); return $result; } } function fetch_row($qry) { if ($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } if (!$db) { return 0; } else { $result = @mssql_fetch_row($qry) return $result; } } function escape_string($string) { if( stripslashes($string) == $string ) // Will be true if no slashes were removed. { addslashes($string); // We'll add the slashes because they haven't already been added. return true; } else // Slashes have already been added (hopefully only once). { return true; } } } ?> --- NEW FILE: mysql.dba --- <?php /* * phpMP - The PHP Modular Portal System * Copyright (C) 2002-2003 Brian Rose and the phpMP group * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id: mysql.dba,v 1.1 2003/06/30 01:44:07 heimidal Exp $ * */ class DB { var $ident_link; var $connected; var $query_count; function connect () { if ( empty ($this->ident_link) ) { $connection = @mysql_connect(DB_HOST, DB_USER, DB_PASSWD); if ( !$connection ) { $this->connected = 0; return 0; } else { $this->ident_link = $connection; return $this->ident_link; } } else { return $this->ident_link; } } function close () { if ( $this->ident_link != 0 ) { @mysql_close($this->ident_link); $this->ident_link = 0; return 1; } else { return 1; } } function query ( $qry ) { if ( $this->ident_link == 0 ) { $db = $this->connect(); } else { $db = $this->ident_link; } if ( !$db ) { return 0; } else { $result = @mysql_query( $qry, $db ); $this->query_count++; return $result; } } function num_rows ($query) { if ( $this->ident_link == 0 ) { $db = $this->connect(); } else { $db = $this->ident_link; } $num = @mysql_num_rows($query); return $num; } function insert_id() { if($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } $num = @mysql_insert_id($this->ident_link); return $num; } function result( $result, $row=0, $field='' ) { if($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } $result = @mysql_result($result, $row, $field); return $result; } function fetch_array($query) { if($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } return @mysql_fetch_array($query); } function fetch_assoc($query) { if($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } return @mysql_fetch_assoc($query); } function fetch_row($query) { if ( $this->ident_link == 0 ) { $db = $this->connect(); } else { $db = $this->ident_link; } $result = @mysql_fetch_row($query); return $result; } function affected_rows() { if($this->ident_link == 0) { $db = $this->connect(); } else { $db = $this->ident_link; } return @mysql_affected_rows($db); } } ?> |
From: Brian R. <hei...@us...> - 2003-06-30 01:44:10
|
Update of /cvsroot/phpmp/phpMP/includes/dba/sql In directory sc8-pr-cvs1:/tmp/cvs-serv2758/includes/dba/sql Added Files: mysql_default_vals.sql mysql_structure.sql Log Message: Moving the dba directory into includes/. --- NEW FILE: mysql_default_vals.sql --- # phpMyAdmin MySQL-Dump # version 2.5.0-rc1 # http://www.phpmyadmin.net/ (download page) # # Host: localhost # Generation Time: Apr 23, 2003 at 01:14 AM # Server version: 4.0.12 # PHP Version: 4.3.0 # Database : `phpmp` # -------------------------------------------------------- # # Dumping data for table `phpmp_config` # INSERT INTO `phpmp_config` VALUES ('site_domain', 'http://localhost'); INSERT INTO `phpmp_config` VALUES ('rel_path', '/phpMP/'); INSERT INTO `phpmp_config` VALUES ('default_tpl', ''); 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 T'); INSERT INTO `phpmp_config` VALUES ('enable_account_activation', '0'); INSERT INTO `phpmp_config` VALUES ('system_timezone', '-5'); INSERT INTO `phpmp_config` VALUES ('version', '0.1a'); INSERT INTO `phpmp_config` VALUES ('cookie_name', 'phpmp_cookie'); INSERT INTO `phpmp_config` VALUES ('cookie_domain', ''); INSERT INTO `phpmp_config` VALUES ('cookie_path', ''); INSERT INTO `phpmp_config` VALUES ('cookie_secure', '0'); INSERT INTO `phpmp_config` VALUES ('session_length', '3600'); # -------------------------------------------------------- # # Dumping data for table `phpmp_users` # INSERT INTO `phpmp_users` VALUES (1, 'Anonymous', '', 1, '', '', 0, '', '', '', ''); --- NEW FILE: mysql_structure.sql --- # phpMyAdmin MySQL-Dump # version 2.5.0-rc1 # http://www.phpmyadmin.net/ (download page) # # Host: localhost # Generation Time: Apr 23, 2003 at 01:14 AM # Server version: 4.0.12 # PHP Version: 4.3.0 # Database : `phpmp` # -------------------------------------------------------- # # Table structure for table `phpmp_config` # # Creation: Apr 22, 2003 at 08:46 AM # Last update: Apr 22, 2003 at 11:54 PM # CREATE TABLE `phpmp_config` ( `config_key` varchar(255) NOT NULL default '', `config_value` varchar(255) NOT NULL default '', PRIMARY KEY (`config_key`) ) TYPE=MyISAM; # # Table structure for table `phpmp_sessions` # # Creation: Apr 22, 2003 at 05:34 PM # Last update: Apr 23, 2003 at 01:11 AM # CREATE TABLE `phpmp_sessions` ( `session_key` varchar(32) NOT NULL default '', `session_user_id` mediumint(8) NOT NULL default '0', `session_start_time` int(10) NOT NULL default '0', `session_exp_time` int(10) NOT NULL default '0', `session_page` varchar(50) NOT NULL default '', `session_ip` varchar(8) NOT NULL default '', PRIMARY KEY (`session_key`) ) TYPE=Heap; # # Table structure for table `phpmp_users` # # Creation: Apr 23, 2003 at 12:34 AM # Last update: Apr 23, 2003 at 12:37 AM # CREATE TABLE `phpmp_users` ( `user_id` mediumint(8) NOT NULL auto_increment, `user_name` varchar(24) NOT NULL default '', `user_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', `language` varchar(32) NOT NULL default '', `date_format` varchar(32) NOT NULL default '', `template` varchar(32) NOT NULL default '', `signature` varchar(255) NOT NULL default '', PRIMARY KEY (`user_id`) ) TYPE=MyISAM AUTO_INCREMENT=3 ; |
From: Brian R. <hei...@us...> - 2003-06-30 01:44:10
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv2758/includes Modified Files: core.php Log Message: Moving the dba directory into includes/. Index: core.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/core.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -r1.61 -r1.62 *** core.php 29 Jun 2003 19:38:19 -0000 1.61 --- core.php 30 Jun 2003 01:44:07 -0000 1.62 *************** *** 78,82 **** $Debug = new Debug(); ! include_once( C_PHPMP_ROOT . 'dba/' . DB_TYPE . '.dba' ); $DB = new DB(); $DB->connect(); --- 78,82 ---- $Debug = new Debug(); ! include_once( C_PHPMP_ROOT . 'includes/dba/' . DB_TYPE . '.dba' ); $DB = new DB(); $DB->connect(); |
From: Brian R. <hei...@us...> - 2003-06-30 01:44:09
|
Update of /cvsroot/phpmp/phpMP/dba/sql In directory sc8-pr-cvs1:/tmp/cvs-serv2758/dba/sql Removed Files: mysql_default_vals.sql mysql_structure.sql Log Message: Moving the dba directory into includes/. --- mysql_default_vals.sql DELETED --- --- mysql_structure.sql DELETED --- |
From: Brian R. <hei...@us...> - 2003-06-30 01:44:09
|
Update of /cvsroot/phpmp/phpMP/dba In directory sc8-pr-cvs1:/tmp/cvs-serv2758/dba Removed Files: mssql.dba mysql.dba Log Message: Moving the dba directory into includes/. --- mssql.dba DELETED --- --- mysql.dba DELETED --- |
From: Brian R. <hei...@us...> - 2003-06-30 01:44:09
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv2758 Modified Files: config.php Log Message: Moving the dba directory into includes/. Index: config.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/config.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** config.php 30 Jun 2003 01:38:39 -0000 1.6 --- config.php 30 Jun 2003 01:44:06 -0000 1.7 *************** *** 1,20 **** - <?php - - ## DO NOT ALTER THIS FILE. - ## This file is automatically generated - ## by the phpMP install script. Do not - ## alter this file if you don't know - ## what you're doing. - - define( "PHPMP_INSTALLED", TRUE ); - - define( "DB_TYPE", "mysql" ); - define( "DB_HOST", "localhost" ); - define( "DB_NAME", "phpmp_general" ); - define( "DB_TABLE_PREFIX", "phpmp_" ); - define( "DB_USER", "phpmp" ); - - - define( "DB_PASSWD", "pyro123" ); - - ?> --- 0 ---- |
From: Brian R. <hei...@us...> - 2003-06-30 01:43:24
|
Update of /cvsroot/phpmp/phpMP/includes/dba/sql In directory sc8-pr-cvs1:/tmp/cvs-serv2677/sql Log Message: Directory /cvsroot/phpmp/phpMP/includes/dba/sql added to the repository |
From: Brian R. <hei...@us...> - 2003-06-30 01:42:44
|
Update of /cvsroot/phpmp/phpMP/includes/dba In directory sc8-pr-cvs1:/tmp/cvs-serv2569/dba Log Message: Directory /cvsroot/phpmp/phpMP/includes/dba added to the repository |
From: Brian R. <hei...@us...> - 2003-06-30 01:38:43
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv2124 Modified Files: config.php Log Message: Moving the dba dir. Index: config.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/config.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** config.php 29 Jun 2003 08:19:54 -0000 1.5 --- config.php 30 Jun 2003 01:38:39 -0000 1.6 *************** *** 0 **** --- 1,20 ---- + <?php + + ## DO NOT ALTER THIS FILE. + ## This file is automatically generated + ## by the phpMP install script. Do not + ## alter this file if you don't know + ## what you're doing. + + define( "PHPMP_INSTALLED", TRUE ); + + define( "DB_TYPE", "mysql" ); + define( "DB_HOST", "localhost" ); + define( "DB_NAME", "phpmp_general" ); + define( "DB_TABLE_PREFIX", "phpmp_" ); + define( "DB_USER", "phpmp" ); + + + define( "DB_PASSWD", "pyro123" ); + + ?> |
From: Gordon P. H. <gph...@us...> - 2003-06-30 01:31:53
|
Update of /cvsroot/phpmp/phpMP/languages/spanish In directory sc8-pr-cvs1:/tmp/cvs-serv1360/languages/spanish Added Files: lang_main.php Log Message: I completely wrote the Spanish lang_main (copied off of the English lang_main, the Spanish language pack of phpBB, and from translations by http://world.altavista.com/). - GPHemsley |
From: Gordon P. H. <gph...@us...> - 2003-06-30 00:46:17
|
Update of /cvsroot/phpmp/phpMP/languages/french In directory sc8-pr-cvs1:/tmp/cvs-serv28977/languages/french Modified Files: lang_main.php Log Message: I updated the French lang_main to the English lang_main's standards. - GPHemsley Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/french/lang_main.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** lang_main.php 29 Jun 2003 08:19:56 -0000 1.9 --- lang_main.php 30 Jun 2003 00:46:12 -0000 1.10 *************** *** 30,33 **** --- 30,34 ---- function Localization() { + global $Config; $this->lang = array( *************** *** 38,59 **** // Note: Always escape single quote characters (') with a backslash (\). // ! 'L_Welcome_to_Site' => 'Bienvenue chez ' . C_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', --- 39,61 ---- // Note: Always escape single quote characters (') with a backslash (\). // ! 'WELCOME_TO' => 'Bienvenue chez', ! 'HOME' => 'Accueil', ! 'PROFILE' => 'Profil', ! 'MODULES' => 'Modules', ! 'DOWNLOADS' => 'Téléchargements', ! 'USERNAME' => 'Nom d\'usager', ! 'USER_CP' => 'User CP', ! 'USER_CONTROL_PANEL' => 'Votre panneau de commande', ! 'E_MAIL' => 'Courriel', ! 'PASSWORD' => 'Mot de passe', ! 'CONFIRM' => 'Confirmez', ! 'REAL_NAME' => 'Prénom et Nom', ! 'LOCATION' => 'Location', ! 'REGISTER' => 'Enregistrer', ! 'MAIN_MENU' => 'Main Menu', ! 'USER_SETTINGS' => 'User Settings', ! 'ADMINISTRATION_AREA' => 'Section Administrative', ! 'REGISTER_A_USERNAME' => 'Enregistrez votre nom d\'usager', *************** *** 61,72 **** // 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.', --- 63,74 ---- // Below is language used almost specifically for auth. // ! 'LOGIN' => 'Ouvrir session', ! 'LOGOUT' => 'Fermer session', ! 'ACCOUNT_ACTIVATED' => 'Votre compte a été activé. Vous pouvez maintenant ouvrir une session.', ! 'REQUIRED_FIELD' => 'Ceci dénote de l\'information requise pour votre enregistrement', ! 'REGISTER_FINISHED' => 'Votre enregistrement a été traité. Un courriel expliquant l\'activation de votre compte sera envoyé à l\'adresse soumisse sous peu.', ! 'FORGOT_PASSWORD' => 'Avez-vous oubliez votre mot de pass?', ! 'NOT_LOGGED_IN' => 'Veuillez ouvrir une session via votre compte personel.', *************** *** 74,79 **** // Other various parts of the templates. // ! 'L_Powered_by_phpMP' => 'Actionné par phpMP ' . C_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) --- 76,81 ---- // Other various parts of the templates. // ! 'POWERED_BY' => 'Actionné par phpMP ' . $Config->get('version') . ' © 2003 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.', ! '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) |
From: Gordon P. H. <gph...@us...> - 2003-06-29 21:35:20
|
Update of /cvsroot/phpmp/phpMP/admin In directory sc8-pr-cvs1:/tmp/cvs-serv5376/admin Modified Files: index.php main.php nav.php Log Message: Updated the C_PHPMP_ROOT to be ./../ instead of just ../ . - GPHemsley Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/index.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** index.php 29 Jun 2003 19:38:19 -0000 1.9 --- index.php 29 Jun 2003 21:35:17 -0000 1.10 *************** *** 23,27 **** */ ! define( 'C_PHPMP_ROOT', '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); --- 23,27 ---- */ ! define( 'C_PHPMP_ROOT', './../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); Index: main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/main.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** main.php 29 Jun 2003 19:38:19 -0000 1.8 --- main.php 29 Jun 2003 21:35:17 -0000 1.9 *************** *** 23,27 **** */ ! define( 'C_PHPMP_ROOT', '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); --- 23,27 ---- */ ! define( 'C_PHPMP_ROOT', './../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); Index: nav.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/nav.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** nav.php 29 Jun 2003 19:38:19 -0000 1.7 --- nav.php 29 Jun 2003 21:35:17 -0000 1.8 *************** *** 25,29 **** // Basic Navigation (not very pretty, just a throw-together for testing ! define( 'C_PHPMP_ROOT', '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); --- 25,29 ---- // Basic Navigation (not very pretty, just a throw-together for testing ! define( 'C_PHPMP_ROOT', './../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); |
From: Gordon P. H. <gph...@us...> - 2003-06-29 21:32:27
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv5048/includes Modified Files: mpcode.php Log Message: Another long-lost PHPMP_ROOT variable turned into C_PHPMP_ROOT. - GPHemsley Index: mpcode.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/mpcode.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** mpcode.php 29 Jun 2003 08:19:55 -0000 1.9 --- mpcode.php 29 Jun 2003 21:32:25 -0000 1.10 *************** *** 47,51 **** // This may not be the best way, but it works function _replace($string) { ! include (PHPMP_ROOT . "includes/mpcode_arrays.php"); foreach ($mpcode as $key => $code) { --- 47,51 ---- // This may not be the best way, but it works function _replace($string) { ! include (C_PHPMP_ROOT . "includes/mpcode_arrays.php"); foreach ($mpcode as $key => $code) { |
From: Gordon P. H. <gph...@us...> - 2003-06-29 20:28:27
|
Update of /cvsroot/phpmp/phpMP/templates/BlueMP In directory sc8-pr-cvs1:/tmp/cvs-serv25806/templates/BlueMP Modified Files: header.html Log Message: Eliminated a double-slash in the link attached to the logo. - GPHemsley Index: header.html =================================================================== RCS file: /cvsroot/phpmp/phpMP/templates/BlueMP/header.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** header.html 29 Jun 2003 06:09:40 -0000 1.3 --- header.html 29 Jun 2003 20:28:24 -0000 1.4 *************** *** 13,16 **** <div id="container"> ! <div id="logo"><a href="{C_REL_PATH}/index.php"><img src="{C_REL_PATH}templates/{C_TEMPLATE}/images/phpMP_logo.png" width="252" height="78" alt="" /></a></div> <div id="logininfo"><a href="login">{L_LOGIN}</a> - <a href="register">{L_REGISTER}</a></div> --- 13,16 ---- <div id="container"> ! <div id="logo"><a href="{C_REL_PATH}index.php"><img src="{C_REL_PATH}templates/{C_TEMPLATE}/images/phpMP_logo.png" width="252" height="78" alt="" /></a></div> <div id="logininfo"><a href="login">{L_LOGIN}</a> - <a href="register">{L_REGISTER}</a></div> |
From: Gordon P. H. <gph...@us...> - 2003-06-29 19:38:23
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv14472 Modified Files: index.php Log Message: I updated a few remaining variables of PHPMP_ROOT to C_PHPMP_ROOT. I also fixed the Admin Panel by correcting the define()'s because the variables were not surrounded by ' (as in 'VARIABLE'). - GPHemsley Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/index.php,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -r1.46 -r1.47 *** index.php 29 Jun 2003 08:19:54 -0000 1.46 --- index.php 29 Jun 2003 19:38:20 -0000 1.47 *************** *** 23,28 **** */ ! define("PHPMP_ROOT", "./"); ! include_once( PHPMP_ROOT . 'includes/core.php' ); $Core = new Core(); --- 23,28 ---- */ ! define("C_PHPMP_ROOT", "./"); ! include_once( C_PHPMP_ROOT . 'includes/core.php' ); $Core = new Core(); |
From: Gordon P. H. <gph...@us...> - 2003-06-29 19:38:23
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv14472/includes Modified Files: core.php language.php template.php Log Message: I updated a few remaining variables of PHPMP_ROOT to C_PHPMP_ROOT. I also fixed the Admin Panel by correcting the define()'s because the variables were not surrounded by ' (as in 'VARIABLE'). - GPHemsley Index: core.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/core.php,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -r1.60 -r1.61 *** core.php 29 Jun 2003 18:33:21 -0000 1.60 --- core.php 29 Jun 2003 19:38:19 -0000 1.61 *************** *** 62,68 **** // This code *should* be changed later. ! if( !defined("PHPMP_ROOT") ) { ! define( 'PHPMP_ROOT', './' ); } --- 62,68 ---- // This code *should* be changed later. ! if( !defined("C_PHPMP_ROOT") ) { ! define( 'C_PHPMP_ROOT', './' ); } *************** *** 70,82 **** error_reporting(E_ERROR | E_WARNING | E_PARSE); ! include_once( PHPMP_ROOT . 'config.php' ); // Globalize all major class-containing variables. global $Config, $Debug, $DB, $User, $MPCode, $Template; ! include_once( PHPMP_ROOT . 'includes/debug.php' ); $Debug = new Debug(); ! include_once( PHPMP_ROOT . 'dba/' . DB_TYPE . '.dba' ); $DB = new DB(); $DB->connect(); --- 70,82 ---- error_reporting(E_ERROR | E_WARNING | E_PARSE); ! include_once( C_PHPMP_ROOT . 'config.php' ); // Globalize all major class-containing variables. global $Config, $Debug, $DB, $User, $MPCode, $Template; ! include_once( C_PHPMP_ROOT . 'includes/debug.php' ); $Debug = new Debug(); ! include_once( C_PHPMP_ROOT . 'dba/' . DB_TYPE . '.dba' ); $DB = new DB(); $DB->connect(); *************** *** 89,105 **** define("DB_TEMPLATE_VARS_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'template_vars'); ! include_once(PHPMP_ROOT . 'includes/config.init.php'); $Config = new Config(); ! include_once(PHPMP_ROOT . 'includes/constants.php'); ! include_once(PHPMP_ROOT . 'includes/functions.php'); ! include_once(PHPMP_ROOT . 'includes/user.php'); $User = new User(); // Create an instance of User. create_vars(); ! include_once(PHPMP_ROOT . 'includes/session.php'); $Session = new Session(); --- 89,105 ---- define("DB_TEMPLATE_VARS_TABLE", DB_NAME . '.' . DB_TABLE_PREFIX . 'template_vars'); ! include_once(C_PHPMP_ROOT . 'includes/config.init.php'); $Config = new Config(); ! include_once(C_PHPMP_ROOT . 'includes/constants.php'); ! include_once(C_PHPMP_ROOT . 'includes/functions.php'); ! include_once(C_PHPMP_ROOT . 'includes/user.php'); $User = new User(); // Create an instance of User. create_vars(); ! include_once(C_PHPMP_ROOT . 'includes/session.php'); $Session = new Session(); *************** *** 107,114 **** $Session->run(); ! include_once(PHPMP_ROOT . 'includes/language.php'); $Language = new Language(); ! include_once(PHPMP_ROOT . 'includes/mpcode.php'); // This while() statement will loop through the --- 107,114 ---- $Session->run(); ! include_once(C_PHPMP_ROOT . 'includes/language.php'); $Language = new Language(); ! include_once(C_PHPMP_ROOT . 'includes/mpcode.php'); // This while() statement will loop through the *************** *** 119,128 **** while( $my_file = $optional_files[$i] ) { ! include_once(PHPMP_ROOT . 'includes/' . $my_file . '.php'); $i++; } } ! include_once(PHPMP_ROOT . 'includes/template.php'); $Template = new Template(); --- 119,128 ---- while( $my_file = $optional_files[$i] ) { ! include_once(C_PHPMP_ROOT . 'includes/' . $my_file . '.php'); $i++; } } ! include_once(C_PHPMP_ROOT . 'includes/template.php'); $Template = new Template(); Index: language.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/language.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** language.php 29 Jun 2003 08:19:55 -0000 1.15 --- language.php 29 Jun 2003 19:38:20 -0000 1.16 *************** *** 37,41 **** $Config->set('language', $lang); ! $lang_file = PHPMP_ROOT . 'languages/' . $lang . '/lang_main.php'; if (!file_exists($lang_file)) --- 37,41 ---- $Config->set('language', $lang); ! $lang_file = C_PHPMP_ROOT . 'languages/' . $lang . '/lang_main.php'; if (!file_exists($lang_file)) Index: template.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/template.php,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -r1.43 -r1.44 *** template.php 29 Jun 2003 18:50:13 -0000 1.43 --- template.php 29 Jun 2003 19:38:20 -0000 1.44 *************** *** 60,65 **** { ! $this->root = PHPMP_ROOT . 'templates/' . $template; ! $this->cachedir = PHPMP_ROOT . $this->cache_root . $template . '/'; $this->static_lang = $static_lang; --- 60,65 ---- { ! $this->root = C_PHPMP_ROOT . 'templates/' . $template; ! $this->cachedir = C_PHPMP_ROOT . $this->cache_root . $template . '/'; $this->static_lang = $static_lang; |
From: Gordon P. H. <gph...@us...> - 2003-06-29 19:38:22
|
Update of /cvsroot/phpmp/phpMP/admin In directory sc8-pr-cvs1:/tmp/cvs-serv14472/admin Modified Files: index.php main.php nav.php Log Message: I updated a few remaining variables of PHPMP_ROOT to C_PHPMP_ROOT. I also fixed the Admin Panel by correcting the define()'s because the variables were not surrounded by ' (as in 'VARIABLE'). - GPHemsley Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** index.php 29 Jun 2003 08:19:55 -0000 1.8 --- index.php 29 Jun 2003 19:38:19 -0000 1.9 *************** *** 23,27 **** */ ! define( C_PHPMP_ROOT, '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); --- 23,27 ---- */ ! define( 'C_PHPMP_ROOT', '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); *************** *** 29,33 **** $Core = new Core(); ! $Core->init(); /******* Commented for Testing ******* --- 29,33 ---- $Core = new Core(); ! //$Core->init(); /******* Commented for Testing ******* Index: main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/main.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** main.php 29 Jun 2003 08:19:55 -0000 1.7 --- main.php 29 Jun 2003 19:38:19 -0000 1.8 *************** *** 23,39 **** */ ! // Action definitions ! define( C_ACTION_NONE, 0 ); ! define( C_ACTION_SITE, 1 ); ! define( C_ACTION_USER, 2 ); ! define( C_PARSE_USER, 3 ); ! ! define( C_PHPMP_ROOT, '../' ); ! include_once( C_PHPMP_ROOT . 'includes/core.php' ); $Core = new Core(); ! $Core->init(); // Main administration file - just shows site stats, etc... --- 23,38 ---- */ ! define( 'C_PHPMP_ROOT', '../' ); ! include_once( C_PHPMP_ROOT . 'includes/core.php' ); ! // Action definitions ! define( 'C_ACTION_NONE', 0 ); ! define( 'C_ACTION_SITE', 1 ); ! define( 'C_ACTION_USER', 2 ); ! define( 'C_PARSE_USER', 3 ); $Core = new Core(); ! //$Core->init(); // Main administration file - just shows site stats, etc... Index: nav.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/nav.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** nav.php 29 Jun 2003 08:19:55 -0000 1.6 --- nav.php 29 Jun 2003 19:38:19 -0000 1.7 *************** *** 25,29 **** // Basic Navigation (not very pretty, just a throw-together for testing ! define( C_PHPMP_ROOT, '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); --- 25,29 ---- // Basic Navigation (not very pretty, just a throw-together for testing ! define( 'C_PHPMP_ROOT', '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); *************** *** 31,35 **** $Core = new Core(); ! $Core->init(); /******* Comented for Testing ******* --- 31,35 ---- $Core = new Core(); ! //$Core->init(); /******* Comented for Testing ******* |