* * Copyright 2005 Lingewoud BV - www.lingewoud.com * * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * \**************************************************************************/ $phpgw_info = array(); $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True, 'disable_Template_class' => True, 'currentapp' => 'notifywindow' ); include('../../../header.inc.php'); header("Content-type: text/xml"); header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" ); header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . "GMT" ); header( "Cache-Control: no-cache, must-revalidate" ); header( "Pragma: no-cache" ); echo ''; echo "\r\n\r\n"; $id = $_GET["id"]; $top = $_GET["top"]; $left = $_GET["left"]; echo $id." ".$top." ".$left; $GLOBALS['phpgw']->preferences->read_repository(); if($GLOBALS['phpgw_info']['user']['preferences']['phpgwapi']) { foreach($GLOBALS['phpgw_info']['user']['preferences']['phpgwapi'] as $shortcut => $shortcut_data) { if($shortcut_data['title'] == $id) { $shortcut_data['top'] = $top; $shortcut_data['left'] = $left; $GLOBALS['phpgw']->preferences->change('phpgwapi',$shortcut,$shortcut_data); $GLOBALS['phpgw']->preferences->save_repository(True); } } } echo ""; ?>