fixed HTML output from modules
This commit is contained in:
parent
09f2ccf873
commit
26c9bb756e
|
@ -90,9 +90,10 @@ if ($_GET['type']) {
|
||||||
echo "<br>\n";
|
echo "<br>\n";
|
||||||
// Print delete rows from modules
|
// Print delete rows from modules
|
||||||
echo "<table border=0 width=\"100%\">\n<tr><td valign=\"top\" width=\"15%\" >";
|
echo "<table border=0 width=\"100%\">\n<tr><td valign=\"top\" width=\"15%\" >";
|
||||||
$modules = array_keys($_SESSION['account']->module);
|
$modules = $_SESSION['config']->get_AccountModules($_GET['type']);
|
||||||
for ($i=0; $i<count($modules); $i++) {
|
foreach ($modules as $module) {
|
||||||
$_SESSION['account']->module[$modules[$i]]->display_html_delete($_POST);
|
$module = new $module($_GET['type']);
|
||||||
|
$module->display_html_delete($_POST);
|
||||||
}
|
}
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo "<br>\n";
|
echo "<br>\n";
|
||||||
|
|
Loading…
Reference in New Issue