url's always uses slashes (SEP is a backslash under windows)

This commit is contained in:
Ralf Becker 2006-09-12 17:30:26 +00:00
parent 68cf1f4466
commit f79aa7e65f

View File

@ -10,12 +10,12 @@
* @subpackage ajaxpoup * @subpackage ajaxpoup
* @link http://www.egroupware.org * @link http://www.egroupware.org
* @author Cornelius Weiss <nelius@cwtech.de> * @author Cornelius Weiss <nelius@cwtech.de>
* @version $Id: $ * @version $Id$
* @todo check if user wants notifications via egw popup! * @todo check if user wants notifications via egw popup!
*/ */
$GLOBALS['egw']->translation->add_app('notifications'); $GLOBALS['egw']->translation->add_app('notifications');
if (!$GLOBALS['egw_info']['user']['preferences']['notifications']['disable_ajaxpopup']) { if (!$GLOBALS['egw_info']['user']['preferences']['notifications']['disable_ajaxpopup']) {
echo '<script src="'. $GLOBALS['egw_info']['server']['webserver_url']. SEP. 'notifications'. SEP. 'js'. SEP. 'notificationajaxpopup.js'. '" type="text/javascript"></script>'; echo '<script src="'. $GLOBALS['egw_info']['server']['webserver_url']. '/notifications/js/notificationajaxpopup.js'. '" type="text/javascript"></script>';
echo '<script type="text/javascript">notificationwindow_init()</script>'; echo '<script type="text/javascript">notificationwindow_init()</script>';
echo ' echo '
<div id="notificationwindow" style="display: none; z-index: 999;"> <div id="notificationwindow" style="display: none; z-index: 999;">