summaryrefslogtreecommitdiff
path: root/templates/admin_themes_manager.tpl
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2005-06-28 07:46:22 +0000
committerChristian Fowler <spider@viovio.com>2005-06-28 07:46:22 +0000
commitb78a91b9c47b1a11c84b1c6022e3ad5ba8538f92 (patch)
treec89dfcb513557685189da0edd98fbe1687d89335 /templates/admin_themes_manager.tpl
parentf3ca3d4fdc85b179a29a4fc5307d1250fcf9adab (diff)
downloadthemes-b78a91b9c47b1a11c84b1c6022e3ad5ba8538f92.tar.gz
themes-b78a91b9c47b1a11c84b1c6022e3ad5ba8538f92.tar.bz2
themes-b78a91b9c47b1a11c84b1c6022e3ad5ba8538f92.zip
Merge recent changes from R1 into HEAD
Diffstat (limited to 'templates/admin_themes_manager.tpl')
-rw-r--r--templates/admin_themes_manager.tpl49
1 files changed, 31 insertions, 18 deletions
diff --git a/templates/admin_themes_manager.tpl b/templates/admin_themes_manager.tpl
index 0499017..7e7e4a0 100644
--- a/templates/admin_themes_manager.tpl
+++ b/templates/admin_themes_manager.tpl
@@ -8,19 +8,40 @@
<div class="body">
{jstabs}
{jstab title="Site Theme"}
- {form legend="Pick Site Theme"}
- <div class="row">
- {formlabel label="Site theme" for="site_style"}
- {forminput}
- {html_options name="site_style" id="site_style" output=$styles values=$styles selected=$style}
- {formhelp note="This theme will be used as default throughout your site."}
- {/forminput}
- </div>
+ {legend legend="Pick Site Theme"}
+ <ul class="data">
+ {foreach from=$stylesList item=s}
+ <li class="{cycle values='odd,even"} item">
+ <h2>
+ {if $style eq $s.style}
+ {biticon ipackage=liberty iname=success iexplain="Current Theme"}&nbsp;
+ {/if}
+ <a href="{$gBitLoc.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}">{$s.style}</a>
+ </h2>
+ {if $s.preview}
+ <a href="{$gBitLoc.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}" />
+ </a>
+ {/if}
+
+ {if $s.description}
+ {$s.description}
+ {/if}
+
+ <div class="clear"></div>
+ </li>
+ {/foreach}
+ <ul>
+ {/legend}
+ {/jstab}
+
+ {jstab title="Miscellaneous"}
+ {form legend="Miscellaneous Settings"}
<div class="row">
{formlabel label="Slideshows theme" for="slide_style"}
{forminput}
- {html_options name="slide_style" id="slide_style" output=$slide_styles values=$slide_styles selected=$gBitSystem->mPrefs.slide_style}
+ {html_options name="slide_style" id="slide_style" output=$styles values=$styles selected=$gBitSystem->mPrefs.slide_style}
{formhelp note="This theme will be used when viewing a wikipage as a slideshow."}
{/forminput}
</div>
@@ -40,15 +61,7 @@
{formhelp note="If you have difficulties with the javascript tabs, of you don't like them, you can disable them here."}
{/forminput}
</div>
- {*
- <div class="row">
- {formlabel label="Content Theme Control" for="theme_control"}
- {forminput}
- {html_checkboxes name="feature_theme_control" id="theme_control" output=$slide_styles values="y" checked=`$gBitSystemPrefs.feature_theme_control`}
- {formhelp note="Allows selecting of themes on a per-content basis."}
- {/forminput}
- </div>
- *}
+
<div class="row submit">
<input type="submit" name="themeTabSubmit" value="{tr}Apply Settings{/tr}" />
</div>