Changeset 3182


Ignore:
Timestamp:
Mar 7, 2009, 10:34:55 PM (15 years ago)
Author:
patdenice
Message:

Re-order templates extension alphabetically.
Allow to use template extension for navigation bar.

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/extend_for_templates.php

    r3049 r3182  
    7676    '----------'                 => 'N/A',
    7777    'about.tpl'                  => 'about',
     78    'footer.tpl'                 => 'tail',
     79    'header.tpl'                 => 'header',
    7880    'identification.tpl'         => 'identification',
     81    'index.tpl'                  => 'index',
    7982    'mainpage_categories.tpl'    => 'index_category_thumbnails',
    80     'thumbnails.tpl'             => 'index_thumbnails',
    81     'redirect.tpl'               => 'redirect',
    8283    'menubar.tpl'                => 'menubar',
    8384    'menubar_categories.tpl'     => 'mbCategories',
     
    8788    'menubar_specials.tpl'       => 'mbSpecials',
    8889    'menubar_tags.tpl'           => 'mbTags',
    89     'header.tpl'                 => 'header',
    90     'footer.tpl'                 => 'tail',
    91     'index.tpl'                  => 'index',
     90    'navigation_bar.tpl'         => 'navbar',
    9291    'nbm.tpl'                    => 'nbm',
    9392    'notification.tpl'           => 'notification',
     93    'picture.tpl'                => 'picture',
    9494    'picture_content.tpl'        => 'default_content',
    95     'picture.tpl'                => 'picture',
    9695    'popuphelp.tpl'              => 'popuphelp',
    9796    'profile.tpl'                => 'profile',
    9897    'profile_content.tpl'        => 'profile_content',
     98    'redirect.tpl'               => 'redirect',
    9999    'register.tpl'               => 'register',
    100100    'search.tpl'                 => 'search',
     
    102102    'slideshow.tpl'              => 'slideshow',
    103103    'tags.tpl'                   => 'tags',
     104    'thumbnails.tpl'             => 'index_thumbnails',
    104105    'upload.tpl'                 => 'upload',);
    105106
  • trunk/admin/template/goto/element_set_global.tpl

    r3172 r3182  
    3838    <legend>{'Elements'|@translate}</legend>
    3939
    40     {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     40    {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    4141
    4242  {if !empty($thumbnails)}
  • trunk/admin/template/goto/element_set_unit.tpl

    r3172 r3182  
    2525</fieldset>
    2626
    27 {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     27{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    2828
    2929{if !empty($elements) }
  • trunk/admin/template/goto/history.tpl

    r3172 r3182  
    103103{/if}
    104104
    105 {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     105{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    106106
    107107<table class="table2" id="detailedStats">
     
    134134</table>
    135135
    136 {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     136{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
  • trunk/admin/template/goto/rating.tpl

    r3172 r3182  
    3333</form>
    3434
    35 {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     35{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    3636
    3737<table width="99%">
     
    6666</table>
    6767
    68 {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     68{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
  • trunk/admin/template/goto/user_list.tpl

    r3172 r3182  
    9292</table>
    9393
    94 {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     94{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    9595
    9696{* delete the selected users ? *}
  • trunk/plugins/LocalFilesEditor/admin.php

    r3133 r3182  
    186186      $eligible_templates = array(
    187187          'about.tpl',
     188          'footer.tpl',
     189          'header.tpl',
    188190          'identification.tpl',
     191          'index.tpl',
    189192          'mainpage_categories.tpl',
    190           'thumbnails.tpl',
    191           'redirect.tpl',
    192193          'menubar.tpl',
    193194          'menubar_categories.tpl',
     
    197198          'menubar_specials.tpl',
    198199          'menubar_tags.tpl',
    199           'header.tpl',
    200           'footer.tpl',
    201           'index.tpl',
     200          'navigation_bar.tpl',
    202201          'nbm.tpl',
    203202          'notification.tpl',
     203          'picture.tpl',
    204204          'picture_content.tpl',
    205           'picture.tpl',
    206205          'popuphelp.tpl',
    207206          'profile.tpl',
    208207          'profile_content.tpl',
     208          'redirect.tpl',
    209209          'register.tpl',
    210210          'search.tpl',
     
    212212          'slideshow.tpl',
    213213          'tags.tpl',
     214          'thumbnails.tpl',
    214215          'upload.tpl');
    215216
  • trunk/template/yoga/comments.tpl

    r3172 r3182  
    6666</form>
    6767
    68 {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     68{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    6969
    7070{if isset($comments)}
  • trunk/template/yoga/index.tpl

    r3172 r3182  
    104104{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
    105105
    106 {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     106{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    107107
    108108{if !empty($CONTENT_DESCRIPTION) }
  • trunk/template/yoga/picture.tpl

    r3172 r3182  
    256256                <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
    257257  {/if}
    258   {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if}
     258  {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    259259
    260260        {if isset($comments)}
Note: See TracChangeset for help on using the changeset viewer.