source: branches/release-1_3/about.php @ 378

Last change on this file since 378 was 350, checked in by z0rglub, 21 years ago

append central HTML to $output, do not echo $code anymore

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1<?php
2/***************************************************************************
3 *                                about.php                                *
4 *                            ------------------                           *
5 *   application   : PhpWebGallery 1.3 <http://phpwebgallery.net>          *
6 *   author        : Pierrick LE GALL <pierrick@z0rglub.com>               *
7 *                                                                         *
8 *   $Id: about.php 350 2004-02-05 23:18:05Z z0rglub $
9 *                                                                         *
10 ***************************************************************************/
11
12/***************************************************************************
13 *                                                                         *
14 *   This program is free software; you can redistribute it and/or modify  *
15 *   it under the terms of the GNU General Public License as published by  *
16 *   the Free Software Foundation;                                         *
17 *                                                                         *
18 ***************************************************************************/
19
20//----------------------------------------------------------- personnal include
21include_once( './include/init.inc.php' );
22//----------------------------------------------------- template initialization
23//
24// Start output of page
25//
26$title= $lang['about_page_title'];
27include('include/page_header.php');
28
29$handle = $vtp->Open( './template/'.$user['template'].'/about.vtp' );
30initialize_template();
31
32$tpl = array('about_title','about_message','about_return');
33templatize_array( $tpl, 'lang', $handle );
34$vtp->setVar( $handle, 'user_template', $user['template'] );
35
36$url = './category.php?'.$_SERVER['QUERY_STRING'];
37$vtp->setVar( $handle, 'back_url', add_session_id( $url ) );
38//----------------------------------------------------------- html code display
39$output.= $vtp->Display( $handle, 0 );
40include('include/page_tail.php');
41?>
Note: See TracBrowser for help on using the repository browser.