phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] addressbook/inc/import/Import_from_Outlook_-_Deutsch


From: nomail
Subject: [Phpgroupware-cvs] addressbook/inc/import/Import_from_Outlook_-_Deutsch, 1.2.6.3
Date: Sat, 6 Nov 2004 17:13:48 +0100

Update of /addressbook/inc/import
Modified Files:
        Branch: Version-0_9_16-branch
          Import_from_Outlook_-_Deutsch

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

Log Message:
replaced <br> with <br /> and <hr> with <hr /> for better w3c compatibility
=====================================================================
Index: addressbook/inc/import/Import_from_Outlook_-_Deutsch
diff -u addressbook/inc/import/Import_from_Outlook_-_Deutsch:1.2.6.2 
addressbook/inc/import/Import_from_Outlook_-_Deutsch:1.2.6.3
--- addressbook/inc/import/Import_from_Outlook_-_Deutsch:1.2.6.2        Wed Mar 
 3 14:50:18 2004
+++ addressbook/inc/import/Import_from_Outlook_-_Deutsch        Sat Nov  6 
16:13:48 2004
@@ -136,7 +136,7 @@
                function import_new_attrib($buffer,$name,$value)
                {
                        $value = trim($value);
-                       $value = str_replace('\n','<BR>',$value);
+                       $value = str_replace('\n','<br />',$value);
                        $value = str_replace('\r','',$value);
 //                     $this->currentrecord += array($name => $value);
 
@@ -155,7 +155,7 @@
 //                     while ( list($name, $value) = 
each($this->currentrecord))
 //                     {
 //                             $buffer[$this->id][$name] = $value;
-//                             //echo '<br>'.$name.' => '.$value;
+//                             //echo '<br />'.$name.' => '.$value;
 //                     }
 //                     return $buffer;
 
@@ -180,19 +180,19 @@
                        return lang('Successfully imported %1 records into your 
addressbook.',$num);
 
 //                     $contacts = CreateObject('phpgwapi.contacts');
-//                     //echo '<br>'; 
+//                     //echo '<br />'; 
 //                     for ($i=1;$i<=count($buffer);$i++)
 //                     {
 //                             while ( list($name,$value) = @each($buffer[$i]) 
)
 //                             {
-//                                     //echo '<br>'.$i.': '.$name.' => 
'.$value;
+//                                     //echo '<br />'.$i.': '.$name.' => 
'.$value;
 //                                     $entry[$i][$name] = $value;
 //                             }
 //                             $entry[$i]['email_type']      = 'INTERNET';
 //                             $entry[$i]['email_home_type'] = 'INTERNET';
 //                             $entry[$i]['adr_one_type']    = 'intl';
 //                             $entry[$i]['adr_two_type']    = 'intl';
-//                             //echo '<br>';
+//                             //echo '<br />';
 //                             
$contacts->add($GLOBALS['phpgw_info']['user']['account_id'],$entry[$i],$access,$cat_id);
 //                     }
 //                     $num = $i - 1;




reply via email to

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