Ignore:
Timestamp:
Jan 4, 2014, 4:13:08 PM (10 years ago)
Author:
mistic100
Message:

update for Piwigo 2.6

File:
1 edited

Legend:

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

    r19446 r26442  
    1 {html_head}{literal}
    2 <style type="text/css">
    3 .showInfo {
    4   position:static;
    5   display:inline-block;
    6   padding:1px 6px !important;
    7   width:auto;
    8   font-size:0.8em;
    9   line-height:1.2em;
    10 }
    11 </style>
    12 {/literal}{/html_head}
     1{footer_script require="jquery"}
     2jQuery(".showInfo").tipTip({
     3  delay: 0,
     4  fadeIn: 200,
     5  fadeOut: 200,
     6  maxWidth: '300px',
     7  defaultPosition:"right"
     8});
     9{/footer_script}
    1310
    14 {footer_script require="jquery"}
    15 jQuery(".showInfo").tipTip({ldelim}
    16     delay: 0,
    17     fadeIn: 200,
    18     fadeOut: 200,
    19     maxWidth: '300px',
    20     defaultPosition:"right"
    21   });
    22 {/footer_script}
    2311
    2412<div class="titrePage">
     
    2614</div>
    2715
    28 <form method="post" action="" class="properties"> 
     16<form method="post" action="" class="properties">
    2917  <fieldset id="commentsConf">
    3018    <ul>
    3119      <li>
    3220        <label>
    33           <input type="checkbox" name="update_on_upload" value="true" {if $update_on_upload}checked="checked"{/if}/>
    34           <b>{'Update albums on file upload'|@translate}</b>
    35           <a class="showInfo" title="{'can cause slowdowns'|@translate}">i</a>
    36         </label>
     21          <input type="checkbox" name="update_on_date" value="true" {if $update_on_date}checked="checked"{/if}/>
     22          {assign var=input value='</label><input type="text" name="update_timeout" size="2" value="'|cat:$update_timeout|cat:'"/>'}
     23          <b>{'Update albums every %s days'|translate:$input}</b>
     24        <!-- label -->
    3725      </li>
    3826      <li>
    3927        <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>
     28          <input type="checkbox" name="update_on_upload" value="true" {if $update_on_upload}checked="checked"{/if}/>
     29          <b>{'Update albums on file upload'|translate}</b>
     30          <a class="icon-info-circled-1 showInfo" title="{'can cause slowdowns'|translate}"></a>
    4331        </label>
    4432      </li>
     
    4634        <label>
    4735          <input type="checkbox" name="smart_is_forbidden" value="true" {if $smart_is_forbidden}checked="checked"{/if}/>
    48           <b>{'Exclude SmartAlbums from permissions management'|@translate}</b>
    49           <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>
     36          <b>{'Exclude SmartAlbums from permissions management'|translate}</b>
     37          <a class="icon-info-circled-1 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}"></a>
    5038        </label>
    5139      </li>
    5240    </ul>
    5341  </fieldset>
    54    
    55   <p class="formButtons"><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /></p>
     42
     43  <p class="formButtons"><input class="submit" type="submit" value="{'Submit'|translate}" name="submit" /></p>
    5644</form>
Note: See TracChangeset for help on using the changeset viewer.