\n"; $GLOBALS['egw']->common->egw_exit(); } unset($d1); if (@$GLOBALS['egw_info']['user']['apps']['felamimail']) { $my_msg_bootstrap = ''; $my_msg_bootstrap =& CreateObject("felamimail.bofelamimail"); $connectionStatus = $my_msg_bootstrap->openConnection(); $folderStatus = $my_msg_bootstrap->getFolderStatus('INBOX'); #_debug_array($folderStatus); $my_msg_bootstrap->closeConnection(); $current_uid=$folderStatus['uidnext']; $oldUidNext=$GLOBALS['egw']->session->appsession('notifywindow','felamimail'); #if(!empty($old_uid)) #{ # $new_msgs=$current_id-$old_id; #} #else #{ # $new_msgs=$inbox_data['number_new']; #} if ($connectionStatus == True) { // we reload the notify window, because after i did click on the CheckEmail link // it did not refresh itself anymore echo ''."\n"; echo "\r\n" . '
'."\r\n"; echo ''."\r\n"; echo " | \r\n";
if($folderStatus[recent]>0)
{
echo ''.lang('new').': '.$folderStatus[recent].' '; if($oldUidNext != $folderStatus['uidnext'] || $folderStatus[recent]>0) { $urgent = True; } } else { echo ''.lang('new').': '.lang('None').' '."\r\n"; } if($folderStatus[unseen]>0) { echo ''.lang('unread').': '.$folderStatus[unseen].' '."\r\n"; } else { echo ''.lang('unread').': '.lang('None').' '."\r\n"; } echo 'INBOX: '.$folderStatus[messages].''."\r\n"; if($urgent == True) { echo ''."\r\n"; } echo " |