Esempio n. 1
0
    echo $module;
    echo "config\" class=\"config\" style=\"display:none;padding:15px;\" colspan=\"3\"><form method=\"post\" action=\"";
    echo $PHP_SELF;
    echo "?action=save&module=";
    echo $module . generate_token("link");
    echo "\">\n\t\t<table class=\"form\" width=\"100%\">\n        ";
    foreach ($configarray as $key => $values) {
        if ($values['Type'] != "System") {
            if (!$values['FriendlyName']) {
                $values['FriendlyName'] = $key;
            }
            $values['Name'] = $key;
            $values['Value'] = htmlspecialchars($moduleconfigdata[$key]);
            echo "<tr><td class=\"fieldlabel\">" . $values['FriendlyName'] . "</td><td class=\"fieldarea\">" . moduleConfigFieldOutput($values) . "</td></tr>";
            continue;
        }
    }
    echo "\t\t</table><br /><div align=\"center\"><input type=\"submit\" name=\"save\" value=\"";
    echo $aInt->lang("global", "savechanges");
    echo "\" class=\"btn primary\" /></form></div><br />\n\t</td></tr>\n";
}
echo "</table>\n</div>\n\n";
echo "<s";
echo "cript language=\"javascript\">\n\$(document).ready(function(){\n    var modpass = window.location.hash;\n    if (modpass) \$(modpass+\"config\").show();\n});\n</script>\n\n";
$content = ob_get_contents();
ob_end_clean();
$aInt->content = $content;
$aInt->jquerycode = $jquerycode;
$aInt->jscode = $jscode;
$aInt->display();