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

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

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

File size: 815 bytes
RevLine 
[11917]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}
[5143]7<div class="titrePage">
[5153]8  <h2>{'Add New Theme'|@translate}</h2>
[5143]9</div>
10
[5570]11{if not empty($new_themes)}
[5186]12<div class="themeBoxes">
[5143]13{foreach from=$new_themes item=theme name=themes_loop}
[5145]14  <div class="themeBox">
15    <div class="themeName">{$theme.name}</div>
[11917]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>
[5153]17    <div class="themeActions"><a href="{$theme.install_url}">{'Install'|@translate}</a></div>
[5145]18  </div>
[5143]19{/foreach}
[5153]20</div> <!-- themeBoxes -->
[5570]21{else}
22<p>{'There is no other theme available.'|@translate}</p>
[5143]23{/if}
Note: See TracBrowser for help on using the repository browser.