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:
Cornelius Weiß 2006-09-25 07:00:51 +00:00
parent 78735f5cf1
commit 873fad71de
9 changed files with 16 additions and 15 deletions

View File

@ -6,7 +6,7 @@
* @package notifications
* @link http://www.egroupware.org
* @author Cornelius Weiss <nelius@cwtech.de>
* @version $Id: $
* @version $id$
*/
/**

View File

@ -6,7 +6,7 @@
* @package notifications
* @link http://www.egroupware.org
* @author Cornelius Weiss <nelius@cwtech.de>
* @version $Id: $
* @version $id$
*/
/**

View File

@ -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;

View File

@ -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 {

View File

@ -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>

View File

@ -6,7 +6,7 @@
* @package notifications
* @link http://www.egroupware.org
* @author Cornelius Weiss <nelius@cwtech.de>
* @version $Id: $
* @version $id$
*/
$title = $appname;

View File

@ -5,7 +5,7 @@
* @subpackage ajaxpoup
* @link http://www.egroupware.org
* @author Cornelius Weiss <nelius@cwtech.de>
* @version $Id: $
* @version $id$
*/
function notificationwindow_init() {

View File

@ -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')
);

View File

@ -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')
),