[5153] | 1 | <div class="titrePage"> |
---|
| 2 | <h2>{'Installed Themes'|@translate}</h2> |
---|
| 3 | </div> |
---|
| 4 | |
---|
| 5 | <div id="themesContent"> |
---|
| 6 | |
---|
[5258] | 7 | <fieldset> |
---|
[5284] | 8 | <legend>{'Active Themes'|@translate}</legend> |
---|
[5153] | 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}"> |
---|
[5284] | 13 | <div class="themeName">{$theme.name}{if $theme.is_default} <em>({'default'|@translate})</em>{/if}</div> |
---|
[5931] | 14 | <div class="themeShot"><img src="{$theme.screenshot}" alt=""></div> |
---|
[5153] | 15 | <div class="themeActions"> |
---|
[5446] | 16 | <div> |
---|
[5382] | 17 | {if $theme.deactivable} |
---|
[5153] | 18 | <a href="{$deactivate_baseurl}{$theme.id}" title="{'Forbid this theme to users'|@translate}">{'Deactivate'|@translate}</a> |
---|
[5382] | 19 | {else} |
---|
| 20 | <span title="{$theme.deactivate_tooltip}">{'Deactivate'|@translate}</span> |
---|
| 21 | {/if} |
---|
| 22 | |
---|
[5153] | 23 | {if not $theme.is_default} |
---|
| 24 | | <a href="{$set_default_baseurl}{$theme.id}" title="{'Set as default theme for unregistered and new users'|@translate}">{'Default'|@translate}</a> |
---|
| 25 | {/if} |
---|
[5446] | 26 | {if isset($theme.admin_uri)} |
---|
| 27 | <br><a href="{$theme.admin_uri}" title="{'Configuration'|@translate}">{'Configuration'|@translate}</a> |
---|
| 28 | {/if} |
---|
| 29 | </div> |
---|
[5153] | 30 | </div> <!-- themeActions --> |
---|
| 31 | </div> |
---|
| 32 | {/foreach} |
---|
| 33 | </div> <!-- themeBoxes --> |
---|
| 34 | {/if} |
---|
[5258] | 35 | </fieldset> |
---|
[5153] | 36 | |
---|
| 37 | {if isset($inactive_themes)} |
---|
[5258] | 38 | <fieldset> |
---|
[5284] | 39 | <legend>{'Inactive Themes'|@translate}</legend> |
---|
[5153] | 40 | <div class="themeBoxes"> |
---|
| 41 | {foreach from=$inactive_themes item=theme} |
---|
| 42 | <div class="themeBox"> |
---|
| 43 | <div class="themeName">{$theme.name}</div> |
---|
[5931] | 44 | <div class="themeShot"><img src="{$theme.screenshot}" alt=""></div> |
---|
[5153] | 45 | <div class="themeActions"> |
---|
[5446] | 46 | <div> |
---|
[5259] | 47 | {if $theme.activable} |
---|
[5153] | 48 | <a href="{$activate_baseurl}{$theme.id}" title="{'Make this theme available to users'|@translate}">{'Activate'|@translate}</a> |
---|
[5259] | 49 | {else} |
---|
| 50 | <span title="{$theme.activate_tooltip}">{'Activate'|@translate}</span> |
---|
| 51 | {/if} |
---|
| 52 | |
---|
[5258] | 53 | | |
---|
[5259] | 54 | |
---|
[5258] | 55 | {if $theme.deletable} |
---|
| 56 | <a href="{$delete_baseurl}{$theme.id}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');" title="{'Delete this theme'|@translate}">{'Delete'|@translate}</a> |
---|
| 57 | {else} |
---|
| 58 | <span title="{$theme.delete_tooltip}">{'Delete'|@translate}</span> |
---|
| 59 | {/if} |
---|
[5446] | 60 | </div> |
---|
[5153] | 61 | </div> |
---|
| 62 | |
---|
| 63 | </div> |
---|
| 64 | {/foreach} |
---|
| 65 | </div> <!-- themeBoxes --> |
---|
[5258] | 66 | </fieldset> |
---|
[5153] | 67 | {/if} |
---|
| 68 | |
---|
[5931] | 69 | </div> <!-- themesContent --> |
---|