Ignore:
Timestamp:
Dec 24, 2013, 2:44:35 PM (10 years ago)
Author:
mistic100
Message:

add readme about template variables and prefilters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/include/events.inc.php

    r25678 r26176  
    5858  if (!is_a_guest() && count($page['items']))
    5959  {
    60     $template->set_filename('uc_tumbnails_cssjs', realpath(USER_COLLEC_PATH . 'template/thumbnails_css_js.tpl'));
    61     $template->parse('uc_tumbnails_cssjs');
     60    $template->set_filename('uc_thumbnails_cssjs', realpath(USER_COLLEC_PATH . 'template/thumbnails_css_js.tpl'));
     61    $template->parse('uc_thumbnails_cssjs');
    6262  }
    6363}
     
    137137{strip}<a class="addCollection" data-id="{$thumbnail.id}" data-cols="[{$thumbnail.COLLECTIONS}]" rel="nofollow">
    138138{if not $UC_IN_EDIT}
    139 {\'Add to collection\'|@translate}&nbsp;<img src="{$ROOT_URL}{$USER_COLLEC_PATH}template/resources/image_add.png" alt="[+]">
     139{\'Add to collection\'|translate}&nbsp;<img src="{$ROOT_URL}{$USER_COLLEC_PATH}template/resources/image_add.png" alt="[+]">
    140140{else}
    141 {\'Remove from collection\'|@translate}&nbsp;<img src="{$ROOT_URL}{$USER_COLLEC_PATH}template/resources/image_delete.png" alt="[+]">
     141{\'Remove from collection\'|translate}&nbsp;<img src="{$ROOT_URL}{$USER_COLLEC_PATH}template/resources/image_delete.png" alt="[+]">
    142142{/if}
    143143</a>{/strip}';
Note: See TracChangeset for help on using the changeset viewer.