- Timestamp:
- Nov 3, 2003, 11:39:53 PM (21 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/comments.php
r228 r231 160 160 $vtp->setGlobalVar( $sub, 'user_template', $user['template'] ); 161 161 //--------------------------------------------------- number of days to display 162 if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );163 else define( MAX_DAYS, 0 );162 if ( isset( $_GET['last_days'] ) ) define( "MAX_DAYS", $_GET['last_days'] ); 163 else define( "MAX_DAYS", 0 ); 164 164 //----------------------------------------- non specific section initialization 165 165 $array_cat_directories = array(); -
trunk/admin/include/isadmin.inc.php
r226 r231 17 17 * * 18 18 ***************************************************************************/ 19 define( PREFIX_INCLUDE, '' );19 define( "PREFIX_INCLUDE", '' ); 20 20 21 21 include_once( './include/config.inc.php' ); -
trunk/admin/stats.php
r226 r231 43 43 $vtp->setGlobalVar( $sub, 'user_template', $user['template'] ); 44 44 //--------------------------------------------------- number of days to display 45 if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );46 else define( MAX_DAYS, 0 );45 if ( isset( $_GET['last_days'] ) ) define( "MAX_DAYS", $_GET['last_days'] ); 46 else define( "MAX_DAYS", 0 ); 47 47 48 48 foreach ( $conf['last_days'] as $option ) { -
trunk/comments.php
r180 r231 141 141 $vtp->setGlobalVar( $handle, 'text_color', $user['couleur_text'] ); 142 142 //--------------------------------------------------- number of days to display 143 if ( isset( $_GET['last_days'] ) ) define( MAX_DAYS, $_GET['last_days'] );144 else define( MAX_DAYS, 0 );143 if ( isset( $_GET['last_days'] ) ) define( "MAX_DAYS", $_GET['last_days'] ); 144 else define( "MAX_DAYS", 0 ); 145 145 //----------------------------------------- non specific section initialization 146 146 $array_cat_directories = array(); -
trunk/include/functions.inc.php
r141 r231 319 319 { 320 320 include( PREFIX_INCLUDE.'./include/mysql.inc.php' ); 321 define( PREFIX_TABLE, $prefixeTable );321 define( "PREFIX_TABLE", $prefixeTable ); 322 322 323 323 @mysql_connect( $cfgHote, $cfgUser, $cfgPassword ) -
trunk/include/functions_xml.inc.php
r57 r231 19 19 20 20 //------------------------------------------------------------------ constantes 21 define( ATT_REG, '\w+' );22 define( VAL_REG, '[^"]*' );21 define( "ATT_REG", '\w+' ); 22 define( "VAL_REG", '[^"]*' ); 23 23 //------------------------------------------------------------------- functions 24 24 // getContent returns the content of a tag -
trunk/include/init.inc.php
r57 r231 17 17 * * 18 18 ***************************************************************************/ 19 define( PREFIX_INCLUDE, '' );19 define( "PREFIX_INCLUDE", '' ); 20 20 21 21 include_once( './include/config.inc.php' ); -
trunk/index.php
r191 r231 18 18 ***************************************************************************/ 19 19 20 define( PREFIX_INCLUDE, '' );20 define( "PREFIX_INCLUDE", '' ); 21 21 include_once( './include/functions.inc.php' ); 22 22 database_connection();
Note: See TracChangeset
for help on using the changeset viewer.