Lines Matching refs:err

85         $err = '';
89 $err = sprintf($this->getLang('file_not_found'), $page_to_modify);
93 $err = sprintf($this->getLang('permision_denied_write'), $page_to_modify);
97 $err = sprintf($this->getLang('missing_id'), $page_to_modify);
102 if($err === '') {
104 $err = sprintf($this->getLang('file_locked'), $page_to_modify);
113 if($err === '') {
116 $err = sprintf($this->getLang('file_not_found'), $page_to_modify);
121 if($err === '') {
124 function($matches) use(&$err, $hash_received, $text_received, &$hash_new) {
137 $err = 'e';
147 $err = sprintf($this->getLang('element_not_found'), $json_id);
150 $err = sprintf($this->getLang('duplicated_id'), $json_id);
152 else if($err === 'e') {
153 $err = sprintf($this->getLang('hash_not_equal'), $json_id);
157 $err = sprintf($this->getLang('internal_error'), 'plugin/json/action');
162 if($err === '') {
167 $response = array('response' => 'error', 'error' => $err);
195 $err = '';
198 $err = sprintf($this->getLang('file_not_found'), $page_to_modify);
202 $err = sprintf($this->getLang('permision_denied_write'), $page_to_modify);
206 $err = sprintf($this->getLang('file_changed'), $page_to_modify);
211 if($err === '') {
213 $err = sprintf($this->getLang('file_locked'), $page_to_modify);
222 if($err === '') {
225 $err = sprintf($this->getLang('file_not_found'), $page_to_modify);
230 if($err === '') {
255 $err = 'Internal error - number of <json archive=make ...>('.$counter
260 if($err === '') {
273 $err = sprintf($this->getLang('file_exists'), $newId);
277 $err = sprintf($this->getLang('permision_denied_write'), $page_to_modify);
293 if($err === '') {
297 $response = array('response' => 'error', 'error' => $err);