mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:24 +01:00
c3170b44bd
- adding id to notifications table to use it to identify a notification (sending back the message incl. onclick="..." caused the problem) - adding a timestamp when message was added, to identify older messages - close button --> send all ids in one ajax request, not one per id
26 lines
884 B
PHP
26 lines
884 B
PHP
<?php
|
|
/**
|
|
* EGroupware - Notifications
|
|
*
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @package notifications
|
|
* @link http://www.egroupware.org
|
|
* @author Cornelius Weiss <nelius@cwtech.de>
|
|
* @version $Id$
|
|
*/
|
|
|
|
$phpgw_baseline = array(
|
|
'egw_notificationpopup' => array(
|
|
'fd' => array(
|
|
'notify_id' => array('type' => 'auto','nullable' => False,'comment' => 'primary key'),
|
|
'account_id' => array('type' => 'int','precision' => '20','nullable' => False,'comment' => 'user to notify'),
|
|
'notify_message' => array('type' => 'text','comment' => 'notification message'),
|
|
'notify_created' => array('type' => 'timestamp','default' => 'current_timestamp','comment' => 'creation time of notification')
|
|
),
|
|
'pk' => array('notify_id'),
|
|
'fk' => array(),
|
|
'ix' => array('account_id','notify_created'),
|
|
'uc' => array()
|
|
)
|
|
);
|