Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…in setting
  • Loading branch information...
commit 689a3bcd17472dc52f3c44883635e7c6056d95a1 1 parent 71e12dc
rwijaya rwijaya authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 3 lib/adminlib.php
5 lib/adminlib.php
@@ -6217,9 +6217,8 @@ function format_admin_setting($setting, $title='', $form='', $description='', $l
6217 6217 $str = '
6218 6218 <div class="form-item clearfix" id="admin-'.$setting->name.'">
6219 6219 <div class="form-label">
6220   - <label '.$labelfor.'>'.highlightfast($query, $title).'<span class="form-shortname">'.highlightfast($query, $name).'</span>
6221   - '.$override.$warning.'
6222   - </label>
  6220 + <label '.$labelfor.'>'.highlightfast($query, $title).$override.$warning.'</label>
  6221 + <span class="form-shortname">'.highlightfast($query, $name).'</span>
6223 6222 </div>
6224 6223 <div class="form-setting">'.$form.$defaultinfo.'</div>
6225 6224 <div class="form-description">'.highlight($query, markdown_to_html($description)).'</div>

0 comments on commit 689a3bc

Please sign in to comment.
Something went wrong with that request. Please try again.