Changeset 28714 for trunk/admin/include/add_core_tabs.inc.php
- Timestamp:
- Jun 18, 2014, 9:51:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/add_core_tabs.inc.php
r26461 r28714 22 22 // +-----------------------------------------------------------------------+ 23 23 24 add_event_handler('tabsheet_before_select', 'add_core_tabs', 0 , 2);24 add_event_handler('tabsheet_before_select', 'add_core_tabs', 0); 25 25 26 26 function add_core_tabs($sheets, $tab_id) … … 35 35 $sheets['notification'] = array('caption' => '<span class="icon-mail-alt"></span>'.l10n('Notification'), 'url' => $admin_album_base_url.'-notification'); 36 36 break; 37 37 38 38 case 'albums': 39 39 global $my_base_url; … … 42 42 $sheets['permalinks'] = array('caption' => '<span class="icon-link"></span>'.l10n('Permalinks'), 'url' => $my_base_url.'permalinks'); 43 43 break; 44 44 45 45 case 'batch_manager': 46 46 global $manager_link; … … 48 48 $sheets['unit'] = array('caption' => l10n('unit mode'), 'url' => $manager_link.'unit'); 49 49 break; 50 50 51 51 case 'cat_options': 52 52 global $link_start, $conf; … … 58 58 $sheets['representative'] = array('caption' => l10n('Representative'), 'url' => $link_start.'cat_options&section=representative'); 59 59 break; 60 60 61 61 case 'comments': 62 62 $sheets[''] = array('caption' => l10n('User comments'), 'url' => ''); … … 80 80 $sheets['default'] = array('caption' => l10n('Guest Settings'), 'url' => $conf_link.'default'); 81 81 break; 82 82 83 83 case 'help': 84 84 global $help_link; … … 89 89 $sheets['misc'] = array('caption' => l10n('Miscellaneous'), 'url' => $help_link.'misc'); 90 90 break; 91 91 92 92 case 'history': 93 93 global $link_start; … … 95 95 $sheets['history'] = array('caption' => '<span class="icon-search"></span>'.l10n('Search'), 'url' => $link_start.'history'); 96 96 break; 97 97 98 98 case 'languages': 99 99 global $my_base_url; … … 102 102 $sheets['new'] = array('caption' => '<span class="icon-plus-circled"></span>'.l10n('Add New Language'), 'url' => $my_base_url.'&tab=new'); 103 103 break; 104 104 105 105 case 'nbm': 106 106 global $base_url; … … 109 109 $sheets['send'] = array('caption' => l10n('Send'), 'url' => $base_url.'?page=notification_by_mail&mode=send'); 110 110 break; 111 111 112 112 case 'photo': 113 113 global $admin_photo_base_url; … … 115 115 $sheets['coi'] = array('caption' => '<span class="icon-crop"></span>'.l10n('Center of interest'), 'url' => $admin_photo_base_url.'-coi'); 116 116 break; 117 117 118 118 case 'photos_add': 119 119 global $conf; … … 123 123 $sheets['ftp'] = array('caption' => '<span class="icon-exchange"></span>'.l10n('FTP + Synchronization'), 'url' => PHOTOS_ADD_BASE_URL.'&section=ftp'); 124 124 break; 125 125 126 126 case 'plugins': 127 127 global $my_base_url; … … 130 130 $sheets['new'] = array('caption' => '<span class="icon-plus-circled"></span>'.l10n('Other plugins'), 'url' => $my_base_url.'&tab=new'); 131 131 break; 132 132 133 133 case 'rating': 134 134 $sheets['rating'] = array('caption' => l10n('Photos'), 'url' => get_root_url().'admin.php?page=rating'); 135 135 $sheets['rating_user'] = array('caption' => l10n('Users'), 'url' => get_root_url().'admin.php?page=rating_user'); 136 136 break; 137 137 138 138 case 'themes': 139 139 global $my_base_url; … … 142 142 $sheets['new'] = array('caption' => '<span class="icon-plus-circled"></span>'.l10n('Add New Theme'), 'url' => $my_base_url.'&tab=new'); 143 143 break; 144 144 145 145 case 'updates': 146 146 global $my_base_url; … … 149 149 break; 150 150 } 151 151 152 152 return $sheets; 153 153 }
Note: See TracChangeset
for help on using the changeset viewer.