Permalink
Browse files

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

…in setting
  • Loading branch information...
1 parent 71e12dc commit 689a3bcd17472dc52f3c44883635e7c6056d95a1 @rwijaya rwijaya committed Sep 4, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/adminlib.php
View
@@ -6217,9 +6217,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 689a3bc

Please sign in to comment.