source: extensions/Icons_Set/template/admin.tpl @ 10326

Last change on this file since 10326 was 10326, checked in by flop25, 10 years ago

all the admin page works
real icon set added
todo: front end, localization

File size: 5.5 KB
Line 
1<div class="titrePage">
2  <h2>{'iconset_configpage'|@translate}</h2>
3</div>
4<div id="themesContent">
5  <fieldset>
6    <legend>{'iconset_All_Themes'|@translate}</legend>
7    <form action="" method="post" name="externe">
8      <div class="themeBoxes"> {foreach from=$all_themes item=theme}
9        <div class="themeBox">
10          <div class="themeName">{$theme.name}</div>
11          <div class="themeShot"><img src="{$theme.screenshot}" alt="screenshot"></div>
12          <div class="themeActions">
13            <div>
14              <select name="{$theme.id}">
15                <option value="">{'iconset_nothing'|@translate}</option>
16                                        {html_options output=$output values=$values selected=$theme.icon}
17              </select>
18            </div>
19          </div>
20          <!-- themeActions -->
21        </div>
22        {/foreach} </div>
23      <!-- themeBoxes -->
24      <input name="envoi_config" type="hidden" value="iconset" />
25      <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
26      <input type="submit" name="button2" id="button2" value="{'iconset_send'|@translate}" style=" width:100%" />
27    </form>
28  </fieldset>
29  <fieldset>
30    <legend>{'iconset_All_Icons'|@translate}</legend>
31    <div class="iconBoxes"> {foreach from=$all_icons item=icons}
32      <div class="iconBox" id="iconBox_{$icons.id}">
33        <div class="iconName">{$icons.name}</div>
34        <div class="iconShot">
35          <ul>
36            <li><a href="#" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-slideshow"> </span><span class="pwg-button-text">{'slideshow'|@translate}</span> </a></li>
37            <li><a href="#" title="{'Show file metadata'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-camera-info"> </span><span class="pwg-button-text">{'Show file metadata'|@translate}</span> </a></li>
38            <li><a href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-save"> </span><span class="pwg-button-text">{'download'|@translate}</span> </a></li>
39            <li><a href="#" title="{if $favorite.IS_FAVORITE}{'delete this photo from your favorites'|@translate}{else}{'add this photo to your favorites'|@translate}{/if}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-favorite-{if $favorite.IS_FAVORITE}del{else}add{/if}"> </span><span class="pwg-button-text">{'Favorites'|@translate}</span> </a></li>
40            <li><a href="#" title="{'set as album representative'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-representative"> </span><span class="pwg-button-text">{'representative'|@translate}</span> </a></li>
41            <li><a href="#" title="{'Modify information'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span> </a></li>
42            <li><span class="pwg-state-disabled pwg-button"> <span class="pwg-icon pwg-icon-arrowstop-w">&nbsp;</span><span class="pwg-button-text">{'First'|@translate}</span> </span></li>
43            <li><span class="pwg-state-disabled pwg-button"> <span class="pwg-icon pwg-icon-arrow-w">&nbsp;</span><span class="pwg-button-text">{'Previous'|@translate}</span> </span></li>
44            <li><a href="#" title="{'Thumbnails'|@translate}" class="pwg-state-default pwg-button"> <span class="pwg-icon pwg-icon-arrow-n">&nbsp;</span><span class="pwg-button-text">{'Thumbnails'|@translate}</span> </a></li>
45            <li><a href="#" title="{'Next'|@translate} : {$next.TITLE}" class="pwg-state-default pwg-button pwg-button-icon-right"> <span class="pwg-icon pwg-icon-arrow-e">&nbsp;</span><span class="pwg-button-text">{'Next'|@translate}</span> </a></li>
46            <li><a href="#" title="{'Last'|@translate} : {$last.TITLE}" class="pwg-state-default pwg-button pwg-button-icon-right"> <span class="pwg-icon pwg-icon-arrowstop-e"></span><span class="pwg-button-text">{'Last'|@translate}</span> </a></li>
47            <li>{strip}<a href="#" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-category-view-flat"> </span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span> </a>{/strip}</li>
48            <li>{strip}<a href="#" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button"> <span class="pwg-icon pwg-icon-category-view-normal"> </span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span> </a>{/strip}</li>
49            <li>{strip}<a href="#" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span> </a>{/strip}</li>
50            <li>{strip}<a href="#" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> <span class="pwg-icon pwg-icon-camera-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span> </a>{/strip}</li>
51            <li><a class="see_all" href="{$icons.icon_file}" title="{'iconset_seeall'|@translate}" > {'iconset_seeall'|@translate} </a></li>
52          </ul>
53        </div>
54      </div>
55      {/foreach} </div>
56    <!-- themeBoxes -->
57  </fieldset>
58</div>
59<!-- themesContent -->
Note: See TracBrowser for help on using the repository browser.