1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 21:32:09 +02:00

Admin-UI:Form Handler - renderTableRow() now calls a new method: renderTableCells() to generate the table cells.

This commit is contained in:
Cameron
2020-03-19 14:51:38 -07:00
parent 3cfdab25e4
commit b431e6796c
2 changed files with 54 additions and 27 deletions

View File

@@ -5812,7 +5812,16 @@ class e_admin_ui extends e_admin_controller_ui
echo ADLAN_86; //Forbidden
$result = var_export($this->fields[$_name], true);
$this->logajax("Forbidden\nAction:".$this->getAction()."\nField:\n".$result);
$problem = array();
$problem['noedit'] = !empty($this->fields[$_name]['noedit']) ? 'yes' : 'no';
$problem['nolist'] = !empty($this->fields[$_name]['nolist']) ? 'yes' : 'no';
$problem['inline'] = empty($this->fields[$_name]['inline']) ? 'yes' : 'no';
$problem['token'] = empty($_token) ? 'yes' : 'no';
$problem['password'] = !password_verify(session_id(),$_token) ? 'yes' : 'no';
$result .= "\nForbidden Caused by: ".print_r($problem,true);
$this->logajax("Forbidden\nAction:".$this->getAction()."\nField (".$_name."):\n".$result);
return;
}