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

Revision 11917, 815 bytes checked in by flop25, 9 years ago (diff)

feature:2391
adding colorbox for theme : for new and installed themes

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<div class="titrePage">
8  <h2>{'Add New Theme'|@translate}</h2>
9</div>
10
11{if not empty($new_themes)}
12<div class="themeBoxes">
13{foreach from=$new_themes item=theme name=themes_loop}
14  <div class="themeBox">
15    <div class="themeName">{$theme.name}</div>
16    <div class="themeShot"><a href="{$theme.screenshot}" class="preview-box" title="{$theme.name}"><img src="{$theme.thumbnail}" onerror="this.src='{$default_screenshot}'"></a></div>
17    <div class="themeActions"><a href="{$theme.install_url}">{'Install'|@translate}</a></div>
18  </div>
19{/foreach}
20</div> <!-- themeBoxes -->
21{else}
22<p>{'There is no other theme available.'|@translate}</p>
23{/if}
Note: See TracBrowser for help on using the repository browser.