Fixes for KH 3.3 - to do with case file names
This commit is contained in:
22
application/classes/SystemMessage.php
Normal file
22
application/classes/SystemMessage.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* PTA System Messages.
|
||||
*
|
||||
* @package PTA
|
||||
* @subpackage TSM
|
||||
* @category Helpers
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 phpTSMadmin Development Team
|
||||
* @license http://phptsmadmin.sf.net/license.html
|
||||
*/
|
||||
class SystemMessage extends lnApp_SystemMessage {
|
||||
static public function TSM($type,$error,$sql=NULL) {
|
||||
SystemMessage::add(array(
|
||||
'title'=>_('While talking to TSM'),
|
||||
'body'=>($sql ? _('Running SQL').': <b>'.$sql.'</b><br/><br/>' : '').(is_array($error) ? implode('<br/>',$error) : $error),
|
||||
'type'=>$type,
|
||||
));
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user