Changeset 11392 for extensions/SmartAlbums/template/cat_modify.tpl
- Timestamp:
- Jun 16, 2011, 12:54:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/template/cat_modify.tpl
r11334 r11392 42 42 return false; 43 43 }); 44 45 44 46 45 47 function add_filter(type) { … … 100 102 } 101 103 104 function doBlink(obj,start,finish) { 105 jQuery(obj).fadeOut(400).fadeIn(400); 106 if(start!=finish) { 107 doBlink(obj,start+1,finish); 108 } else { 109 jQuery(obj).fadeOut(400); 110 } 111 } 112 113 doBlink('.new_smart', 0, 3); 102 114 init_jquery_handlers(); 103 115 }); … … 111 123 <legend>{'SmartAlbums'|@translate}</legend> 112 124 113 <label><input type="checkbox" name="is_smart" {if isset($filters) }checked="checked"{/if}/> {'This album is a SmartAlbum'|@translate}</label>125 <label><input type="checkbox" name="is_smart" {if isset($filters) OR isset($new_smart)}checked="checked"{/if}/> {'This album is a SmartAlbum'|@translate}</label> 114 126 115 <div id="SmartAlbum_options" style="margin-top:1em;{if !isset($filters) }display:none;{/if}">127 <div id="SmartAlbum_options" style="margin-top:1em;{if !isset($filters) AND !isset($new_smart)}display:none;{/if}"> 116 128 <ul id="filterList"> 117 129 {counter start=0 assign=i} … … 151 163 </select> 152 164 <a id="removeFilters">{'Remove all filters'|@translate}</a> 165 {if isset($new_smart)}<span class="new_smart">{'Add filters here'|@translate}</span>{/if} 153 166 </p> 154 167 </div> … … 156 169 <p class="actionButtons" id="applyFilterBlock"> 157 170 <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitFilters"/> 158 <input class="submit" type="submit" value="{'Count'|@translate}" name="countImages" {if !isset($filters) }style="display:none;"{/if}/>171 <input class="submit" type="submit" value="{'Count'|@translate}" name="countImages" {if !isset($filters) AND !isset($new_smart)}style="display:none;"{/if}/> 159 172 <span class="count_images_display">{$IMAGE_COUNT}</span> 160 173 </p>
Note: See TracChangeset
for help on using the changeset viewer.