1 | <?php |
---|
2 | // +-----------------------------------------------------------------------+ |
---|
3 | // | PhpWebGallery - a PHP based picture gallery | |
---|
4 | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | |
---|
5 | // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | |
---|
6 | // +-----------------------------------------------------------------------+ |
---|
7 | // | file : $Id: functions_history.inc.php 1874 2007-03-06 02:07:15Z rub $ |
---|
8 | // | last update : $Date: 2007-03-06 03:07:15 +0100 (mar., 06 mars 2007) $ |
---|
9 | // | last modifier : $Author: rub $ |
---|
10 | // | revision : $Revision: 1874 $ |
---|
11 | // +-----------------------------------------------------------------------+ |
---|
12 | // | This program is free software; you can redistribute it and/or modify | |
---|
13 | // | it under the terms of the GNU General Public License as published by | |
---|
14 | // | the Free Software Foundation | |
---|
15 | // | | |
---|
16 | // | This program is distributed in the hope that it will be useful, but | |
---|
17 | // | WITHOUT ANY WARRANTY; without even the implied warranty of | |
---|
18 | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
---|
19 | // | General Public License for more details. | |
---|
20 | // | | |
---|
21 | // | You should have received a copy of the GNU General Public License | |
---|
22 | // | along with this program; if not, write to the Free Software | |
---|
23 | // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | |
---|
24 | // | USA. | |
---|
25 | // +-----------------------------------------------------------------------+ |
---|
26 | |
---|
27 | include_once(PHPWG_ROOT_PATH.'admin/include/functions_tabsheet.inc.php'); |
---|
28 | |
---|
29 | function history_tabsheet() |
---|
30 | { |
---|
31 | global $page, $link_start; |
---|
32 | |
---|
33 | // TabSheet initialization |
---|
34 | $page['tabsheet'] = array |
---|
35 | ( |
---|
36 | 'stats' => array |
---|
37 | ( |
---|
38 | 'caption' => l10n('Statistics'), |
---|
39 | 'url' => $link_start.'stats' |
---|
40 | ), |
---|
41 | 'history' => array |
---|
42 | ( |
---|
43 | 'caption' => l10n('Search'), |
---|
44 | 'url' => $link_start.'history' |
---|
45 | ) |
---|
46 | ); |
---|
47 | |
---|
48 | $page['tabsheet'][$page['page']]['selected'] = true; |
---|
49 | |
---|
50 | // Assign tabsheet to template |
---|
51 | template_assign_tabsheet(); |
---|
52 | } |
---|
53 | |
---|
54 | ?> |
---|