Changeset 16688 for extensions/UserCollections/template/edit.tpl
- Timestamp:
- Jul 13, 2012, 12:09:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/template/edit.tpl
r16658 r16688 23 23 delay: 0, 24 24 defaultPosition: 'right' 25 }); 26 27 jQuery("#actions input").click(function() {ldelim} 28 if (confirm("{'Are you sure?'|@translate}")) {ldelim} 29 document.location.href = jQuery(this).data("href"); 30 } 31 return false; 25 32 }); 26 33 {if $collection.PUBLIC}bindZclip();{/if} … … 49 56 50 57 51 {if $collection and not $collection.IS_TEMP}58 {if $collection} 52 59 <form action="{$F_ACTION}" method="post"> 53 60 <fieldset id="colProperties"> … … 68 75 </fieldset> 69 76 </form> 70 {/if}71 77 72 78 73 {if !empty($THUMBNAILS)}79 {if $collection.NB_IMAGES > 0} 74 80 <ul class="thumbnails" id="thumbnails"> 75 81 {$THUMBNAILS} … … 82 88 83 89 84 <p style="text-align:center;font-weight:bold;margin:20px;"><a href="{$U_LIST}" rel="nofollow">{'Return to collections list'|@translate}</a></p> 90 <form id="actions" style="text-align:center;"> 91 <input type="submit" data-href="{$collection.U_CLEAR}" value="{'Clear collection'|@translate}"> 92 <input type="submit" data-href="{$collection.U_DELETE}" value="{'Delete'|@translate}"> 93 </form> 94 {/if} 95 85 96 86 97 </div>{* <!-- content --> *}
Note: See TracChangeset
for help on using the changeset viewer.