source: trunk/admin/themes/default/template/themes_installed.tpl @ 5357

Last change on this file since 5357 was 5284, checked in by plg, 15 years ago

bug fixed: hide border on admin/configuration fieldsets to avoid empty legend.

Add missing i18n on admin.tpl, admin header/footer, pLoader page, theme
manager.

File size: 1.9 KB
Line 
1<div class="titrePage">
2  <h2>{'Installed Themes'|@translate}</h2>
3</div>
4
5<div id="themesContent">
6
7<fieldset>
8<legend>{'Active Themes'|@translate}</legend>
9{if isset($active_themes)}
10<div class="themeBoxes">
11{foreach from=$active_themes item=theme}
12  <div class="themeBox{if $theme.is_default} themeDefault{/if}">
13    <div class="themeName">{$theme.name}{if $theme.is_default} <em>({'default'|@translate})</em>{/if}</div>
14    <div class="themeShot"><img src="{$theme.screenshot}"></div>
15    <div class="themeActions">
16      <a href="{$deactivate_baseurl}{$theme.id}" title="{'Forbid this theme to users'|@translate}">{'Deactivate'|@translate}</a>
17{if not $theme.is_default}
18      | <a href="{$set_default_baseurl}{$theme.id}" title="{'Set as default theme for unregistered and new users'|@translate}">{'Default'|@translate}</a>
19{/if}
20    </div> <!-- themeActions -->
21  </div>
22{/foreach}
23</div> <!-- themeBoxes -->
24{/if}
25</fieldset>
26
27{if isset($inactive_themes)}
28<fieldset>
29<legend>{'Inactive Themes'|@translate}</legend>
30<div class="themeBoxes">
31{foreach from=$inactive_themes item=theme}
32  <div class="themeBox">
33    <div class="themeName">{$theme.name}</div>
34    <div class="themeShot"><img src="{$theme.screenshot}"></div>
35    <div class="themeActions">
36
37  {if $theme.activable}
38      <a href="{$activate_baseurl}{$theme.id}" title="{'Make this theme available to users'|@translate}">{'Activate'|@translate}</a>
39  {else}
40      <span title="{$theme.activate_tooltip}">{'Activate'|@translate}</span>
41  {/if}
42
43      |
44
45  {if $theme.deletable}
46      <a href="{$delete_baseurl}{$theme.id}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');" title="{'Delete this theme'|@translate}">{'Delete'|@translate}</a>
47  {else}
48      <span title="{$theme.delete_tooltip}">{'Delete'|@translate}</span>
49  {/if}
50
51    </div>
52   
53  </div>
54{/foreach}
55</div> <!-- themeBoxes -->
56</fieldset>
57{/if}
58
59</div> <!-- themesContent -->
Note: See TracBrowser for help on using the repository browser.