themes/springy/toolbar.tpl
changeset 1 deac853bf428
parent 0 faec06138933
equal deleted inserted replaced
0:faec06138933 1:deac853bf428
     1 <!-- Stuff related to toolbars and clickable buttons.
     1 <!-- Stuff related to toolbars and clickable buttons.
     2      Used mostly in the page toolbar on most pages.
     2      The plan was to use this on the toolbar for most pages. Never made it into the release,
       
     3      but still provided as an otherwise-unused component for plugins to make use of.
     3      -->
     4      -->
     4 
     5 
     5 <!-- VAR toolbar_start -->
     6 <!-- VAR toolbar_start -->
     6   <div class="toolbar">
     7   <div class="toolbar">
     7   <ul>
     8   <ul>
     8 <!-- ENDVAR toolbar_start -->
     9 <!-- ENDVAR toolbar_start -->
     9 <!-- VAR toolbar_button -->
    10 <!-- VAR toolbar_button -->
    10   <li>
    11   <li>
    11     <a title="{TITLE}" {FLAGS}>
    12     <a title="{TITLE}" {FLAGS}>
    12       <img alt="{TITLE}" src="{IMAGE}" />
    13       <!-- IFSET SPRITE -->
       
    14         {SPRITE}
       
    15       <!-- BEGINELSE SPRITE -->
       
    16         <!-- IFSET IMAGE -->
       
    17           <!-- BEGINNOT no_image -->
       
    18             <img alt="{TITLE}" src="{IMAGE}" />
       
    19           <!-- END no_image -->
       
    20         <!-- END IMAGE -->
       
    21       <!-- END SPRITE -->
    13       <!-- BEGIN show_title -->
    22       <!-- BEGIN show_title -->
    14       <span>{TITLE}</span>
    23         <!-- BEGIN no_image -->
       
    24           <span class="noimage">{TITLE}</span>
       
    25         <!-- BEGINELSE no_image -->
       
    26           <span>{TITLE}</span>
       
    27         <!-- END no_image -->
    15       <!-- END show_title -->
    28       <!-- END show_title -->
    16     </a>
    29     </a>
    17   </li>
    30   </li>
    18 <!-- ENDVAR toolbar_button -->
    31 <!-- ENDVAR toolbar_button -->
    19 <!-- VAR toolbar_label -->
    32 <!-- VAR toolbar_label -->