phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] email/inc/class.msg_bootstrap.inc.php, 1.2.2.4


From: nomail
Subject: [Phpgroupware-cvs] email/inc/class.msg_bootstrap.inc.php, 1.2.2.4
Date: Sat, 6 Nov 2004 17:13:46 +0100

Update of /email/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.msg_bootstrap.inc.php

date: 2004/11/06 16:13:46;  author: powerstat;  state: Exp;  lines: +16 -16

Log Message:
replaced <br> with <br /> and <hr> with <hr /> for better w3c compatibility
=====================================================================
Index: email/inc/class.msg_bootstrap.inc.php
diff -u email/inc/class.msg_bootstrap.inc.php:1.2.2.3 
email/inc/class.msg_bootstrap.inc.php:1.2.2.4
--- email/inc/class.msg_bootstrap.inc.php:1.2.2.3       Fri Feb  6 19:38:10 2004
+++ email/inc/class.msg_bootstrap.inc.php       Sat Nov  6 16:13:46 2004
@@ -125,7 +125,7 @@
                */
                function set_do_login($do_login='##NOTHING##', 
$called_by='not_provided')
                {
-                       if ($this->debug_level > 0) { echo 'ENTERING: 
msg_bootstrap: set_do_login: (called_by: '.$called_by.') param $do_login: 
['.serialize($do_login).']'.'<br>'; } 
+                       if ($this->debug_level > 0) { echo 'ENTERING: 
msg_bootstrap: set_do_login: (called_by: '.$called_by.') param $do_login: 
['.serialize($do_login).']'.'<br />'; } 
                        // backward compat, when this was only true or false
                        if (is_bool($do_login))
                        {
@@ -140,7 +140,7 @@
                                        $this->do_login_ex = BS_LOGIN_NEVER;
                                }
                                // LEAVING HERE
-                               if ($this->debug_level > 0) { echo 'LEAVING: 
msg_bootstrap: set_do_login: (bool input) (called_by: '.$called_by.') 
$this->do_login: ['.$this->do_login.'] $this->do_login_ex: 
['.$this->do_login_ex.'] '.'<br>'; }
+                               if ($this->debug_level > 0) { echo 'LEAVING: 
msg_bootstrap: set_do_login: (bool input) (called_by: '.$called_by.') 
$this->do_login: ['.$this->do_login.'] $this->do_login_ex: 
['.$this->do_login_ex.'] '.'<br />'; }
                                return $this->do_login;
                        }
                        elseif (is_int($do_login))
@@ -178,7 +178,7 @@
                                $this->do_login = True;
                                $this->do_login_ex = BS_LOGIN_ONLY_IF_NEEDED;
                        }
-                       if ($this->debug_level > 0) { echo 'LEAVING: 
msg_bootstrap: set_do_login: (not bool input) (called_by: '.$called_by.') 
$this->do_login: ['.$this->do_login.'] $this->do_login_ex: 
['.$this->do_login_ex.'] '.'<br>'; }
+                       if ($this->debug_level > 0) { echo 'LEAVING: 
msg_bootstrap: set_do_login: (not bool input) (called_by: '.$called_by.') 
$this->do_login: ['.$this->do_login.'] $this->do_login_ex: 
['.$this->do_login_ex.'] '.'<br />'; }
                        return $this->do_login_ex;
                }
                
@@ -240,7 +240,7 @@
                        {
                                $this->debug_level = $debug_level;
                        }
-                       if ($this->debug_level > 0) { echo 'ENTERING: 
msg_bootstrap: ensure_mail_msg_exists: (called_by: '.$called_by.')'.'<br>'; }
+                       if ($this->debug_level > 0) { echo 'ENTERING: 
msg_bootstrap: ensure_mail_msg_exists: (called_by: '.$called_by.')'.'<br />'; }
                        
                        // make sure do_login has been set
                        if ($this->get_do_login_ex() == BS_LOGIN_NOT_SPECIFIED)
@@ -259,33 +259,33 @@
                        //&& ($GLOBALS['phpgw']->msg->been_constructed == True)
                        //)
                        {
-                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_mail_msg_exists('.__LINE__.'): (called_by: 
'.$called_by.'): is_object test: $GLOBALS[phpgw]->msg is already set, do not 
create again<br>'; }
+                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_mail_msg_exists('.__LINE__.'): (called_by: 
'.$called_by.'): is_object test: $GLOBALS[phpgw]->msg is already set, do not 
create again<br />'; }
                        }
                        else
                        {
-                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_mail_msg_exists('.__LINE__.'): (called_by: 
'.$called_by.'): $GLOBALS[phpgw]->msg is NOT set, creating mail_msg 
object<br>'; }
+                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_mail_msg_exists('.__LINE__.'): (called_by: 
'.$called_by.'): $GLOBALS[phpgw]->msg is NOT set, creating mail_msg object<br 
/>'; }
                                $GLOBALS['phpgw']->msg = 
CreateObject("email.mail_msg");
                                //$GLOBALS['phpgw']->msg =& 
CreateObject("email.mail_msg");
                                
//include_once(PHPGW_INCLUDE_ROOT.'/email/inc/class.mail_msg_base.inc.php');
                                
//include_once(PHPGW_INCLUDE_ROOT.'/email/inc/class.mail_msg_wrappers.inc.php');
                                
//include_once(PHPGW_INCLUDE_ROOT.'/email/inc/class.mail_msg_display.inc.php');
                                //$GLOBALS['phpgw']->msg =& new mail_msg;
-                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_mail_msg_exists('.__LINE__.'): $GLOBALS[phpgw]->msg 
created mail_msg object, now calling needed initialization function aka manual 
constructor function, "initialize_mail_msg"<br>'; } 
+                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_mail_msg_exists('.__LINE__.'): $GLOBALS[phpgw]->msg 
created mail_msg object, now calling needed initialization function aka manual 
constructor function, "initialize_mail_msg"<br />'; } 
                                $GLOBALS['phpgw']->msg->initialize_mail_msg();
                        }
                        
                        if 
($GLOBALS['phpgw']->msg->get_isset_arg('already_grab_class_args_gpc'))
                        {
                                // mail_msg had already run thru 
"begin_request", do not call it again
-                               if ($this->debug_level > 0) { echo 
'msg_bootstrap: ensure_mail_msg_exists('.__LINE__.'): (called_by: 
'.$called_by.'): LEAVING , msg object already initialized<br>'; }
+                               if ($this->debug_level > 0) { echo 
'msg_bootstrap: ensure_mail_msg_exists('.__LINE__.'): (called_by: 
'.$called_by.'): LEAVING , msg object already initialized<br />'; }
                                return True;
                        }
                        
                        $args_array = Array();
                        // should we log in or not
-                       if ($this->debug_level > 1) { echo 'msg_bootstrap: 
ensure_mail_msg_exists: (called_by: '.$called_by.'): $this->do_login: 
['.serialize($this->do_login).']<br>'; }
+                       if ($this->debug_level > 1) { echo 'msg_bootstrap: 
ensure_mail_msg_exists: (called_by: '.$called_by.'): $this->do_login: 
['.serialize($this->do_login).']<br />'; }
                        $args_array['do_login'] = $this->do_login;
-                       if ($this->debug_level > 1) { echo 'msg_bootstrap: 
ensure_mail_msg_exists: (called_by: '.$called_by.'): $this->do_login_ex: 
['.serialize($this->do_login_ex).']<br>'; }
+                       if ($this->debug_level > 1) { echo 'msg_bootstrap: 
ensure_mail_msg_exists: (called_by: '.$called_by.'): $this->do_login_ex: 
['.serialize($this->do_login_ex).']<br />'; }
                        $args_array['do_login_ex'] = $this->do_login_ex;
                        
                        // "start your engines"
@@ -300,7 +300,7 @@
                        // login error will halt this script execution
                        // else all is good to go and script continues... 
                        if ($this->debug_level > 2) { echo 'msg_bootstrap: 
about to leave ensure_mail_msg_exists, $GLOBALS[] DUMP:<pre>'; 
print_r($GLOBALS); echo '</pre>'; }
-                       if ($this->debug_level > 0) { echo 'EXIT: 
msg_bootstrap: ensure_mail_msg_exists: (called_by: '.$called_by.')'.'<br>'; }
+                       if ($this->debug_level > 0) { echo 'EXIT: 
msg_bootstrap: ensure_mail_msg_exists: (called_by: '.$called_by.')'.'<br />'; }
                }
                
                /*!
@@ -319,21 +319,21 @@
                        // DEBUG - override debug_level param
                        //$debug_level = 3;
                        
-                       if ($this->debug_level > 0) { echo 'ENTERING: 
msg_bootstrap: ensure_utility_classes: <br>'; }
+                       if ($this->debug_level > 0) { echo 'ENTERING: 
msg_bootstrap: ensure_utility_classes: <br />'; }
                        
                        if (is_object($GLOBALS['phpgw']->widgets))
                        {
-                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_utility_classes: is_object test: 
$GLOBALS[phpgw]->widgets is already set, do not create again<br>'; }
+                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_utility_classes: is_object test: 
$GLOBALS[phpgw]->widgets is already set, do not create again<br />'; }
                        }
                        else
                        {
-                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_utility_classes: $GLOBALS[phpgw]->widgets is NOT set, 
creating html_widgets object<br>'; }
+                               if ($this->debug_level > 1) { echo 
'msg_bootstrap: ensure_utility_classes: $GLOBALS[phpgw]->widgets is NOT set, 
creating html_widgets object<br />'; }
                                $my_widgets = 
CreateObject("email.html_widgets");
                                $GLOBALS['phpgw']->widgets = $my_widgets;
                        }
                        
                        
-                       if ($this->debug_level > 0) { echo 'EXIT: 
msg_bootstrap: ensure_utility_classes: <br>'; }
+                       if ($this->debug_level > 0) { echo 'EXIT: 
msg_bootstrap: ensure_utility_classes: <br />'; }
                }
 
        }




reply via email to

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