display header in upper case

This commit is contained in:
Roland Gruber 2003-07-30 21:32:27 +00:00
parent f9db558a6e
commit 15283010fd
4 changed files with 8 additions and 8 deletions

View File

@ -82,8 +82,8 @@ $desc_array; // list of descriptions for the attributes
$attr_array[] = "sambaDomainName"; $attr_array[] = "sambaDomainName";
$attr_array[] = "sambaSID"; $attr_array[] = "sambaSID";
$attr_array[] = "dn"; $attr_array[] = "dn";
$desc_array[] = _("Domain Name"); $desc_array[] = strtoupper(_("Domain name"));
$desc_array[] = _("Domain SID"); $desc_array[] = strtoupper(_("Domain SID"));
$desc_array[] = "DN"; $desc_array[] = "DN";
// check search suffix // check search suffix

View File

@ -88,13 +88,13 @@ for ($i = 0; $i < sizeof($temp_array); $i++) {
if (substr($temp_array[$i],0,1) == "#") { if (substr($temp_array[$i],0,1) == "#") {
$attr = substr($temp_array[$i],1); $attr = substr($temp_array[$i],1);
$attr_array[$i] = $attr; $attr_array[$i] = $attr;
$desc_array[] = $hash_table[$attr]; $desc_array[] = strtoupper($hash_table[$attr]);
} }
// if not predefined, the attribute is seperated by a ":" from description // if not predefined, the attribute is seperated by a ":" from description
else { else {
$attr = explode(":", $temp_array[$i]); $attr = explode(":", $temp_array[$i]);
$attr_array[$i] = $attr[0]; $attr_array[$i] = $attr[0];
$desc_array[$i] = $attr[1]; $desc_array[$i] = strtoupper($attr[1]);
} }
} }

View File

@ -88,13 +88,13 @@ for ($i = 0; $i < sizeof($temp_array); $i++) {
if (substr($temp_array[$i],0,1) == "#") { if (substr($temp_array[$i],0,1) == "#") {
$attr = substr($temp_array[$i],1); $attr = substr($temp_array[$i],1);
$attr_array[$i] = $attr; $attr_array[$i] = $attr;
$desc_array[] = $hash_table[$attr]; $desc_array[] = strtoupper($hash_table[$attr]);
} }
// if not predefined, the attribute is seperated by a ":" from description // if not predefined, the attribute is seperated by a ":" from description
else { else {
$attr = explode(":", $temp_array[$i]); $attr = explode(":", $temp_array[$i]);
$attr_array[$i] = $attr[0]; $attr_array[$i] = $attr[0];
$desc_array[$i] = $attr[1]; $desc_array[$i] = strtoupper($attr[1]);
} }
} }

View File

@ -85,13 +85,13 @@ for ($i = 0; $i < sizeof($temp_array); $i++) {
if (substr($temp_array[$i],0,1) == "#") { if (substr($temp_array[$i],0,1) == "#") {
$attr = substr($temp_array[$i],1); $attr = substr($temp_array[$i],1);
$attr_array[$i] = $attr; $attr_array[$i] = $attr;
$desc_array[] = $hash_table[$attr]; $desc_array[] = strtoupper($hash_table[$attr]);
} }
// if not predefined, the attribute is seperated by a ":" from description // if not predefined, the attribute is seperated by a ":" from description
else { else {
$attr = explode(":", $temp_array[$i]); $attr = explode(":", $temp_array[$i]);
$attr_array[$i] = $attr[0]; $attr_array[$i] = $attr[0];
$desc_array[$i] = $attr[1]; $desc_array[$i] = strtoupper($attr[1]);
} }
} }