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

Revision 12613, 2.6 KB checked in by mistic100, 8 years ago (diff)

bug:2501 Tooltip mistranslated in the themes manager

Line 
1{include file='include/colorbox.inc.tpl'}
2{footer_script}{literal}
3jQuery(document).ready(function() {
4  $("a.preview-box").colorbox();
5});
6{/literal}{/footer_script}
7
8<div class="titrePage">
9  <h2>{'Installed Themes'|@translate}</h2>
10</div>
11
12<div id="themesContent">
13
14<fieldset>
15<legend>{'Active Themes'|@translate}</legend>
16{if isset($active_themes)}
17<div class="themeBoxes">
18{foreach from=$active_themes item=theme}
19  <div class="themeBox{if $theme.is_default} themeDefault{/if}">
20    <div class="themeName">{$theme.name}{if $theme.is_default} <em>({'default'|@translate})</em>{/if}</div>
21    <div class="themeShot"><a href="{$theme.screenshot}" class="preview-box" title="{$theme.name}"><img src="{$theme.screenshot}" alt=""></a></div>
22    <div class="themeActions">
23      <div>
24{if $theme.deactivable}
25      <a href="{$deactivate_baseurl}{$theme.id}" class="tiptip" title="{'Forbid this theme to users'|@translate}">{'Deactivate'|@translate}</a>
26{else}
27      <span title="{$theme.deactivate_tooltip}">{'Deactivate'|@translate}</span>
28{/if}
29     
30{if not $theme.is_default}
31      | <a href="{$set_default_baseurl}{$theme.id}" class="tiptip" title="{'Set as default theme for unregistered and new users'|@translate}">{'Default'|@translate}</a>
32{/if}
33{if isset($theme.admin_uri)}
34      <br><a href="{$theme.admin_uri}" class="tiptip" title="{'Configuration'|@translate}">{'Configuration'|@translate}</a>
35{/if}
36      </div>
37    </div> <!-- themeActions -->
38  </div>
39{/foreach}
40</div> <!-- themeBoxes -->
41{/if}
42</fieldset>
43
44{if isset($inactive_themes)}
45<fieldset>
46<legend>{'Inactive Themes'|@translate}</legend>
47<div class="themeBoxes">
48{foreach from=$inactive_themes item=theme}
49  <div class="themeBox">
50    <div class="themeName">{$theme.name}</div>
51    <div class="themeShot"><a href="{$theme.screenshot}" class="preview-box" title="{$theme.name}"><img src="{$theme.screenshot}" alt=""></a></div>
52    <div class="themeActions">
53      <div>
54  {if $theme.activable}
55      <a href="{$activate_baseurl}{$theme.id}" title="{'Make this theme available to users'|@translate}">{'Activate'|@translate}</a>
56  {else}
57      <span title="{$theme.activate_tooltip}">{'Activate'|@translate}</span>
58  {/if}
59
60      |
61
62  {if $theme.deletable}
63      <a href="{$delete_baseurl}{$theme.id}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');" title="{'Delete this theme'|@translate}">{'Delete'|@translate}</a>
64  {else}
65      <span title="{$theme.delete_tooltip}">{'Delete'|@translate}</span>
66  {/if}
67      </div>
68    </div>
69   
70  </div>
71{/foreach}
72</div> <!-- themeBoxes -->
73</fieldset>
74{/if}
75
76</div> <!-- themesContent -->
Note: See TracBrowser for help on using the repository browser.