aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/extend_for_templates.php52
1 files changed, 29 insertions, 23 deletions
diff --git a/admin/extend_for_templates.php b/admin/extend_for_templates.php
index 294d600af..30b21f277 100644
--- a/admin/extend_for_templates.php
+++ b/admin/extend_for_templates.php
@@ -73,29 +73,35 @@ $relevant_parameters = array_merge($relevant_parameters, $permalinks);
/* Link all supported templates to their respective handle */
$eligible_templates = array(
- '----------' => 'N/A',
- 'about.tpl' => 'about',
- 'identification.tpl' => 'identification',
- 'mainpage_categories.tpl' => 'index_category_thumbnails',
- 'thumbnails.tpl' => 'index_thumbnails',
- 'redirect.tpl' => 'redirect',
- // 'menubar.tpl' => 'menubar', // TODO by blocks
- 'header.tpl' => 'header',
- 'footer.tpl' => 'tail',
- 'index.tpl' => 'index',
- 'nbm.tpl' => 'nbm',
- 'notification.tpl' => 'notification',
- 'picture_content.tpl' => 'default_content',
- 'picture.tpl' => 'picture',
- 'popuphelp.tpl' => 'popuphelp',
- 'profile.tpl' => 'profile',
- 'profile_content.tpl' => 'profile_content',
- 'register.tpl' => 'register',
- 'search.tpl' => 'search',
- 'search_rules.tpl' => 'search_rules',
- 'slideshow.tpl' => 'slideshow',
- 'tags.tpl' => 'tags',
- 'upload.tpl' => 'upload',);
+ '----------' => 'N/A',
+ 'about.tpl' => 'about',
+ 'identification.tpl' => 'identification',
+ 'mainpage_categories.tpl' => 'index_category_thumbnails',
+ 'thumbnails.tpl' => 'index_thumbnails',
+ 'redirect.tpl' => 'redirect',
+ 'menubar.tpl' => 'menubar',
+ 'menubar_categories.tpl' => 'mbCategories',
+ 'menubar_identification.tpl' => 'mbIdentification',
+ 'menubar_links.tpl' => 'mbLinks',
+ 'menubar_menu.tpl' => 'mbMenu',
+ 'menubar_specials.tpl' => 'mbSpecials',
+ 'menubar_tags.tpl' => 'mbTags',
+ 'header.tpl' => 'header',
+ 'footer.tpl' => 'tail',
+ 'index.tpl' => 'index',
+ 'nbm.tpl' => 'nbm',
+ 'notification.tpl' => 'notification',
+ 'picture_content.tpl' => 'default_content',
+ 'picture.tpl' => 'picture',
+ 'popuphelp.tpl' => 'popuphelp',
+ 'profile.tpl' => 'profile',
+ 'profile_content.tpl' => 'profile_content',
+ 'register.tpl' => 'register',
+ 'search.tpl' => 'search',
+ 'search_rules.tpl' => 'search_rules',
+ 'slideshow.tpl' => 'slideshow',
+ 'tags.tpl' => 'tags',
+ 'upload.tpl' => 'upload',);
$flip_templates = array_flip($eligible_templates);
// +-----------------------------------------------------------------------+
// | selected templates |