summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <cfowler@einstein>2015-01-30 15:12:00 -0500
committerChristian Fowler <cfowler@einstein>2015-01-30 15:12:00 -0500
commit37ba5177439f8c6ceea4d0abfe3ab8573e7f0b58 (patch)
treeb8e6dd9ed0b574c6ccc780abdf0e72d93e4ddfba
parent88c36f1c1c66e40cbc5dd1a1751c8f80b9f3f06e (diff)
downloadckeditor-37ba5177439f8c6ceea4d0abfe3ab8573e7f0b58.tar.gz
ckeditor-37ba5177439f8c6ceea4d0abfe3ab8573e7f0b58.tar.bz2
ckeditor-37ba5177439f8c6ceea4d0abfe3ab8573e7f0b58.zip
bring ckeditor admin up to speed for Smarty 3 and bootstrap
-rw-r--r--templates/admin_ckeditor.tpl27
1 files changed, 12 insertions, 15 deletions
diff --git a/templates/admin_ckeditor.tpl b/templates/admin_ckeditor.tpl
index e52e7ee..e3a0675 100644
--- a/templates/admin_ckeditor.tpl
+++ b/templates/admin_ckeditor.tpl
@@ -1,42 +1,39 @@
{strip}
{form}
{legend legend="General Settings"}
- <div class="row">
+ <div class="form-group">
{foreach from=$formCkeditorFeatures key=item item=output}
- <div class="row">
- {formlabel label=`$output.label` for=$item}
- {forminput}
- {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item}
- {formhelp note=`$output.note` page=`$output.page`}
+ <div class="form-group">
+ {forminput label="checkbox"}
+ {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} {tr}{$output.label}{/tr}
+ {formhelp note=$output.note page=$output.page}
{/forminput}
</div>
{/foreach}
</div>
{foreach from=$formToolbars key=item item=output}
- <div class="row">
- {formlabel label=`$output.label` for=$item}
+ <div class="form-group">
+ {formlabel label=$output.label for=$item}
{forminput}
{html_options values=$formToolbarChoices output=$formToolbarChoices selected=$gBitSystem->getConfig($item) name=$item}
- {formhelp note=`$output.note`}
+ {formhelp note=$output.note}
{/forminput}
</div>
{/foreach}
{foreach from=$formSkin key=item item=output}
- <div class="row">
- {formlabel label=`$output.label` for=$item}
+ <div class="form-group">
+ {formlabel label=$output.label for=$item}
{forminput}
{html_options values=$formSkinChoices output=$formSkinChoices selected=$gBitSystem->getConfig($item) name=$item}
- {formhelp note=`$output.note`}
+ {formhelp note=$output.note}
{/forminput}
</div>
{/foreach}
- <div class="row submit">
<input type="hidden" name="page" value="{$page}" />
- <input type="submit" name="change_prefs" value="{tr}Change preferences{/tr}" />
- </div>
+ <input type="submit" class="btn btn-default" name="change_prefs" value="{tr}Change preferences{/tr}" />
{/legend}
{/form}
{/strip}