Permalink
Browse files

MDL-34984 admin setting: fixed labeling and shortname display for adm…

…in setting
  • Loading branch information...
1 parent 935c3d5 commit 8510d731bb2435fcf42f7f38cbfd9aefc0878ba2 @rwijaya rwijaya committed Sep 4, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/adminlib.php
View
@@ -6377,9 +6377,8 @@ function format_admin_setting($setting, $title='', $form='', $description='', $l
$str = '
<div class="form-item clearfix" id="admin-'.$setting->name.'">
<div class="form-label">
- <label '.$labelfor.'>'.highlightfast($query, $title).'<span class="form-shortname">'.highlightfast($query, $name).'</span>
- '.$override.$warning.'
- </label>
+ <label '.$labelfor.'>'.highlightfast($query, $title).$override.$warning.'</label>
+ <span class="form-shortname">'.highlightfast($query, $name).'</span>
</div>
<div class="form-setting">'.$form.$defaultinfo.'</div>
<div class="form-description">'.highlight($query, markdown_to_html($description)).'</div>

0 comments on commit 8510d73

Please sign in to comment.