themes/enanium/toolbar.tpl
author Dan
Wed, 29 Jul 2009 10:48:43 -0400
changeset 1060 d3e12f1f9f29
parent 921 a71de5e21423
child 1227 bdac73ed481e
permissions -rw-r--r--
Added method add_header_js() to template to allow insertion of code to be run immediately after JS init
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
921
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     1
<!-- Stuff related to toolbars and clickable buttons.
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     2
     The plan was to use this on the toolbar for most pages. Never made it into the release,
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     3
     but still provided as an otherwise-unused component for plugins to make use of.
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     4
     -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     5
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     6
<!-- VAR toolbar_start -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     7
  <div class="toolbar">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     8
  <ul>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     9
<!-- ENDVAR toolbar_start -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    10
<!-- VAR toolbar_button -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    11
  <li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    12
    <a title="{TITLE}" {FLAGS}>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    13
      <!-- IFSET SPRITE -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    14
        {SPRITE}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    15
      <!-- BEGINELSE SPRITE -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    16
        <!-- IFSET IMAGE -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    17
          <!-- BEGINNOT no_image -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    18
            <img alt="{TITLE}" src="{IMAGE}" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    19
          <!-- END no_image -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    20
        <!-- END IMAGE -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    21
      <!-- END SPRITE -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    22
      <!-- BEGIN show_title -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    23
        <!-- BEGIN no_image -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    24
          <span class="noimage">{TITLE}</span>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    25
        <!-- BEGINELSE no_image -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    26
          <span>{TITLE}</span>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    27
        <!-- END no_image -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    28
      <!-- END show_title -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    29
    </a>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    30
  </li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    31
<!-- ENDVAR toolbar_button -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    32
<!-- VAR toolbar_label -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    33
  <li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    34
    <span>{TITLE}</span>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    35
  </li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    36
<!-- ENDVAR toolbar_label -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    37
<!-- VAR toolbar_end -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    38
  </ul>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    39
  </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    40
<!-- ENDVAR toolbar_end -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    41
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    42
<!-- VAR toolbar_vert_start -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    43
  <div class="toolbar_vert">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    44
  <ul>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    45
<!-- ENDVAR toolbar_vert_start -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    46
<!-- VAR toolbar_vert_button -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    47
  <li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    48
    <a title="{TITLE}" {FLAGS}>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    49
      <img alt="{TITLE}" src="{IMAGE}" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    50
      <span>{TITLE}</span>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    51
    </a>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    52
  </li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    53
<!-- ENDVAR toolbar_vert_button -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    54
<!-- VAR toolbar_vert_label -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    55
  <li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    56
    <span>{TITLE}</span>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    57
  </li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    58
<!-- ENDVAR toolbar_vert_label -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    59
<!-- VAR toolbar_vert_end -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    60
  </ul>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    61
  </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    62
<!-- ENDVAR toolbar_vert_end -->