Changeset 345 for trunk/about.php
- Timestamp:
- Feb 2, 2004, 1:55:18 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/about.php
r57 r345 18 18 ***************************************************************************/ 19 19 20 //----------------------------------------------------------- personnal include 21 include_once( './include/init.inc.php' ); 20 //----------------------------------------------------------- include 21 $phpwg_root_path = './'; 22 include_once( $phpwg_root_path.'common.php' ); 22 23 //----------------------------------------------------- template initialization 23 $vtp = new VTemplate; 24 // 25 // Start output of page 26 // 27 $title= $lang['about_page_title']; 28 include('include/page_header.php'); 29 24 30 $handle = $vtp->Open( './template/'.$user['template'].'/about.vtp' ); 25 31 initialize_template(); 26 32 27 $tpl = array('about_ page_title','about_title','about_message','about_return');33 $tpl = array('about_title','about_message','about_return'); 28 34 templatize_array( $tpl, 'lang', $handle ); 29 35 $vtp->setVar( $handle, 'user_template', $user['template'] ); … … 34 40 $code = $vtp->Display( $handle, 0 ); 35 41 echo $code; 42 include('include/page_tail.php'); 36 43 ?>
Note: See TracChangeset
for help on using the changeset viewer.