themes/printable/toolbar.tpl
author Dan
Fri, 05 Oct 2007 01:57:00 -0400
changeset 162 e1a22031b5bd
parent 0 902822492a68
child 1227 bdac73ed481e
permissions -rw-r--r--
Major revamps to the template parser. Fixed a few security holes that could allow PHP to be injected in untimely places in TPL code. Improved Ux for XSS attempt in tplWikiFormat. Documented many functions. Backported much cleaner parser from 2.0 branch. Beautified a lot of code in the depths of the template class. Pretty much a small-scale Extreme Makeover.

<!-- Stuff related to toolbars and clickable buttons.
     Used mostly in the page toolbar on most pages.
     -->

<!-- VAR toolbar_start -->
  <div class="toolbar">
  <ul>
<!-- ENDVAR toolbar_start -->
<!-- VAR toolbar_button -->
  <li>
    <a title="{TITLE}" {FLAGS}>
      <img alt="{TITLE}" src="{IMAGE}" />
      <!-- BEGIN show_title -->
      <span>{TITLE}</span>
      <!-- END show_title -->
    </a>
  </li>
<!-- ENDVAR toolbar_button -->
<!-- VAR toolbar_label -->
  <li>
    <span>{TITLE}</span>
  </li>
<!-- ENDVAR toolbar_label -->
<!-- VAR toolbar_end -->
  </ul>
  </div>
<!-- ENDVAR toolbar_end -->

<!-- VAR toolbar_vert_start -->
  <div class="toolbar_vert">
  <ul>
<!-- ENDVAR toolbar_vert_start -->
<!-- VAR toolbar_vert_button -->
  <li>
    <a title="{TITLE}" {FLAGS}>
      <img alt="{TITLE}" src="{IMAGE}" />
      <span>{TITLE}</span>
    </a>
  </li>
<!-- ENDVAR toolbar_vert_button -->
<!-- VAR toolbar_vert_label -->
  <li>
    <span>{TITLE}</span>
  </li>
<!-- ENDVAR toolbar_vert_label -->
<!-- VAR toolbar_vert_end -->
  </ul>
  </div>
<!-- ENDVAR toolbar_vert_end -->