Lines Matching refs:_msg

101       if ( ! isset( $this->logFileHandle ) ) $this->_msg( 'er_logFile' );
178 if ( ! $this->pageName = $ID ) return $this->_msg('er_id');
182 if ( auth_quickaclcheck($ID) < AUTH_EDIT ) return $this->_msg('er_acl_edit');
184 if ( auth_quickaclcheck($ID) < AUTH_CREATE ) return $this->_msg('er_acl_create');
188 if ( ! $this->_checkUploadFile() ) return $this->_msg('er_checkUploadResult');
191 if ( ! $this->getConf( 'parserXslFile' ) ) return $this->_msg('er_xslFile_notset');
193 if ( ! file_exists($this->xslFile) ) return $this->_msg('er_xslFile_exists');
194 if ( ! is_file($this->xslFile) ) return $this->_msg('er_xslFile_isfile');
197 if ( ! class_exists( XSLTProcessor ) ) return $this->_msg('er_class_xsltProcessor');
198 if ( ! class_exists( ZipArchive ) ) return $this->_msg('er_class_zipArchive');
199 if ( ! class_exists( DOMDocument ) ) return $this->_msg('er_class_domDocument');
207 if ( ! ($this->XSL->load( $this->xslFile ) ) ) return $this->_msg('er_loadXsl');
209 if ( ! $this->_set_xsltProcessor() ) return $this->_msg('er_xsltProc');
211 if ( ! $this->_unzip( $this->xmlFile ) ) return $this->_msg('er_odtFile_unzip');
213 if ( ! $this->XML->load($this->uploadDir.'/'.$this->xmlFile) ) return $this->_msg('er_loadXml');
214 …his->XML->getElementsByTagName('document-content')->item(0) ) return $this->_msg('er_invalidRoot');
230 …ransformToDoc( $this->XML )->saveHTML(), ENT_COMPAT, 'UTF-8') ) return $this->_msg('er_transform');
238 if ( ! $this->_apply_result() ) return $this->_msg('er_apply');
243 function _msg( $message, $type=null, $force=false ) { function in action_plugin_odt2dw
313 if ( ! $_FILES['odtFile'] ) return $this->_msg('er_odtFile_miss');
315 …if ( $_FILES['odtFile']['error'] > 0 ) return $this->_msg( array( 'er_odtFile_upload', $_FILES['od…
317 …TypeAuthorized' ), $_FILES['odtFile']['type'] ) === false ) return $this->_msg( array( 'er_odtFile…
321 if ( ! mkdir( $this->uploadDir, 0777, true ) ) return $this->_msg( 'er_odtFile_tmpDir' );
325 …ed_file( $_FILES['odtFile']['tmp_name'], $this->odtFile ) ) return $this->_msg('er_odtFile_getFrom…
341 …if ( file_exists( $this->odtFile ) ) if ( ! @unlink( $this->odtFile ) ) $this->_msg( array( 'er_pg…
343 …ct as $file) if ( file_exists( $file ) ) if ( ! @unlink( $file ) ) $this->_msg( array( 'er_pg_file…
345 …if ( ! @unlink( $this->uploadDir.'/'.$this->pictpath.'/'.$file ) ) $this->_msg( array( 'er_pg_file…
347 …ictpath) ) if ( ! @rmdir( $this->uploadDir.'/'.$this->pictpath ) ) $this->_msg( array( 'er_pg_dir'…
349 …if ( file_exists( $this->uploadDir ) ) if ( ! @rmdir( $this->uploadDir ) ) $this->_msg( array( 'er…
363 if ( ! $this->XSLT->importStylesheet( $this->XSL ) ) return $this->_msg('er_xslt_invalid');
365 …if ( ! $this->XSLT->setParameter( '', $param, '1' ) ) return $this->_msg( array( 'inf_xslt_param',…
367 $this->_msg( array( 'ok_infoPlugin', $param ), 1 );
370 …setParameter( '', $lang_elt, $this->getLang('xsl_'.$lang_elt ) ) ) $this->_msg( array( 'inf_xslt_l…
382 if ( ! page_exists($this->pageName) ) return $this->_msg('er_apply_content');
387 …if ( ! ( file_exists( $destDir ) || mkdir( $destDir, 0777, true ) ) ) return $this->_msg( array( '…
391 …ime, @file_exists($destFile), 'rename' ) != $this->nsName ) return $this->_msg( array( 'er_apply_i…
396 …ime, @file_exists($destFile), 'rename' ) != $this->nsName ) return $this->_msg( array( 'er_apply_o…
399 $this->_msg( 'inf_acl_upload', 0, true );
415 if ( auth_quickaclcheck( $ID ) < AUTH_UPLOAD ) return $this->_msg( 'er_acl_upload' );
436 foreach ( $value as $msg ) $this->_msg( array( 'ok_img', $msg ) );
440 $this->_msg( array( 'er_img_'.$value, $key ) );
452 if ( ! $this->ZIP ) return $this->_msg('er_unzip_object');
453 if ( ! file_exists( $this->odtFile ) ) return $this->_msg('er_unzip_nofile');
454 if ( ! ( $this->ZIP->open( $this->odtFile ) === true ) ) return $this->_msg( 'er_unzip_open' );
457 if ( ! $res ) return $this->_msg( array( 'er_unzip_error', $entrie ) );
459 return $this->_msg( array( 'ok_unzip', $entrie ) );