Changeset 2638 for trunk


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.

Location:
trunk
Files:
2 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>
  • trunk/template/yoga/theme/Sylvia/theme.css

    r2626 r2638  
    2424#menubar DD { background:transparent url(images/menuBox_bottom.gif) no-repeat scroll left bottom;
    2525margin:14px 0 0 0; padding:0 0 22px; width: 231px; min-width: 231px; border: 0; overflow-x: hidden;}
    26 #menubar UL, #menubar p,
     26#menubar UL, #menubar #mbCategories p,
    2727#menubar .illustration  { background:transparent url(images/menuBox_sides.gif) repeat-y scroll left bottom;
    2828margin:0; }
Note: See TracChangeset for help on using the changeset viewer.