Fix admin edit_access wrong enabled type, other fixes

General notice fixes as much as possible
This commit is contained in:
Clemens Schwaighofer
2018-11-07 13:32:58 +09:00
parent 433b21ab6f
commit 9d918f3b43
10 changed files with 457 additions and 108 deletions

View File

@@ -22,7 +22,7 @@ $DB_DEBUG = 1;
extract($_POST, EXTR_SKIP);
$table_width = 750;
$table_width = '100%';
// this is for certain CMS modules that set a relative path
define('REL_PATH', '');

View File

@@ -33,7 +33,7 @@ $edit_access = array (
"value" => $GLOBALS["enabled"],
"output_name" => "Enabled",
"type" => "binary",
"int" => 1,
"int" => 1, // OR "bool" => 1
"element_list" => array (
"1" => "Yes",
"0" => "No"