mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02:00
making unvalidated content available to application
This commit is contained in:
parent
6e65165660
commit
007fd09515
@ -349,6 +349,13 @@ class Etemplate extends Etemplate\Widget\Template
|
|||||||
return $sel_options;
|
return $sel_options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unvalidated content, use with caution!
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
static public $contentUnvalidated;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process via Ajax submitted content
|
* Process via Ajax submitted content
|
||||||
*
|
*
|
||||||
@ -388,7 +395,7 @@ class Etemplate extends Etemplate\Widget\Template
|
|||||||
'cont' => &self::$request->content,
|
'cont' => &self::$request->content,
|
||||||
);
|
);
|
||||||
$template->run('validate', array('', $expand, $_content, &$validated), true); // $respect_disabled=true: do NOT validate disabled widgets and children
|
$template->run('validate', array('', $expand, $_content, &$validated), true); // $respect_disabled=true: do NOT validate disabled widgets and children
|
||||||
|
self::$contentUnvalidated = $_content;
|
||||||
if ($no_validation)
|
if ($no_validation)
|
||||||
{
|
{
|
||||||
self::$validation_errors = array();
|
self::$validation_errors = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user