added onchange for select in meta HTML
This commit is contained in:
parent
5ab8124eab
commit
0b7476bb07
|
@ -1,5 +1,6 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
<html><head>
|
<html><head>
|
||||||
|
|
||||||
<meta content="text/html; charset=ISO-8859-15" http-equiv="content-type"><title>Module specification</title>
|
<meta content="text/html; charset=ISO-8859-15" http-equiv="content-type"><title>Module specification</title>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -18,9 +19,7 @@
|
||||||
}
|
}
|
||||||
-->
|
-->
|
||||||
</style>
|
</style>
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
|
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"></head><body>
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1 style="text-align: center;">This document describes the module
|
<h1 style="text-align: center;">This document describes the module
|
||||||
interface for LDAP Account Manager</h1>
|
interface for LDAP Account Manager</h1>
|
||||||
<br>
|
<br>
|
||||||
|
@ -1069,8 +1068,10 @@ false)<br>
|
||||||
<li><span style="font-weight: bold;">size:</span> The size of the
|
<li><span style="font-weight: bold;">size:</span> The size of the
|
||||||
select field, if set to 1 a dropdown box will be displayed.</li>
|
select field, if set to 1 a dropdown box will be displayed.</li>
|
||||||
<li><span style="font-weight: bold;">noSorting:</span> If set to
|
<li><span style="font-weight: bold;">noSorting:</span> If set to
|
||||||
true then the entries will not be sorted. Default is false.<br>
|
true then the entries will not be sorted. Default is false.</li>
|
||||||
|
<li><span style="font-weight: bold;">onchange:</span> onchange event<br>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<li><span style="font-weight: bold;">table:</span> Adds a table. Can
|
<li><span style="font-weight: bold;">table:</span> Adds a table. Can
|
||||||
be used recursively.</li>
|
be used recursively.</li>
|
||||||
|
|
|
@ -635,6 +635,9 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex
|
||||||
$ret[$input[$i][$j]['name']] = 'select'; // save type
|
$ret[$input[$i][$j]['name']] = 'select'; // save type
|
||||||
}
|
}
|
||||||
echo ' size="' . $input[$i][$j]['size'] . '"';
|
echo ' size="' . $input[$i][$j]['size'] . '"';
|
||||||
|
if (!$restricted && isset($input[$i][$j]['onchange'])) {
|
||||||
|
echo ' onchange="' . htmlspecialchars($input[$i][$j]['onchange']) . '"';
|
||||||
|
}
|
||||||
// Show taborder
|
// Show taborder
|
||||||
echo " tabindex=$tabindex";
|
echo " tabindex=$tabindex";
|
||||||
$tabindex++;
|
$tabindex++;
|
||||||
|
|
Loading…
Reference in New Issue