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-2008 PhpWebGallery Team - http://phpwebgallery.net | |
---|
6 | // +-----------------------------------------------------------------------+ |
---|
7 | // | file : $Id: functions_waiting.inc.php 2275 2008-03-11 02:24:59Z rvelices $ |
---|
8 | // | last update : $Date: 2008-03-11 02:24:59 +0000 (Tue, 11 Mar 2008) $ |
---|
9 | // | last modifier : $Author: rvelices $ |
---|
10 | // | revision : $Revision: 2275 $ |
---|
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/tabsheet.class.php'); |
---|
28 | |
---|
29 | function waiting_tabsheet() |
---|
30 | { |
---|
31 | global $page, $link_start; |
---|
32 | |
---|
33 | // TabSheet |
---|
34 | $tabsheet = new tabsheet(); |
---|
35 | // TabSheet initialization |
---|
36 | $tabsheet->add('comments', l10n('comments'), $link_start.'comments'); |
---|
37 | $tabsheet->add('upload', l10n('Pictures'), $link_start.'upload'); |
---|
38 | // TabSheet selection |
---|
39 | $tabsheet->select($page['page']); |
---|
40 | // Assign tabsheet to template |
---|
41 | $tabsheet->assign(); |
---|
42 | } |
---|
43 | |
---|
44 | ?> |
---|