summaryrefslogtreecommitdiff
path: root/templates/admin_themes_manager.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-01-27 16:15:53 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-01-27 16:15:53 +0000
commitca259d98ee95bd064fdab4692d94500db44b0217 (patch)
tree7a2737e02987d6639c13b8739e26397395f8b080 /templates/admin_themes_manager.tpl
parentccdfda6d5cfd0e138da7f976925496f3d3c69ab5 (diff)
downloadthemes-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.tpl16
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}&amp;style_variation={$variation}">{$variation|replace:"_":" "}</a></li>
+ {/foreach}
+ </ul>
+ {/if}
{/if}
<div class="clear"></div>