Changeset 11917 for trunk/admin/themes
- Timestamp:
- Aug 6, 2011, 3:25:34 PM (13 years ago)
- Location:
- trunk/admin/themes/default/template
- Files:
-
- 2 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} 3 jQuery(document).ready(function() { 4 $("a.preview-box").colorbox(); 5 }); 6 {/literal}{/footer_script} 7 1 8 <div class="titrePage"> 2 9 <h2>{'Installed Themes'|@translate}</h2> … … 12 19 <div class="themeBox{if $theme.is_default} themeDefault{/if}"> 13 20 <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> 15 22 <div class="themeActions"> 16 23 <div> … … 42 49 <div class="themeBox"> 43 50 <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> 45 52 <div class="themeActions"> 46 53 <div> -
trunk/admin/themes/default/template/themes_new.tpl
r6363 r11917 1 {include file='include/colorbox.inc.tpl'} 2 {footer_script}{literal} 3 jQuery(document).ready(function() { 4 $("a.preview-box").colorbox(); 5 }); 6 {/literal}{/footer_script} 1 7 <div class="titrePage"> 2 8 <h2>{'Add New Theme'|@translate}</h2> … … 8 14 <div class="themeBox"> 9 15 <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> 11 17 <div class="themeActions"><a href="{$theme.install_url}">{'Install'|@translate}</a></div> 12 18 </div>
Note: See TracChangeset
for help on using the changeset viewer.