phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] email/inc/class.bofolder.inc.php, 1.8.2.3


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

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

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

Log Message:
replaced <br> with <br /> and <hr> with <hr /> for better w3c compatibility
=====================================================================
Index: email/inc/class.bofolder.inc.php
diff -u email/inc/class.bofolder.inc.php:1.8.2.2 
email/inc/class.bofolder.inc.php:1.8.2.3
--- email/inc/class.bofolder.inc.php:1.8.2.2    Sat Sep 13 01:46:14 2003
+++ email/inc/class.bofolder.inc.php    Sat Nov  6 16:13:44 2004
@@ -39,7 +39,7 @@
                
                function folder()
                {
-                       if ($this->debug > 0) { echo 'ENTERING: 
email.bofolder.folder('.__LINE__.')'.'<br>'; }
+                       if ($this->debug > 0) { echo 'ENTERING: 
email.bofolder.folder('.__LINE__.')'.'<br />'; }
                        // create class objects
                        $this->nextmatchs = CreateObject('phpgwapi.nextmatchs');
                        
@@ -49,25 +49,25 @@
                        
                        // ----  Create or Delete or Rename a Folder ?  ----
                        // "folder_action()" handles checking if any action 
should be taken
-                       if ($this->debug > 1) { echo 
'email.bofolder.folder('.__LINE__.') calling $this->folder_action()'.'<br>'; }
+                       if ($this->debug > 1) { echo 
'email.bofolder.folder('.__LINE__.') calling $this->folder_action()'.'<br />'; }
                        $this->folder_action();
                        
                        
                        // ----  Get a List Of All Folders  AND Display them 
----
-                       if ($this->debug > 1) { echo 
'email.bofolder.folder('.__LINE__.') calling $this->folder_data()'.'<br>'; }
+                       if ($this->debug > 1) { echo 
'email.bofolder.folder('.__LINE__.') calling $this->folder_data()'.'<br />'; }
                        $this->folder_data();
                        
                        // end the email transaction
                        //$GLOBALS['phpgw']->msg->end_request();
                        // NO we may not be really done yet
-                       if ($this->debug > 0) { echo 'LEAVING: 
email.bofolder.folder('.__LINE__.')'.'<br>'; }
+                       if ($this->debug > 0) { echo 'LEAVING: 
email.bofolder.folder('.__LINE__.')'.'<br />'; }
                }
                
                
                
                function folder_action()
                {
-                       if ($this->debug > 0) { echo 'ENTERING: 
email.bofolder.folder_action('.__LINE__.')'.'<br>'; }
+                       if ($this->debug > 0) { echo 'ENTERING: 
email.bofolder.folder_action('.__LINE__.')'.'<br />'; }
                        // ----  Create or Delete or Rename a Folder ?  ----
                        if (($GLOBALS['phpgw']->msg->get_arg_value('action') == 
'create')
                        || ($GLOBALS['phpgw']->msg->get_arg_value('action') == 
'delete')
@@ -97,7 +97,7 @@
                                {
                                        $source_fldball = 
$GLOBALS['phpgw']->msg->get_arg_value('source_fldball');
                                        $target_fldball = 
$GLOBALS['phpgw']->msg->get_arg_value('target_fldball');
-                                       if ($this->debug > 1) { echo 
'email.bofolder.folder_action('.__LINE__.'): we will delete, rename, or create 
a folder; ->msg->get_arg_value("action") is 
['.$GLOBALS['phpgw']->msg->get_arg_value('action').']'.'<br>'; }
+                                       if ($this->debug > 1) { echo 
'email.bofolder.folder_action('.__LINE__.'): we will delete, rename, or create 
a folder; ->msg->get_arg_value("action") is 
['.$GLOBALS['phpgw']->msg->get_arg_value('action').']'.'<br />'; }
                                        if ($this->debug > 2) { echo 
'email.bofolder.folder_action('.__LINE__.'): $source_fldball DUMP<pre>'; 
print_r($source_fldball); echo '<pre>'; }
                                        if ($this->debug > 2) { echo 
'email.bofolder.folder_action('.__LINE__.'): $target_fldball DUMP<pre>'; 
print_r($target_fldball); echo '<pre>'; }
                                        
@@ -232,22 +232,22 @@
                                        {
                                                $action_report =
                                                        
'<em>'.$GLOBALS['phpgw']->msg->get_arg_value('action') .' 
'.lang('folder').'</em>'
-                                                       .'<br>'
+                                                       .'<br />'
                                                        
.htmlspecialchars($source_folder_decoded)
-                                                       .'<br>'
+                                                       .'<br />'
                                                        
.'<em>'.lang('to').'</em>'
-                                                       .'<br>'
+                                                       .'<br />'
                                                        
.htmlspecialchars($target_folder_decoded)
-                                                       .'<br>'
+                                                       .'<br />'
                                                        .lang('result').' : ';
                                        }
                                        else
                                        {
                                                $action_report = 
                                                        
'<em>'.$GLOBALS['phpgw']->msg->get_arg_value('action').' 
'.lang('folder').'</em>'
-                                                       .'<br>'
+                                                       .'<br />'
                                                        
.htmlspecialchars($target_folder_decoded)
-                                                       .'<br>'
+                                                       .'<br />'
                                                        .lang('result').' : ';
                                        }
                                        // did it work or not
@@ -282,14 +282,14 @@
                        // we may have been  called externally, return this 
action report
                        //return $action_report;
                        // we may have been  called externally, return if we 
succeeded or not
-                       if ($this->debug > 0) { echo 'LEAVING: 
email.bofolder.folder_action('.__LINE__.'), returning $success 
['.serialize($success).'], only matters if folder action was attempted'.'<br>'; 
}
+                       if ($this->debug > 0) { echo 'LEAVING: 
email.bofolder.folder_action('.__LINE__.'), returning $success 
['.serialize($success).'], only matters if folder action was attempted'.'<br 
/>'; }
                        return $success;
                }
                
                
                function folder_data()
                {
-                       if ($this->debug > 0) { echo 'ENTERING: 
email.bofolder.folder_data('.__LINE__.')'.'<br>'; } 
+                       if ($this->debug > 0) { echo 'ENTERING: 
email.bofolder.folder_data('.__LINE__.')'.'<br />'; } 
                        //  ----  Establish Email Server Connectivity 
Conventions  ----
                        $server_str = 
$GLOBALS['phpgw']->msg->get_arg_value('mailsvr_callstr');
                        $name_space = 
$GLOBALS['phpgw']->msg->get_arg_value('mailsvr_namespace');
@@ -301,7 +301,7 @@
                        //$folder_list =& 
$GLOBALS['phpgw']->msg->get_arg_value_ref('folder_list');
                        
                        if ($this->debug > 2) { echo 
'email.bofolder.folder_data('.__LINE__.'): $folder_list[] dump:<pre>'; 
print_r($folder_list); echo '</pre>'; }
-                       if ($this->debug > 1) { echo 
'email.bofolder.folder_data('.__LINE__.') USE CACHABLE? 
$this->use_cachable_status is 
['.serialize($this->use_cachable_status).']'.'<br>'; } 
+                       if ($this->debug > 1) { echo 
'email.bofolder.folder_data('.__LINE__.') USE CACHABLE? 
$this->use_cachable_status is ['.serialize($this->use_cachable_status).']'.'<br 
/>'; } 
                        
                        $this->xi['folder_list_display'] = array();
                        for ($i=0; $i<count($folder_list);$i++)
@@ -328,7 +328,7 @@
                                //$real_long_name = 
$GLOBALS['phpgw']->msg->folder_lookup('',$folder_list[$i]['folder_short']);
                                //if ($real_long_name != '')
                                //{
-                               //      echo 'folder exists, official long 
name: '.$real_long_name.'<br>';
+                               //      echo 'folder exists, official long 
name: '.$real_long_name.'<br />';
                                //}
                                
                                // ROW BACK COLOR
@@ -451,7 +451,7 @@
                        $this->xi['the_font'] = 
$GLOBALS['phpgw_info']['theme']['font'];
                        $this->xi['th_backcolor'] = 
$GLOBALS['phpgw_info']['theme']['th_bg'];
                        
-                       if ($this->debug > 0) { echo 'LEAVING: 
email.bofolder.folder_data('.__LINE__.')'.'<br>'; } 
+                       if ($this->debug > 0) { echo 'LEAVING: 
email.bofolder.folder_data('.__LINE__.')'.'<br />'; } 
                }       
        
        }




reply via email to

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