Ignore:
Timestamp:
Oct 11, 2008, 2:55:43 PM (16 years ago)
Author:
patdenice
Message:
  • Add known_template function (maybe we can change function name).
  • Template extensions are working with menubar blocks templates.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/extend_for_templates.php

    r2588 r2712  
    7474/* Link all supported templates to their respective handle */
    7575$eligible_templates = array(
    76     '----------'              => 'N/A',
    77     'about.tpl'               => 'about',
    78     'identification.tpl'      => 'identification',
    79     'mainpage_categories.tpl' => 'index_category_thumbnails',
    80     'thumbnails.tpl'          => 'index_thumbnails',
    81     'redirect.tpl'            => 'redirect',
    82  // 'menubar.tpl'             => 'menubar', // TODO by blocks
    83     'header.tpl'              => 'header',
    84     'footer.tpl'              => 'tail',
    85     'index.tpl'               => 'index',
    86     'nbm.tpl'                 => 'nbm',
    87     'notification.tpl'        => 'notification',
    88     'picture_content.tpl'     => 'default_content',
    89     'picture.tpl'             => 'picture',
    90     'popuphelp.tpl'           => 'popuphelp',
    91     'profile.tpl'             => 'profile',
    92     'profile_content.tpl'     => 'profile_content',
    93     'register.tpl'            => 'register',
    94     'search.tpl'              => 'search',
    95     'search_rules.tpl'        => 'search_rules',
    96     'slideshow.tpl'           => 'slideshow',
    97     'tags.tpl'                => 'tags',
    98     'upload.tpl'              => 'upload',);
     76    '----------'                 => 'N/A',
     77    'about.tpl'                  => 'about',
     78    'identification.tpl'         => 'identification',
     79    'mainpage_categories.tpl'    => 'index_category_thumbnails',
     80    'thumbnails.tpl'             => 'index_thumbnails',
     81    'redirect.tpl'               => 'redirect',
     82    'menubar.tpl'                => 'menubar',
     83    'menubar_categories.tpl'     => 'mbCategories',
     84    'menubar_identification.tpl' => 'mbIdentification',
     85    'menubar_links.tpl'          => 'mbLinks',
     86    'menubar_menu.tpl'           => 'mbMenu',
     87    'menubar_specials.tpl'       => 'mbSpecials',
     88    'menubar_tags.tpl'           => 'mbTags',
     89    'header.tpl'                 => 'header',
     90    'footer.tpl'                 => 'tail',
     91    'index.tpl'                  => 'index',
     92    'nbm.tpl'                    => 'nbm',
     93    'notification.tpl'           => 'notification',
     94    'picture_content.tpl'        => 'default_content',
     95    'picture.tpl'                => 'picture',
     96    'popuphelp.tpl'              => 'popuphelp',
     97    'profile.tpl'                => 'profile',
     98    'profile_content.tpl'        => 'profile_content',
     99    'register.tpl'               => 'register',
     100    'search.tpl'                 => 'search',
     101    'search_rules.tpl'           => 'search_rules',
     102    'slideshow.tpl'              => 'slideshow',
     103    'tags.tpl'                   => 'tags',
     104    'upload.tpl'                 => 'upload',);
    99105  $flip_templates = array_flip($eligible_templates);
    100106// +-----------------------------------------------------------------------+
Note: See TracChangeset for help on using the changeset viewer.