themes/stpatty/sidebar-editor.tpl
author Dan
Fri, 05 Oct 2007 01:57:00 -0400
changeset 162 e1a22031b5bd
parent 0 902822492a68
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.

<!-- VAR sidebar_button --><li><a href="javascript:void(0)" {FLAGS}>{TEXT}</a></li>
<!-- ENDVAR sidebar_button -->
<!-- VAR sidebar_raw --><li><span style="text-align: center;">{HTML}</span></li>
<!-- ENDVAR sidebar_raw -->
<!-- VAR sidebar_top -->
          <div class="recttop">
            <table border="0" width="100%" cellspacing="0" cellpadding="0" style="font-size: 1px;">
              <tr>
                <td style="margin: 0; padding: 0; height: 12px;"> <img alt=" " src="{SCRIPTPATH}/themes/oxygen/images/{STYLE_ID}/border-menu-l.gif" width="12" height="12" /> </td>
                <td style="margin: 0; padding: 0; height: 12px;" class="recttoptop"></td>
                <td style="margin: 0; padding: 0; height: 12px;"> <img alt=" " src="{SCRIPTPATH}/themes/oxygen/images/{STYLE_ID}/border-menu-r.gif" width="12" height="12" /> </td>
              </tr>
            </table>
          </div>
<!-- ENDVAR sidebar_top -->
<!-- VAR sidebar_section -->
          <div class="dbx-box">
            <div class="dbx-handle">
              {ADMIN_START}
              
              {TITLE}
              {ADMIN_END}
              
            </div>
            <div class="dbx-content">
              <ul>
                {CONTENT}
              </ul>
            </div>
          </div>
<!-- ENDVAR sidebar_section -->
<!-- VAR sidebar_section_raw -->
          <div class="dbx-box">
            <div class="dbx-handle">
              {ADMIN_START}
              
              {TITLE}
              {ADMIN_END}
              
            </div>
            <div class="dbx-content dbx-content2">
              <ul><li>
                {CONTENT}
              </li></ul>
            </div>
          </div>
<!-- ENDVAR sidebar_section_raw -->
<!-- VAR sidebar_bottom -->
          <div class="rectbot">
            <table border="0" width="100%" cellspacing="0" cellpadding="0" style="font-size: 1px;">
              <tr>
                <td style="margin: 0; padding: 0; height: 12px;"> <img alt=" " src="{SCRIPTPATH}/themes/oxygen/images/{STYLE_ID}/border-bl.gif" width="12" height="12" /> </td>
                <td style="margin: 0; padding: 0; height: 12px;" class="rectbottop"></td>
                <td style="margin: 0; padding: 0; height: 12px;"> <img alt=" " src="{SCRIPTPATH}/themes/oxygen/images/{STYLE_ID}/border-br.gif" width="12" height="12" /> </td>
              </tr>
            </table>
          </div>
<!-- ENDVAR sidebar_bottom -->