{@ $not_permitted = $XE_VALIDATOR_ERROR == '-1380'; $is_doc = $oDocument && $oDocument->isExists(); } {@ $rulepath = $tpl_path.'../../ruleset/checkPassword.xml'; $autoPath = null; } {@ $rulepath = './files/ruleset/insertDocument.'.$mid.'.xml'; $autoPath = $tpl_path.'../../ruleset/insertDocument.xml'; } {@ Context::addJsFile($rulepath, false, '', 0, 'head', true, $autoPath)}