themes/enanium/toolbar.tpl
changeset 921 a71de5e21423
child 1227 bdac73ed481e
equal deleted inserted replaced
920:4babf8545826 921:a71de5e21423
       
     1 <!-- Stuff related to toolbars and clickable buttons.
       
     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.
       
     4      -->
       
     5 
       
     6 <!-- VAR toolbar_start -->
       
     7   <div class="toolbar">
       
     8   <ul>
       
     9 <!-- ENDVAR toolbar_start -->
       
    10 <!-- VAR toolbar_button -->
       
    11   <li>
       
    12     <a title="{TITLE}" {FLAGS}>
       
    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 -->
       
    22       <!-- BEGIN show_title -->
       
    23         <!-- BEGIN no_image -->
       
    24           <span class="noimage">{TITLE}</span>
       
    25         <!-- BEGINELSE no_image -->
       
    26           <span>{TITLE}</span>
       
    27         <!-- END no_image -->
       
    28       <!-- END show_title -->
       
    29     </a>
       
    30   </li>
       
    31 <!-- ENDVAR toolbar_button -->
       
    32 <!-- VAR toolbar_label -->
       
    33   <li>
       
    34     <span>{TITLE}</span>
       
    35   </li>
       
    36 <!-- ENDVAR toolbar_label -->
       
    37 <!-- VAR toolbar_end -->
       
    38   </ul>
       
    39   </div>
       
    40 <!-- ENDVAR toolbar_end -->
       
    41 
       
    42 <!-- VAR toolbar_vert_start -->
       
    43   <div class="toolbar_vert">
       
    44   <ul>
       
    45 <!-- ENDVAR toolbar_vert_start -->
       
    46 <!-- VAR toolbar_vert_button -->
       
    47   <li>
       
    48     <a title="{TITLE}" {FLAGS}>
       
    49       <img alt="{TITLE}" src="{IMAGE}" />
       
    50       <span>{TITLE}</span>
       
    51     </a>
       
    52   </li>
       
    53 <!-- ENDVAR toolbar_vert_button -->
       
    54 <!-- VAR toolbar_vert_label -->
       
    55   <li>
       
    56     <span>{TITLE}</span>
       
    57   </li>
       
    58 <!-- ENDVAR toolbar_vert_label -->
       
    59 <!-- VAR toolbar_vert_end -->
       
    60   </ul>
       
    61   </div>
       
    62 <!-- ENDVAR toolbar_vert_end -->