Ignore:
Timestamp:
Aug 6, 2011, 3:25:34 PM (13 years ago)
Author:
flop25
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/themes_new.tpl

    r6363 r11917  
     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}
    17<div class="titrePage">
    28  <h2>{'Add New Theme'|@translate}</h2>
     
    814  <div class="themeBox">
    915    <div class="themeName">{$theme.name}</div>
    10     <div class="themeShot"><img src="{$theme.screenshot}" onerror="this.src='{$default_screenshot}'"></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>
    1117    <div class="themeActions"><a href="{$theme.install_url}">{'Install'|@translate}</a></div>
    1218  </div>
Note: See TracChangeset for help on using the changeset viewer.