Ignore:
Timestamp:
Dec 16, 2012, 3:21:10 PM (11 years ago)
Author:
mistic100
Message:
  • add regex for phot name, author
  • add dimensions filter
  • rewrite javascript algorithms
  • add auto update on timeout (default 3 days)
  • display photos count on plugin albums list
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/admin/template/config.tpl

    r16939 r19446  
    2323
    2424<div class="titrePage">
    25         <h2>SmartAlbums</h2>
     25  <h2>SmartAlbums</h2>
    2626</div>
    2727
    2828<form method="post" action="" class="properties">
    29         <fieldset id="commentsConf">
    30                 <ul>                   
    31                         <li>
     29  <fieldset id="commentsConf">
     30    <ul>
     31      <li>
    3232        <label>
    3333          <input type="checkbox" name="update_on_upload" value="true" {if $update_on_upload}checked="checked"{/if}/>
     
    3535          <a class="showInfo" title="{'can cause slowdowns'|@translate}">i</a>
    3636        </label>
    37                         </li>
     37      </li>
     38      <li>
     39        <label>
     40          <input type="checkbox" name="update_on_date" value="true" {if $update_on_date}checked="checked"{/if}/>
     41          {assign var=input value='<input type="text" name="update_timeout" size="2" value="'|cat:$update_timeout|cat:'"/>'}
     42          <b>{'Update albums every %s days'|@translate|sprintf:$input}</b>
     43        </label>
     44      </li>
    3845      <li>
    3946        <label>
     
    4249          <a class="showInfo" title="{'SmartAlbums are considered private for everyone, and a user can see it\'s content only if available in another album he has access to.'|@translate}">i</a>
    4350        </label>
    44                         </li>
    45                 </ul>
    46         </fieldset>
    47                
    48         <p class="formButtons"><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /></p>
     51      </li>
     52    </ul>
     53  </fieldset>
     54   
     55  <p class="formButtons"><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /></p>
    4956</form>
Note: See TracChangeset for help on using the changeset viewer.