Ignore:
Timestamp:
Oct 2, 2008, 8:39:35 PM (16 years ago)
Author:
vdigital
Message:

Random picture had double border with <p> Caption </p>.
Random caption is limited to 127 characters above and 255 below.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/AMenuManager/menu_templates/menubar_randompic.tpl

    r2488 r2638  
    55  <div class="illustration" style="text-align:center;padding:5px;font-size:85%;">
    66    {if $block->data.IMGNAME!="" and $block->data.SHOWNAME=="o"}{$block->data.IMGNAME}<br/>{/if}
    7     {if $block->data.IMGCOMMENT!="" and $block->data.SHOWCOMMENT=="o"}{$block->data.IMGCOMMENT}<br/>{/if}
     7    {* No strip_tags because comment could have those for good reasons *}
     8    {* Over comment is limited to 127 characters for look only *}
     9    {if $block->data.IMGCOMMENT!="" and $block->data.SHOWCOMMENT=="o" and strlen($block->data.IMGCOMMENT) < 128}{$block->data.IMGCOMMENT}<br/>{/if}
    810    <a href="{$block->data.LINK}"><img src="{$block->data.IMG}"/></a>
    911    {if $block->data.IMGNAME!="" and $block->data.SHOWNAME=="u"}<br/>{$block->data.IMGNAME}{/if}
    10     {if $block->data.IMGCOMMENT!="" and $block->data.SHOWCOMMENT=="u"}<br/>{$block->data.IMGCOMMENT}{/if}
     12    {* Under comment is limited to 255 characters *}
     13    {if $block->data.IMGCOMMENT!="" and $block->data.SHOWCOMMENT=="u" and strlen($block->data.IMGCOMMENT) < 256}<br/>{$block->data.IMGCOMMENT}{/if}
    1114  </div>
    1215</dd>
Note: See TracChangeset for help on using the changeset viewer.