diff options
| author | lsces <lester@lsces.co.uk> | 2014-08-05 00:11:03 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2014-08-05 00:11:03 +0100 |
| commit | a2e44c084a5fc7b30fd79342a3d060db6d1b9676 (patch) | |
| tree | 766aacbde5b40a1584b2b00a843e7c5ba56a2e74 /templates | |
| parent | 0218ed1841c57095736d0b2b67f83321711cd5b2 (diff) | |
| download | ckeditor-a2e44c084a5fc7b30fd79342a3d060db6d1b9676.tar.gz ckeditor-a2e44c084a5fc7b30fd79342a3d060db6d1b9676.tar.bz2 ckeditor-a2e44c084a5fc7b30fd79342a3d060db6d1b9676.zip | |
Switch template to bootstrap style layout
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_ckeditor.tpl | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/templates/admin_ckeditor.tpl b/templates/admin_ckeditor.tpl index 1d3b385..e52e7ee 100644 --- a/templates/admin_ckeditor.tpl +++ b/templates/admin_ckeditor.tpl @@ -1,42 +1,42 @@ -{strip} -{form} - {legend legend="General Settings"} - <div class="form-group"> - {foreach from=$formCkeditorFeatures key=item item=output} - <div class="form-group"> - {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} - {/forminput} - </div> - {/foreach} - </div> - - {foreach from=$formToolbars key=item item=output} - <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} - {/forminput} - </div> - {/foreach} - - {foreach from=$formSkin key=item item=output} - <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} - {/forminput} - </div> - {/foreach} - - <div class="form-group submit"> - <input type="hidden" name="page" value="{$page}" /> - <input type="submit" class="btn btn-default" name="change_prefs" value="{tr}Change preferences{/tr}" /> - </div> - {/legend} -{/form} -{/strip} +{strip}
+{form}
+ {legend legend="General Settings"}
+ <div class="row">
+ {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`}
+ {/forminput}
+ </div>
+ {/foreach}
+ </div>
+
+ {foreach from=$formToolbars key=item item=output}
+ <div class="row">
+ {formlabel label=`$output.label` for=$item}
+ {forminput}
+ {html_options values=$formToolbarChoices output=$formToolbarChoices selected=$gBitSystem->getConfig($item) name=$item}
+ {formhelp note=`$output.note`}
+ {/forminput}
+ </div>
+ {/foreach}
+
+ {foreach from=$formSkin key=item item=output}
+ <div class="row">
+ {formlabel label=`$output.label` for=$item}
+ {forminput}
+ {html_options values=$formSkinChoices output=$formSkinChoices selected=$gBitSystem->getConfig($item) name=$item}
+ {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>
+ {/legend}
+{/form}
+{/strip}
|
