source: trunk/about.php @ 345

Revision 345, 2.0 KB checked in by gweltas, 15 years ago (diff)

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
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$
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//----------------------------------------------------------- include
21$phpwg_root_path = './';
22include_once( $phpwg_root_path.'common.php' );
23//----------------------------------------------------- template initialization
24//
25// Start output of page
26//
27$title= $lang['about_page_title'];
28include('include/page_header.php');
29
30$handle = $vtp->Open( './template/'.$user['template'].'/about.vtp' );
31initialize_template();
32
33$tpl = array('about_title','about_message','about_return');
34templatize_array( $tpl, 'lang', $handle );
35$vtp->setVar( $handle, 'user_template', $user['template'] );
36
37$url = './category.php?'.$_SERVER['QUERY_STRING'];
38$vtp->setVar( $handle, 'back_url', add_session_id( $url ) );
39//----------------------------------------------------------- html code display
40$code = $vtp->Display( $handle, 0 );
41echo $code;
42include('include/page_tail.php');
43?>
Note: See TracBrowser for help on using the repository browser.