source: branches/2.5/admin/themes/default/template/themes_new.tpl @ 24975

Last change on this file since 24975 was 11917, checked in by flop25, 13 years ago

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

File size: 815 bytes
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.