Changeset 26442 for extensions/SmartAlbums/admin/template/cat_list.tpl
- Timestamp:
- Jan 4, 2014, 4:13:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/admin/template/cat_list.tpl
r19446 r26442 1 {footer_script require='jquery.ui.sortable'}{literal} 2 jQuery(document).ready(function(){ 3 jQuery("#addAlbumOpen").click(function(){ 4 jQuery("#createAlbum").toggle(); 5 jQuery("input[name=virtual_name]").focus(); 6 jQuery("#autoOrder").hide(); 7 }); 1 {footer_script require='jquery'} 2 jQuery("#addAlbumOpen").click(function(){ 3 jQuery("#createAlbum").toggle(); 4 jQuery("input[name=virtual_name]").focus(); 5 jQuery("#autoOrder").hide(); 6 }); 8 7 9 jQuery("#addAlbumClose").click(function(){ 10 jQuery("#createAlbum").hide(); 11 }); 8 jQuery("#addAlbumClose").click(function(){ 9 jQuery("#createAlbum").hide(); 12 10 }); 13 {/ literal}{/footer_script}11 {/footer_script} 14 12 15 {* è *}16 13 17 14 <div class="titrePage"> … … 24 21 <p class="showCreateAlbum"> 25 22 <span id="notManualOrder"> 26 <a href="#" id="addAlbumOpen">{'create a new SmartAlbum'| @translate}</a>27 | <a href="{$F_ACTION}&smart_generate=all">{'Regenerate photos list of all SmartAlbums'| @translate}</a>23 <a href="#" id="addAlbumOpen">{'create a new SmartAlbum'|translate}</a> 24 | <a href="{$F_ACTION}&smart_generate=all">{'Regenerate photos list of all SmartAlbums'|translate}</a> 28 25 </span> 29 26 </p> 30 27 31 28 <fieldset id="createAlbum" style="display:none;"> 32 <legend>{'create a new SmartAlbum'| @translate}</legend>29 <legend>{'create a new SmartAlbum'|translate}</legend> 33 30 <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 34 31 35 32 <p> 36 <strong>{'Album name'| @translate}</strong> :33 <strong>{'Album name'|translate}</strong> : 37 34 <input type="text" name="virtual_name"> 38 35 </p> 39 36 <p> 40 <strong>{'Parent album'| @translate}</strong> :37 <strong>{'Parent album'|translate}</strong> : 41 38 <select class="categoryDropDown" name="parent_id"> 42 39 <option value="0">------------</option> … … 45 42 </p> 46 43 <p class="actionButtons"> 47 <input class="submit" type="submit" value="{'Create'| @translate}" name="submitAdd">48 <a href="#" id="addAlbumClose">{'Cancel'| @translate}</a>44 <input class="submit" type="submit" value="{'Create'|translate}" name="submitAdd"> 45 <a href="#" id="addAlbumClose">{'Cancel'|translate}</a> 49 46 </p> 50 47 </fieldset> … … 58 55 <!-- category {$category.ID} --> 59 56 <p class="albumTitle"> 60 <strong><a href="{$category.U_CHILDREN}" title="{'manage sub-albums'| @translate}">{$category.NAME}</a></strong>57 <strong><a href="{$category.U_CHILDREN}" title="{'manage sub-albums'|translate}">{$category.NAME}</a></strong> 61 58 <img src="{$SMART_PATH}admin/template/lightning.png"> 62 {'%d photos'| @translate|sprintf:$category.IMG_COUNT}59 {'%d photos'|translate:$category.IMG_COUNT} 63 60 </p> 64 61 65 62 <p class="albumActions"> 66 <a href="{$category.U_EDIT}">{'Edit'| @translate}</a>67 | <a href="{$category.U_SMART}" title="{$category.LAST_UPDATE}">{'Regenerate photos list of this SmartAlbum'| @translate}</a>63 <a href="{$category.U_EDIT}">{'Edit'|translate}</a> 64 | <a href="{$category.U_SMART}" title="{$category.LAST_UPDATE}">{'Regenerate photos list of this SmartAlbum'|translate}</a> 68 65 {if isset($category.U_DELETE) } 69 | <a href="{$category.U_DELETE}" onclick="return confirm('{'Are you sure?'| @translate|@escape:javascript}');">{'delete album'|@translate}</a>66 | <a href="{$category.U_DELETE}" onclick="return confirm('{'Are you sure?'|translate|escape:javascript}');">{'delete album'|translate}</a> 70 67 {/if} 71 68 {if cat_admin_access($category.ID)} 72 | <a href="{$category.U_JUMPTO}">{'jump to album'| @translate} ?</a>69 | <a href="{$category.U_JUMPTO}">{'jump to album'|translate} ?</a> 73 70 {/if} 74 71 </p>
Note: See TracChangeset
for help on using the changeset viewer.