display header in upper case
This commit is contained in:
parent
f9db558a6e
commit
15283010fd
|
@ -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
|
||||||
|
|
|
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue