Changeset 345 for trunk/about.php


Ignore:
Timestamp:
Feb 2, 2004, 1:55:18 AM (20 years ago)
Author:
gweltas
Message:

Merge of the 1.3.1 release
Creation of an unique include file (common.php)
Creation of an unique define file (include/constants.php)
Modification of the installation procedure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/about.php

    r57 r345  
    1818 ***************************************************************************/
    1919
    20 //----------------------------------------------------------- personnal include
    21 include_once( './include/init.inc.php' );
     20//----------------------------------------------------------- include
     21$phpwg_root_path = './';
     22include_once( $phpwg_root_path.'common.php' );
    2223//----------------------------------------------------- template initialization
    23 $vtp = new VTemplate;
     24//
     25// Start output of page
     26//
     27$title= $lang['about_page_title'];
     28include('include/page_header.php');
     29
    2430$handle = $vtp->Open( './template/'.$user['template'].'/about.vtp' );
    2531initialize_template();
    2632
    27 $tpl = array('about_page_title','about_title','about_message','about_return');
     33$tpl = array('about_title','about_message','about_return');
    2834templatize_array( $tpl, 'lang', $handle );
    2935$vtp->setVar( $handle, 'user_template', $user['template'] );
     
    3440$code = $vtp->Display( $handle, 0 );
    3541echo $code;
     42include('include/page_tail.php');
    3643?>
Note: See TracChangeset for help on using the changeset viewer.