mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Issue #3701 Tweaked code output.
This commit is contained in:
@@ -1967,7 +1967,7 @@ class " . $pluginFolder . "_adminArea extends e_admin_dispatcher
|
||||
|
||||
$vars['mode'] = $tp->filter($vars['mode']);
|
||||
$vars['pluginName'] = $tp->filter($vars['pluginName']);
|
||||
$vars['table'] = $tp->filter($vars['table']);
|
||||
$vars['table'] = !empty($var['table']) ? $tp->filter($vars['table']) : '';
|
||||
$vars['pid'] = $tp->filter($vars['pid']);
|
||||
|
||||
$FIELDS = $this->buildAdminUIFields($vars);
|
||||
@@ -2029,7 +2029,7 @@ class " . $table . " extends e_admin_ui
|
||||
$type = vartrue($val['type'], 'text');
|
||||
$help = str_replace("'", '', vartrue($val['help']));
|
||||
|
||||
$text .= "\t\t\t'" . $index . "'\t\t=> array('title'=> '" . ucfirst($index) . "', 'tab'=>0, 'type'=>'" . $tp->filter($type) . "', 'data' => 'str', 'help'=>'" . $tp->filter($help) . "', 'writeParms' => array()),\n";
|
||||
$text .= "\t\t\t'" . $index . "'\t\t=> array('title'=> '" . ucfirst($index) . "', 'tab'=>0, 'type'=>'" . $tp->filter($type) . "', 'data' => 'str', 'help'=>'" . $tp->filter($help) . "', 'writeParms' => []),\n";
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user