diff options
author | patdenice <patdenice@piwigo.org> | 2008-10-11 12:55:43 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2008-10-11 12:55:43 +0000 |
commit | 4fbe0ef6669e1df16b1c4a65b2cb10abada4070e (patch) | |
tree | 1b721725eb00699461e636c4edd4b0c3761600ed /admin/extend_for_templates.php | |
parent | 9d88e93a99a9e291b5eb4e7b5d768770f662a19e (diff) |
- Add known_template function (maybe we can change function name).
- Template extensions are working with menubar blocks templates.
git-svn-id: http://piwigo.org/svn/trunk@2712 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/extend_for_templates.php | 52 |
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 | |