source: extensions/Stereo/help.php @ 5826

Last change on this file since 5826 was 5556, checked in by pbra, 15 years ago

Stereo Plugin : v2.0.b added admin menu better help button placement ...

File size: 2.7 KB
Line 
1<?php 
2// +-----------------------------------------------------------------------+
3// | Stereo - a Piwigo Plugin                                              |
4// +-----------------------------------------------------------------------+
5// | Copyright(C) 2010 philippe Brangier                                   |
6// +-----------------------------------------------------------------------+
7// | This program is free software; you can redistribute it and/or modify  |
8// | it under the terms of the GNU General Public License as published by  |
9// | the Free Software Foundation                                          |
10// |                                                                       |
11// | This program is distributed in the hope that it will be useful, but   |
12// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
13// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
14// | General Public License for more details.                              |
15// |                                                                       |
16// | You should have received a copy of the GNU General Public License     |
17// | along with this program; if not, write to the Free Software           |
18// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
19// | USA.                                                                  |
20// +-----------------------------------------------------------------------+
21
22//----------------------------------------------------------- include
23define('PHPWG_ROOT_PATH','../../');
24include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
25// +-----------------------------------------------------------------------+
26// | Check Access and exit when user status is not ok                      |
27// +-----------------------------------------------------------------------+
28check_status(ACCESS_GUEST);
29
30//----------------------------------------------------- template initialization
31//
32// Start output of page
33//
34load_language('plugin.lang', dirname(__FILE__).'/');
35$title= l10n('stereo_help_page_title');
36$page['body_id'] = 'theStereoHelpPage';
37include(PHPWG_ROOT_PATH.'include/page_header.php');
38@include(PHPWG_ROOT_PATH.'template/'.$user['template'].
39  '/theme/'.$user['theme'].'/themeconf.inc.php');
40//load_language('plugin.lang', dirname(__FILE__).'/');
41
42$template->set_filenames(
43        array(
44                'help'=> dirname(__FILE__) . '/help.tpl',
45    )
46);
47
48$template->assign('HELP_MESSAGE', load_language('help.html', dirname(__FILE__).'/', array('return'=>true)) );
49$template->assign( 
50        array(
51                'STEREO_PATH' => STEREO_PATH, 
52                'PHPWG_ROOT_PATH' => PHPWG_ROOT_PATH,
53    )
54);
55$template->pparse('help');
56include(PHPWG_ROOT_PATH.'include/page_tail.php');
57?>
Note: See TracBrowser for help on using the repository browser.