diff options
| author | spiderr <spider@viovio.com> | 2013-04-06 16:18:14 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-06 16:18:14 -0400 |
| commit | 646bdb01df389890bf0c6e80ac0980e2af1a3fcd (patch) | |
| tree | 315a1ba0f9e70766cb6cad87e10a6ce8daca274c | |
| parent | 7ab440d63d8da0000397def0f7b95fa419f4f875 (diff) | |
| download | languages-646bdb01df389890bf0c6e80ac0980e2af1a3fcd.tar.gz languages-646bdb01df389890bf0c6e80ac0980e2af1a3fcd.tar.bz2 languages-646bdb01df389890bf0c6e80ac0980e2af1a3fcd.zip | |
major clean up for Smarty 3.0 and another pass at cleaning the top menus
| -rw-r--r-- | templates/admin_languages.tpl | 2 | ||||
| -rw-r--r-- | templates/menu_languages.tpl | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/templates/admin_languages.tpl b/templates/admin_languages.tpl index a149679..9488d08 100644 --- a/templates/admin_languages.tpl +++ b/templates/admin_languages.tpl @@ -15,7 +15,7 @@ {foreach from=$formLanguageToggles key=feature item=output} <div class="control-group"> - {formlabel label=`$output.label` for=$feature} + {formlabel label=$output.label for=$feature} {forminput} {html_checkboxes name=$feature values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature} {formhelp hash=$output} diff --git a/templates/menu_languages.tpl b/templates/menu_languages.tpl index 3bc15db..26255e8 100644 --- a/templates/menu_languages.tpl +++ b/templates/menu_languages.tpl @@ -1,10 +1,11 @@ {strip} {if $gBitUser->hasPermission( 'p_languages_edit' )} - <ul> - <li><a class="item" href="{$smarty.const.LANGUAGES_PKG_URL}edit_languages.php">{booticon iname="icon-flag" iexplain="Edit Languages" ilocation=menu}</a></li> - <li><a class="item" href="{$smarty.const.LANGUAGES_PKG_URL}translate_strings.php">{booticon iname="icon-flag" iexplain="Translate Strings" ilocation=menu}</a></li> - <li><a class="item" href="{$smarty.const.LANGUAGES_PKG_URL}import.php">{booticon iname="icon-recycle" iexplain="Import / Export" ilocation=menu}</a></li> - <li><a class="item" href="{$smarty.const.LANGUAGES_PKG_URL}master_strings.php">{biticon iname="text-html" iexplain="Master Strings" ilocation=menu}</a></li> - </ul> +<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a> +<ul class="{$packageMenuClass}"> + <li><a class="item" href="{$smarty.const.LANGUAGES_PKG_URL}edit_languages.php">{booticon iname="icon-flag" iexplain="Edit Languages" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.LANGUAGES_PKG_URL}translate_strings.php">{booticon iname="icon-flag" iexplain="Translate Strings" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.LANGUAGES_PKG_URL}import.php">{booticon iname="icon-recycle" iexplain="Import / Export" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.LANGUAGES_PKG_URL}master_strings.php">{biticon iname="text-html" iexplain="Master Strings" ilocation=menu}</a></li> +</ul> {/if} {/strip} |
