Permalink
Browse files

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

…in setting
  • Loading branch information...
1 parent 555112a commit e08b39e0b4702c4282249e080b09b6d7122e8db1 @rwijaya rwijaya committed Sep 4, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/adminlib.php
View
5 lib/adminlib.php
@@ -6237,9 +6237,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 e08b39e

Please sign in to comment.