Changeset 2226 for trunk/admin/include/functions_waiting.inc.php
- Timestamp:
- Feb 29, 2008, 12:41:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_waiting.inc.php
r1915 r2226 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 7PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | file : $Id$ … … 25 25 // +-----------------------------------------------------------------------+ 26 26 27 include_once(PHPWG_ROOT_PATH.'admin/include/ functions_tabsheet.inc.php');27 include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); 28 28 29 29 function waiting_tabsheet() … … 31 31 global $page, $link_start; 32 32 33 // TabSheet 34 $tabsheet = new tabsheet(); 33 35 // TabSheet initialization 34 $page['tabsheet'] = array 35 ( 36 'comments' => array 37 ( 38 'caption' => l10n('comments'), 39 'url' => $link_start.'comments' 40 ), 41 'upload' => array 42 ( 43 'caption' => l10n('upload_pictures'), 44 'url' => $link_start.'upload' 45 ) 46 ); 47 48 $page['tabsheet'][$page['page']]['selected'] = true; 49 36 $tabsheet->add('comments', l10n('comments'), $link_start.'comments'); 37 $tabsheet->add('upload', l10n('upload_pictures'), $link_start.'upload'); 38 // TabSheet selection 39 $tabsheet->select($page['page']); 50 40 // Assign tabsheet to template 51 template_assign_tabsheet();41 $tabsheet->assign(); 52 42 } 53 43
Note: See TracChangeset
for help on using the changeset viewer.