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_installed.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}
     7
    18<div class="titrePage">
    29  <h2>{'Installed Themes'|@translate}</h2>
     
    1219  <div class="themeBox{if $theme.is_default} themeDefault{/if}">
    1320    <div class="themeName">{$theme.name}{if $theme.is_default} <em>({'default'|@translate})</em>{/if}</div>
    14     <div class="themeShot"><img src="{$theme.screenshot}" alt=""></div>
     21    <div class="themeShot"><a href="{$theme.screenshot}" class="preview-box" title="{$theme.name}"><img src="{$theme.screenshot}" alt=""></a></div>
    1522    <div class="themeActions">
    1623      <div>
     
    4249  <div class="themeBox">
    4350    <div class="themeName">{$theme.name}</div>
    44     <div class="themeShot"><img src="{$theme.screenshot}" alt=""></div>
     51    <div class="themeShot"><a href="{$theme.screenshot}" class="preview-box" title="{$theme.name}"><img src="{$theme.screenshot}" alt=""></a></div>
    4552    <div class="themeActions">
    4653      <div>
Note: See TracChangeset for help on using the changeset viewer.