Ignore:
Timestamp:
Jan 12, 2013, 7:23:05 PM (11 years ago)
Author:
mistic100
Message:

add order and caddie buttons, columns header in CSV file, move some code to template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/template/themes/stripped.tpl

    r17519 r20093  
    55        </div>
    66 
    7         {if !empty($COLLECTION_ACTIONS)}
    8                 <div class="categoryActionsContainer">
    9                         <ul class="categoryActions group1">
    10                                 {$COLLECTION_ACTIONS}
    11                         </ul>
    12                 </div>
    13         {/if}
     7  <div class="categoryActionsContainer">
     8    <ul class="categoryActions group1">
     9    {if isset($U_CADDIE) }
     10      <li class="mainAction"><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}">{'caddie'|@translate}</a></li>
     11    {/if}
     12       
     13    {if $U_MAIL}
     14      <li><a href="#mail_form" title="{'Send this collection my mail'|@translate}" class="mail_colorbox_open pwg-state-default pwg-button" rel="nofollow"
     15          {if not $collection.PUBLIC}onClick="alert('{'The collection must be public in order to send it'|@translate|escape:javascript}');return false;"{/if}>
     16            <span class="pwg-icon user-collections-mail-icon" style="background:url('{$ROOT_URL}{$USER_COLLEC_PATH}template/resources/mail.png') center center no-repeat;">&nbsp;</span><span class="pwg-button-text">{'Send'|@translate}</span>
     17      </a></li>
     18    {/if}
     19    {if $U_CLEAR}
     20      <li><a href="{$U_CLEAR}" title="{'Clear this collection'|@translate}" class="pwg-state-default pwg-button" rel="nofollow" onClick="return confirm('{'Are you sure?'|@translate|escape:javascript}');">
     21        <span class="pwg-icon user-collections-clear-icon" style="background:url('{$ROOT_URL}{$USER_COLLEC_PATH}template/resources/bin.png') center center no-repeat;">&nbsp;</span><span class="pwg-button-text">{'Clear'|@translate}</span>
     22      </a></li>
     23    {/if}
     24    {if $U_DELETE}
     25      <li><a href="{$colelction.U_DELETE}" title="{'Delete this collection'|@translate}" class="pwg-state-default pwg-button" rel="nofollow" onClick="return confirm('{'Are you sure?'|@translate|escape:javascript}');">
     26        <span class="pwg-icon user-collections-delete-icon" style="background:url('{$ROOT_URL}{$USER_COLLEC_PATH}template/resources/delete.png') center center no-repeat;">&nbsp;</span><span class="pwg-button-text">{'Delete'|@translate}</span>
     27      </a></li>
     28    {/if}
     29 
     30    {if !empty($COLLECTION_ACTIONS)}
     31      {$COLLECTION_ACTIONS}
     32    {/if}
     33    </ul>
     34  </div>
    1435</div>
    1536
Note: See TracChangeset for help on using the changeset viewer.