diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-01-27 16:15:53 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-01-27 16:15:53 +0000 |
| commit | ca259d98ee95bd064fdab4692d94500db44b0217 (patch) | |
| tree | 7a2737e02987d6639c13b8739e26397395f8b080 /templates/admin_themes_manager.tpl | |
| parent | ccdfda6d5cfd0e138da7f976925496f3d3c69ab5 (diff) | |
| download | themes-ca259d98ee95bd064fdab4692d94500db44b0217.tar.gz themes-ca259d98ee95bd064fdab4692d94500db44b0217.tar.bz2 themes-ca259d98ee95bd064fdab4692d94500db44b0217.zip | |
style sheets in <style>/alternate/ can be selected and applied directly now - makes it possible to provide a whole slew of variations within one theme
Diffstat (limited to 'templates/admin_themes_manager.tpl')
| -rw-r--r-- | templates/admin_themes_manager.tpl | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/templates/admin_themes_manager.tpl b/templates/admin_themes_manager.tpl index 19b7551..4764315 100644 --- a/templates/admin_themes_manager.tpl +++ b/templates/admin_themes_manager.tpl @@ -19,14 +19,22 @@ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}">{$s.style}</a> </h2> - {if $s.preview} + {if $s.style_info.preview} <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}"> - <img class="thumb" src="{$s.preview}" alt="{tr}Theme Preview{/tr}" title="{$s.style}" /> + <img class="thumb" src="{$s.style_info.preview}" alt="{tr}Theme Preview{/tr}" title="{$s.style}" /> </a> {/if} - {if $s.description} - {$s.description} + {if $s.style_info.description} + {$s.style_info.description} + {if $s.alternate} + <h3>{tr}Variations of this theme{/tr}</h3> + <ul> + {foreach from=$s.alternate key=variation item=d} + <li><a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}&style_variation={$variation}">{$variation|replace:"_":" "}</a></li> + {/foreach} + </ul> + {/if} {/if} <div class="clear"></div> |
