fix for meta HTML

This commit is contained in:
Roland Gruber 2010-06-06 18:16:09 +00:00
parent 2131269e0b
commit 154154a7ab
1 changed files with 3 additions and 2 deletions

View File

@ -43,6 +43,8 @@ include_once("ldap.inc");
include_once("lamdaemon.inc"); include_once("lamdaemon.inc");
/** security functions */ /** security functions */
include_once("security.inc"); include_once("security.inc");
/** meta HTML classes */
include_once("html.inc");
/** /**
* This includes all module files. * This includes all module files.
@ -701,9 +703,8 @@ function getRequiredExtensions() {
* @return array List of input field names and their type (name => type) * @return array List of input field names and their type (name => type)
*/ */
function parseHtml($module, $input, $values, $restricted, &$tabindex, $scope) { function parseHtml($module, $input, $values, $restricted, &$tabindex, $scope) {
include_once("html.inc");
if ($input instanceof htmlElement) { if ($input instanceof htmlElement) {
return $input->generateHTML($module, $values, $restricted, $tabindex, $scope); return $input->generateHTML($module, $input, $values, $restricted, $tabindex, $scope);
} }
$ret = array(); $ret = array();
if (is_array($input)) { if (is_array($input)) {