summaryrefslogtreecommitdiff
path: root/templates/admin_themes_manager.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-09-03 20:14:20 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-09-03 20:14:20 +0000
commit2c3074904becbf621684a233a39a47da93b9aa6b (patch)
tree484729397d4da6ea8a0b5c04cd08ea539380f280 /templates/admin_themes_manager.tpl
parent6c3b9bb9304ff11886b07766f2b19075f99317a8 (diff)
downloadthemes-2c3074904becbf621684a233a39a47da93b9aa6b.tar.gz
themes-2c3074904becbf621684a233a39a47da93b9aa6b.tar.bz2
themes-2c3074904becbf621684a233a39a47da93b9aa6b.zip
change all biticon links to point to the new icons provided in themes/icon_styles, update themes manager to make icon styles selectable, massive script used to do this ( will me made available shortly ) - might not all be perfect. please help out by fixing broken icon links.
Diffstat (limited to 'templates/admin_themes_manager.tpl')
-rw-r--r--templates/admin_themes_manager.tpl34
1 files changed, 32 insertions, 2 deletions
diff --git a/templates/admin_themes_manager.tpl b/templates/admin_themes_manager.tpl
index 7936a13..7ecf156 100644
--- a/templates/admin_themes_manager.tpl
+++ b/templates/admin_themes_manager.tpl
@@ -14,7 +14,7 @@
<li class="{cycle values='odd,even"} item">
<h2>
{if $style eq $s.style}
- {biticon ipackage=liberty iname=success iexplain="Current Style"}&nbsp;
+ {biticon ipackage="icons" iname="dialog-ok" iexplain="Current Style"}&nbsp;
{/if}
<a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style={$s.style}">{$s.style|replace:"_":" "}</a>
</h2>
@@ -55,7 +55,7 @@
<li class="{cycle values="even,odd"}">
<a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_style_layout={$key}">
{if $layout.gif}<img src="{$smarty.const.THEMES_PKG_URL}layouts/{$layout.gif}" alt="{tr}Layout{/tr}: {$key}" title="{tr}Layout{/tr}: {$key}"/><br />{/if}
- {if $gBitSystem->getConfig('site_style_layout') == $key}{biticon ipackage=liberty iname=success iexplain="Current Style Layout"}{/if}
+ {if $gBitSystem->getConfig('site_style_layout') == $key}{biticon ipackage="icons" iname="dialog-ok" iexplain="Current Style Layout"}{/if}
{$key|replace:"_":" "}
{if $layout.txt}<br />{include file="`$smarty.const.THEMES_PKG_PATH`layouts/`$layout.txt`"}{/if}
</a>
@@ -75,6 +75,36 @@
</ul>
{/jstab}
+ {jstab title="Icon Style"}
+ {legend legend="Pick Icon Style"}
+ <p class="help">
+ Icon themes can be downloaded from <a href="http://art.gnome.org/themes/icon/">Gnome</a> or <a href="http://www.kde-look.org/?xcontentmode=27">KDE</a> as long as they adhere to the <a href="http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html">Icon Naming Specifications</a>. For more information, please visit <a href="http://www.bitweaver.org/wiki/IconStyles">IconStyles</a>.
+ </p>
+
+ <ul class="data">
+ {foreach from=$iconStyles item=s}
+ <li class="{cycle values='odd,even"} item">
+ <h2>
+ {if $gBitSystem->getConfig('site_icon_style') eq $s.style}
+ {biticon ipackage="icons" iname="dialog-ok" iexplain="Current Style"}&nbsp;
+ {/if}
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_icon_style={$s.style}">{$s.style|replace:"_":" "}</a>
+ </h2>
+
+ {if $s.style_info.preview}
+ <a href="{$smarty.const.THEMES_PKG_URL}admin/admin_themes_manager.php?site_icon_style={$s.style}">
+ <img class="thumb" src="{$s.style_info.preview}" alt="{tr}Theme Preview{/tr}" title="{$s.style}" />
+ </a>
+ {/if}
+
+ {$s.style_info.description}
+ <div class="clear"></div>
+ </li>
+ {/foreach}
+ </ul>
+ {/legend}
+ {/jstab}
+
{jstab title="Miscellaneous"}
{form legend="Miscellaneous Settings"}
{*