forked from extern/egroupware
fix column type for id in notifications popup table
remove depricated SEP's corrected type hintings continue fight against svn... (replacement of $id$ in this episode)
This commit is contained in:
parent
78735f5cf1
commit
873fad71de
@ -6,7 +6,7 @@
|
||||
* @package notifications
|
||||
* @link http://www.egroupware.org
|
||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||
* @version $Id: $
|
||||
* @version $id$
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@
|
||||
* @package notifications
|
||||
* @link http://www.egroupware.org
|
||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||
* @version $Id: $
|
||||
* @version $id$
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -7,7 +7,7 @@
|
||||
* @subpackage ajaxpopup
|
||||
* @link http://www.egroupware.org
|
||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||
* @version $Id: $
|
||||
* @version $id$
|
||||
*/
|
||||
|
||||
require_once('class.iface_notification.inc.php');
|
||||
@ -47,14 +47,14 @@ class notification_popup implements iface_notification {
|
||||
/**
|
||||
* holds preferences object of user to notify
|
||||
*
|
||||
* @var unknown_type
|
||||
* @var object
|
||||
*/
|
||||
private $preferences;
|
||||
|
||||
/**
|
||||
* holds db object of SQL database
|
||||
*
|
||||
* @var unknown_type
|
||||
* @var egw_db
|
||||
*/
|
||||
private $db;
|
||||
|
||||
|
@ -6,10 +6,10 @@
|
||||
* @package notifications
|
||||
* @link http://www.egroupware.org
|
||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||
* @version $Id: $
|
||||
* @version $id$
|
||||
*/
|
||||
|
||||
require_once(EGW_INCLUDE_ROOT. SEP. 'etemplate'. SEP. 'inc'. SEP. 'class.etemplate.inc.php');
|
||||
require_once(EGW_INCLUDE_ROOT.'/etemplate/inc/class.etemplate.inc.php');
|
||||
|
||||
class uinotificationprefs {
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
* @subpackage ajaxpoup
|
||||
* @link http://www.egroupware.org
|
||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||
* @version $Id$
|
||||
* @version $id$
|
||||
* @todo check if user wants notifications via egw popup!
|
||||
*/
|
||||
$GLOBALS['egw']->translation->add_app('notifications');
|
||||
@ -21,7 +21,7 @@ if (!$GLOBALS['egw_info']['user']['preferences']['notifications']['disable_ajaxp
|
||||
<div id="notificationwindow" style="display: none; z-index: 999;">
|
||||
<div id="divAppboxHeader">'. lang('Notification'). '</div>
|
||||
<div id="divAppbox">
|
||||
<div id="notificationwindow_message"</div>
|
||||
<div id="notificationwindow_message"></div>
|
||||
<center><input type="submit" value="'. lang('ok'). '" onClick="notificationwindow_button_ok();"></center>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6,7 +6,7 @@
|
||||
* @package notifications
|
||||
* @link http://www.egroupware.org
|
||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||
* @version $Id: $
|
||||
* @version $id$
|
||||
*/
|
||||
|
||||
$title = $appname;
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @subpackage ajaxpoup
|
||||
* @link http://www.egroupware.org
|
||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||
* @version $Id: $
|
||||
* @version $id$
|
||||
*/
|
||||
|
||||
function notificationwindow_init() {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* @package notifications
|
||||
* @link http://www.egroupware.org
|
||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||
* @version $Id: $
|
||||
* @version $id$
|
||||
*/
|
||||
|
||||
if (!defined('NOTIFICATION_APP'))
|
||||
@ -15,7 +15,7 @@ if (!defined('NOTIFICATION_APP'))
|
||||
}
|
||||
|
||||
$setup_info[NOTIFICATION_APP]['name'] = NOTIFICATION_APP;
|
||||
$setup_info[NOTIFICATION_APP]['version'] = '0.5';
|
||||
$setup_info[NOTIFICATION_APP]['version'] = '0.6';
|
||||
$setup_info[NOTIFICATION_APP]['app_order'] = 1;
|
||||
$setup_info[NOTIFICATION_APP]['tables'] = array('egw_notificationpopup');
|
||||
$setup_info[NOTIFICATION_APP]['enable'] = 2;
|
||||
@ -46,3 +46,4 @@ $setup_info[NOTIFICATION_APP]['depends'][] = array(
|
||||
'appname' => 'etemplate',
|
||||
'versions' => Array('1.2','1.3')
|
||||
);
|
||||
|
||||
|
@ -6,13 +6,13 @@
|
||||
* @package notifications
|
||||
* @link http://www.egroupware.org
|
||||
* @author Cornelius Weiss <nelius@cwtech.de>
|
||||
* @version $Id: $
|
||||
* @version $id$
|
||||
*/
|
||||
|
||||
$phpgw_baseline = array(
|
||||
'egw_notificationpopup' => array(
|
||||
'fd' => array(
|
||||
'account_id' => array('type' => 'varchar','precision' => '255','nullable' => False),
|
||||
'account_id' => array('type' => 'int','precision' => '20','nullable' => False),
|
||||
'session_id' => array('type' => 'varchar','precision' => '255','nullable' => False),
|
||||
'message' => array('type' => 'longtext')
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user