phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: email/inc hook_notifywindow.inc.php,1.7,1.8


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: email/inc hook_notifywindow.inc.php,1.7,1.8
Date: Mon, 11 Feb 2002 16:25:41 -0500

Update of /cvsroot/phpgroupware/email/inc
In directory subversions:/tmp/cvs-serv28714

Modified Files:
        hook_notifywindow.inc.php 
Log Message:
moved email specific code from notify.php

Index: hook_notifywindow.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/email/inc/hook_notifywindow.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** hook_notifywindow.inc.php   28 Dec 2001 07:19:37 -0000      1.7
--- hook_notifywindow.inc.php   11 Feb 2002 21:25:39 -0000      1.8
***************
*** 20,26 ****
        unset($d1);
  
-       // is this still needed?
-       //$GLOBALS['phpgw_info']['server']['app_inc'] = PHPGW_SERVER_ROOT . SEP 
. 'email' . SEP . 'inc';
- 
        // NOTE: notify for email not available if the welcome screen show mail 
option if off
        // just wondering, where and when is this pref array data created prior 
to mail_msg object creation?
--- 20,23 ----
***************
*** 65,79 ****
                if ($inbox_data['alert_string'] != '')
                {
                        echo "\r\n" . '<tr><td align="left"><!-- Mailbox info 
X10 -->' . "\r\n";
- /*                    echo '<script language="JavaScript">'.chr(13).chr(10);
-                       echo '<!-- Activate Cloaking Device'.chr(13).chr(10);
-                       echo '  funtion CheckEmail()'.chr(13).chr(10);
-                       echo '  {'.chr(13).chr(10);
-                       echo '          
window.opener.document.location.href="'.$GLOBALS['phpgw']->link("../email/").'";'.chr(13).chr(10);
-                       echo '  }'.chr(13).chr(10);
-                       echo '//-->'.chr(13).chr(10);
-                       echo '</script>'.chr(13).chr(10); */
-                       //echo '<font color="FFFFFF">EMail';
-                       //echo ($str ? ' - <A href="JavaScript:CheckEmail();">' 
. $str . '</A>' : '') . '</font>';
                        echo lang("EMail").' - <a 
href="JavaScript:CheckEmail();">'.$inbox_data['alert_string'].'</a>';
                        //echo '</font>';
--- 62,74 ----
                if ($inbox_data['alert_string'] != '')
                {
+                       echo '<script language="JavaScript">'."\n";
+                       echo '  <!-- Activate Cloaking Device'."\n";
+                       echo '  function CheckEmail()'."\n";
+                       echo '  {'."\n";
+                       echo '          
window.opener.document.location.href="'.$GLOBALS['phpgw']->link('/index.php','menuaction=email.uiindex.index').'";'."\n";
+                       echo '  }'."\n";
+                       echo '  //-->'."\n";
+                       echo '  </script>'."\n";
                        echo "\r\n" . '<tr><td align="left"><!-- Mailbox info 
X10 -->' . "\r\n";
                        echo lang("EMail").' - <a 
href="JavaScript:CheckEmail();">'.$inbox_data['alert_string'].'</a>';
                        //echo '</font>';
***************
*** 82,87 ****
  
        }
-       
-       // is this still needed?
-       //$GLOBALS['phpgw_info']['server']['app_inc'] = $tmp_app_inc;
  ?>
--- 77,79 ----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]