Permalink
Browse files

Added some form-groups on the htmleditor page

  • Loading branch information...
1 parent fc52aa6 commit 1beed35f71ab7659f27f0e5f71e319874a847289 moodler committed Sep 25, 2006
Showing with 5 additions and 2 deletions.
  1. +5 −2 lib/adminlib.php
View
@@ -1829,7 +1829,7 @@ function output_html() {
$currentsetting = $this->get_setting();
}
- $return = '';
+ $return = '<div class="form-group">';
for ($i = 0; $i < count($currentsetting) / 2; $i++) {
$return .= '<input type="text" class="form-text" name="s_editorfontlist[k' . $i . ']" value="' . $currentsetting['k' . $i] . '" />';
$return .= '&nbsp;&nbsp;';
@@ -1841,6 +1841,7 @@ function output_html() {
$return .= '<input type="text" class="form-text" name="s_editorfontlist[k' . ($i + 1) . ']" value="" />';
$return .= '&nbsp;&nbsp;';
$return .= '<input type="text" class="form-text" name="s_editorfontlist[v' . ($i + 1) . ']" value="" />';
+ $return .= '</div>';
return format_admin_setting($this->name, $this->visiblename, $return, $this->description);
}
@@ -2006,7 +2007,8 @@ function output_html() {
$currentsetting = $this->get_setting();
}
- $return = '<table><tr><td valign="top" align="right">';
+ $return = '<div class="form-group">';
+ $return .= '<table><tr><td valign="top" align="right">';
$count = 0;
@@ -2025,6 +2027,7 @@ function output_html() {
$return .= '</td></tr>';
$return .= '</table>';
+ $return .= '</div>';
return format_admin_setting($this->name, $this->visiblename, $return, $this->description);
}

0 comments on commit 1beed35

Please sign in to comment.