- Timestamp:
- Jul 27, 2012, 4:47:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/template/thumbnails_css_js.tpl
r16698 r17178 13 13 jQuery.ajax({ldelim} 14 14 type: "POST", 15 url: "{$ USER_COLLEC_PATH}toggle_image.php",15 url: "{$ROOT_URL}{$USER_COLLEC_PATH}toggle_image.php", 16 16 data: {ldelim} {if $COL_ID}"col_id": "{$COL_ID}", {/if}"toggle_id": toggle_id } 17 17 }).done(function(msg) {ldelim} 18 18 if (msg == "true") {ldelim} 19 $trigger.html('{'Remove from collection'|@translate} <img src="{$ USER_COLLEC_PATH}template/image_delete.png" title="{'Remove from collection'|@translate}">');19 $trigger.html('{'Remove from collection'|@translate} <img src="{$ROOT_URL}{$USER_COLLEC_PATH}template/image_delete.png" title="{'Remove from collection'|@translate}">'); 20 20 jQuery(".nbImagesCollec").html(parseInt(jQuery(".nbImagesCollec").html()) +1); 21 21 } else if (msg == "false") {ldelim} … … 24 24 if (typeof batchdown_count != 'undefined') batchdown_count-=1; 25 25 {else} 26 $trigger.html('{'Add to collection'|@translate} <img src="{$ USER_COLLEC_PATH}template/image_add.png" title="{'Add to collection'|@translate}">');26 $trigger.html('{'Add to collection'|@translate} <img src="{$ROOT_URL}{$USER_COLLEC_PATH}template/image_add.png" title="{'Add to collection'|@translate}">'); 27 27 {/if} 28 28 jQuery(".nbImagesCollec").html(parseInt(jQuery(".nbImagesCollec").html()) -1);
Note: See TracChangeset
for help on using the changeset viewer.