blob: d897deabb7991cc4e48e9e340f438f1d1ccbc9cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{include file='include/colorbox.inc.tpl'}
{footer_script}{literal}
jQuery(document).ready(function() {
$("a.preview-box").colorbox();
});
{/literal}{/footer_script}
<div class="titrePage">
<h2>{'Add New Theme'|@translate}</h2>
</div>
{if not empty($new_themes)}
<div class="themeBoxes">
{foreach from=$new_themes item=theme name=themes_loop}
<div class="themeBox">
<div class="themeName">{$theme.name}</div>
<div class="themeShot"><a href="{$theme.screenshot}" class="preview-box" title="{$theme.name}"><img src="{$theme.thumbnail}" onerror="this.src='{$default_screenshot}'"></a></div>
<div class="themeActions"><a href="{$theme.install_url}">{'Install'|@translate}</a></div>
</div>
{/foreach}
</div> <!-- themeBoxes -->
{else}
<p>{'There is no other theme available.'|@translate}</p>
{/if}
|