Ignore:
Timestamp:
May 22, 2011, 12:34:18 PM (13 years ago)
Author:
mistic100
Message:

code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_on_Albums/template/coa_admin_intro.tpl

    r9968 r10984  
    22
    33{footer_script require='jquery'}
    4         jQuery('dl[style="padding-top: 30px;"] dd:last-child ul li:last-child').append('[{'Photos'|@translate}]');
    5         jQuery('<li>'+
    6                 '{$DB_COMMENTS_ALBUMS}'+
    7                 {if isset($unvalidated_albums)}
    8                         ' (<a href="{$unvalidated_albums.URL}">{$unvalidated_albums.INFO}</a>)'+
    9                 {/if}
    10                 ' [{'Albums'|@translate}]'+
    11         '</li>')
    12         .appendTo('dl[style="padding-top: 30px;"] dd:last-child ul');
     4  jQuery('dl[style="padding-top: 30px;"] dd:last-child ul li:last-child').append('[{'Photos'|@translate}]');
     5  jQuery('<li>'+
     6    '{$DB_COMMENTS_ALBUMS}'+
     7    {if isset($unvalidated_albums)}
     8      ' (<a href="{$unvalidated_albums.URL}">{$unvalidated_albums.INFO}</a>)'+
     9    {/if}
     10    ' [{'Albums'|@translate}]'+
     11  '</li>')
     12  .appendTo('dl[style="padding-top: 30px;"] dd:last-child ul');
    1313{/footer_script}
Note: See TracChangeset for help on using the changeset viewer.