Changeset 375 for trunk/include


Ignore:
Timestamp:
Feb 26, 2004, 7:33:45 PM (20 years ago)
Author:
gweltas
Message:

New default template - User side

Location:
trunk/include
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r370 r375  
    120120}
    121121
    122 
     122define( 'PREFIX_INCLUDE', '' );// en attendant la migration complète
    123123include(PHPWG_ROOT_PATH . 'include/constants.php');
    124124include(PHPWG_ROOT_PATH . 'include/config.inc.php');
  • trunk/include/constants.php

    r362 r375  
    2626// +-----------------------------------------------------------------------+
    2727
    28 define( 'PREFIX_INCLUDE', '' );
    29  
    3028// Debug Level
    3129define('DEBUG', 1); // Debugging on
     
    3836define('CRITICAL_ERROR', 204);
    3937
    40 // xml tags
    41 define( 'ATT_REG', '\w+' );
    42 define( 'VAL_REG', '[^"]*' );
    43  
    4438// Table names
    4539define('CATEGORIES_TABLE', $table_prefix.'categories');
  • trunk/include/functions.inc.php

    r364 r375  
    2525// | USA.                                                                  |
    2626// +-----------------------------------------------------------------------+
    27 include( PREFIX_INCLUDE.'./include/functions_user.inc.php' );
    28 include( PREFIX_INCLUDE.'./include/functions_session.inc.php' );
    29 include( PREFIX_INCLUDE.'./include/functions_category.inc.php' );
    30 include( PREFIX_INCLUDE.'./include/functions_xml.inc.php' );
    31 include( PREFIX_INCLUDE.'./include/functions_group.inc.php' );
     27include( PHPWG_ROOT_PATH .'include/functions_user.inc.php' );
     28include( PHPWG_ROOT_PATH .'include/functions_session.inc.php' );
     29include( PHPWG_ROOT_PATH .'include/functions_category.inc.php' );
     30include( PHPWG_ROOT_PATH .'include/functions_xml.inc.php' );
     31include( PHPWG_ROOT_PATH .'include/functions_group.inc.php' );
    3232
    3333//----------------------------------------------------------- generic functions
  • trunk/include/functions_xml.inc.php

    r362 r375  
    2525// | USA.                                                                  |
    2626// +-----------------------------------------------------------------------+
     27// xml tags
     28define( 'ATT_REG', '\w+' );
     29define( 'VAL_REG', '[^"]*' );
     30
    2731//------------------------------------------------------------------- functions
    2832// getContent returns the content of a tag
  • trunk/include/page_tail.php

    r362 r375  
    3232
    3333$template->assign_vars(array(
    34         'L_GEN_TIME' => $lang['generation_time'],
    35         'S_TIME' =>  $time,
    36         'S_VERSION' => $conf['version'],
    37         'U_SITE' => add_session_id( $conf['site_url'] )
    38         )
    39         );
     34  'TIME' =>  $time,
     35  'VERSION' => $conf['version'],
     36  'WEBMASTER'=>$conf['webmaster'],
     37  'MAIL'=>$conf['mail_webmaster'],
     38 
     39  'L_GEN_TIME' => $lang['generation_time'],
     40  'L_SEND_MAIL' => $lang['send_mail'],
     41  'L_TITLE_MAIL' => $lang['title_send_mail'],
     42       
     43  'U_SITE' => add_session_id( $conf['site_url'] )
     44  ));
    4045       
    4146if (DEBUG)
  • trunk/include/user.inc.php

    r367 r375  
    130130$user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page'];
    131131init_userprefs($user);
    132 $user['lien_expanded']='./template/'.$user['template'].'/theme/expanded..gif';
     132$user['lien_expanded']='./template/'.$user['template'].'/theme/expanded.gif';
    133133$user['lien_collapsed']='./template/'.$user['template'].'/theme/collapsed.gif';
    134134?>
Note: See TracChangeset for help on using the changeset viewer.