Changeset 16926 for branches/2.4/admin/include
- Timestamp:
- Jul 23, 2012, 12:06:27 PM (12 years ago)
- Location:
- branches/2.4/admin/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/admin/include/albums_tab.inc.php
r13282 r16926 27 27 28 28 $tabsheet = new tabsheet(); 29 $tabsheet->set_id('cat_list'); 29 30 $tabsheet->add('list', l10n('List'), $my_base_url.'cat_list'); 30 31 $tabsheet->add('move', l10n('Move'), $my_base_url.'cat_move'); -
branches/2.4/admin/include/functions_history.inc.php
r14688 r16926 30 30 // TabSheet 31 31 $tabsheet = new tabsheet(); 32 $tabsheet->set_id('history'); 32 33 // TabSheet initialization 33 34 $tabsheet->add('stats', l10n('Statistics'), $link_start.'stats'); -
branches/2.4/admin/include/tabsheet.class.php
r12922 r16926 25 25 { 26 26 var $sheets; 27 var $uniqid; 27 28 var $name; 28 29 var $titlename; … … 36 37 { 37 38 $this->sheets = array(); 39 $this->uniqid = null; 38 40 $this->name = $name; 39 41 $this->titlename = $titlename; 40 42 $this->selected = ""; 43 } 44 45 function set_id($id) 46 { 47 $this->uniqid = $id; 41 48 } 42 49 … … 82 89 function select($name) 83 90 { 91 $this->sheets = trigger_event('tabsheet_before_select', $this->sheets, $this->uniqid); 84 92 $this->selected = $name; 85 93 }
Note: See TracChangeset
for help on using the changeset viewer.