Lines Matching refs:_msg

118       if ( ! isset( $this->logFileHandle ) ) $this->_msg( 'er_logFile' );
195 if ( ! $this->pageName = $ID ) return $this->_msg('er_id');
199 if ( auth_quickaclcheck($ID) < AUTH_EDIT ) return $this->_msg('er_acl_edit');
201 if ( auth_quickaclcheck($ID) < AUTH_CREATE ) return $this->_msg('er_acl_create');
205 if ( ! $this->_checkUploadFile() ) return $this->_msg('er_checkUploadResult');
208 if ( ! $this->getConf( 'parserXslFile' ) ) return $this->_msg('er_xslFile_notset');
210 if ( ! file_exists($this->xslFile) ) return $this->_msg('er_xslFile_exists');
211 if ( ! is_file($this->xslFile) ) return $this->_msg('er_xslFile_isfile');
214 if ( ! class_exists( "XSLTProcessor" ) ) return $this->_msg('er_class_xsltProcessor');
215 if ( ! class_exists( "ZipArchive" ) ) return $this->_msg('er_class_zipArchive');
216 if ( ! class_exists( "DOMDocument" ) ) return $this->_msg('er_class_domDocument');
224 if ( ! ($this->XSL->load( $this->xslFile ) ) ) return $this->_msg('er_loadXsl');
226 if ( ! $this->_set_xsltProcessor() ) return $this->_msg('er_xsltProc');
228 if ( ! $this->_unzip( $this->xmlFile ) ) return $this->_msg('er_file_unzip');
230 if ( ! $this->XML->load($this->uploadDir.'/'.$this->xmlFile) ) return $this->_msg('er_loadXml');
231 …his->XML->getElementsByTagName('document-content')->item(0) ) return $this->_msg('er_invalidRoot');
247 …ransformToDoc( $this->XML )->saveHTML(), ENT_COMPAT, 'UTF-8') ) return $this->_msg('er_transform');
255 if ( ! $this->_apply_result() ) return $this->_msg('er_apply');
260 function _msg( $message, $type=null, $force=false ) { function in action_plugin_odtplus2dw
330 if ( ! $_FILES['userFile'] ) return $this->_msg('er_file_miss');
332 …if ( $_FILES['userFile']['error'] > 0 ) return $this->_msg( array( 'er_file_upload', $_FILES['user…
334 …ypeAuthorized' ), $_FILES['userFile']['type'] ) === false ) return $this->_msg( array( 'er_file_fo…
339 if ( ! mkdir( $this->uploadDir, 0777, true ) ) return $this->_msg( 'er_file_tmpDir' );
345 …_file( $_FILES['userFile']['tmp_name'], $this->userFile ) ) return $this->_msg('er_file_getFromDow…
394 …if ( file_exists( $this->odtFile ) ) if ( ! @unlink( $this->odtFile ) ) $this->_msg( array( 'er_pg…
395 …if ( file_exists( $this->userFile ) ) if ( ! @unlink( $this->userFile ) ) $this->_msg( array( 'er_…
397 …ct as $file) if ( file_exists( $file ) ) if ( ! @unlink( $file ) ) $this->_msg( array( 'er_pg_file…
399 …if ( ! @unlink( $this->uploadDir.'/'.$this->pictpath.'/'.$file ) ) $this->_msg( array( 'er_pg_file…
401 …ictpath) ) if ( ! @rmdir( $this->uploadDir.'/'.$this->pictpath ) ) $this->_msg( array( 'er_pg_dir'…
403 …if ( file_exists( $this->uploadDir ) ) if ( ! @rmdir( $this->uploadDir ) ) $this->_msg( array( 'er…
417 if ( ! $this->XSLT->importStylesheet( $this->XSL ) ) return $this->_msg('er_xslt_invalid');
419 …if ( ! $this->XSLT->setParameter( '', $param, '1' ) ) return $this->_msg( array( 'inf_xslt_param',…
421 $this->_msg( array( 'ok_infoPlugin', $param ), 1 );
424 …setParameter( '', $lang_elt, $this->getLang('xsl_'.$lang_elt ) ) ) $this->_msg( array( 'inf_xslt_l…
436 if ( ! page_exists($this->pageName) ) return $this->_msg('er_apply_content');
441 …if ( ! ( file_exists( $destDir ) || mkdir( $destDir, 0777, true ) ) ) return $this->_msg( array( '…
445 …ime, @file_exists($destFile), 'rename' ) != $this->nsName ) return $this->_msg( array( 'er_apply_i…
450 …ime, @file_exists($destFile), 'rename' ) != $this->nsName ) return $this->_msg( array( 'er_apply_f…
453 $this->_msg( 'inf_acl_upload', 0, true );
469 if ( auth_quickaclcheck( $ID ) < AUTH_UPLOAD ) return $this->_msg( 'er_acl_upload' );
499 foreach ( $value as $msg ) $this->_msg( array( 'ok_img', $msg ) );
503 $this->_msg( array( 'er_img_'.$value, $key ) );
515 if ( ! $this->ZIP ) return $this->_msg('er_unzip_object');
516 if ( ! file_exists( $this->odtFile ) ) return $this->_msg('er_unzip_nofile');
517 if ( ! ( $this->ZIP->open( $this->odtFile ) === true ) ) return $this->_msg( 'er_unzip_open' );
520 if ( ! $res ) return $this->_msg( array( 'er_unzip_error', $entrie ) );
522 return $this->_msg( array( 'ok_unzip', $entrie ) );