[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] email/inc/class.bojsaddressbook.inc.php, 1.2.2.1
From: |
nomail |
Subject: |
[Phpgroupware-cvs] email/inc/class.bojsaddressbook.inc.php, 1.2.2.1 |
Date: |
Sat, 6 Nov 2004 17:13:46 +0100 |
Update of /email/inc
Modified Files:
Branch: Version-0_9_16-branch
class.bojsaddressbook.inc.php
date: 2004/11/06 16:13:46; author: powerstat; state: Exp; lines: +14 -14
Log Message:
replaced <br> with <br /> and <hr> with <hr /> for better w3c compatibility
=====================================================================
Index: email/inc/class.bojsaddressbook.inc.php
diff -u email/inc/class.bojsaddressbook.inc.php:1.2
email/inc/class.bojsaddressbook.inc.php:1.2.2.1
--- email/inc/class.bojsaddressbook.inc.php:1.2 Fri Mar 14 04:00:10 2003
+++ email/inc/class.bojsaddressbook.inc.php Sat Nov 6 16:13:46 2004
@@ -210,7 +210,7 @@
}//end switch
}//end while
-// print "<BR> built query";
+// print "<br /> built query";
// print_r($this->contactquery);
}//end function
@@ -310,7 +310,7 @@
function set_destboxes($aryboxes,$deleted='')
{
//print_r($aryboxes);
-// print "<br> SAVed DESTBOXES <br>";
+// print "<br /> SAVed DESTBOXES <br />";
//We get our own destboxes from the cache
$saveddestboxes=$this->get_destboxes();
// print_r($saveddestboxes);
@@ -318,9 +318,9 @@
//We iterate into each box
while(list($ak,$li)=each($aryboxes))
{
-// print $ak." ".$li."<BR>";
+// print $ak." ".$li."<br />";
// print_r($li);
-// print "<br>";
+// print "<br />";
//We make shure this box has an array in it
if($aryboxes[$ak])
{
@@ -328,7 +328,7 @@
//for its values in the cache
while(list($numary,$ary)=each($aryboxes[$ak]))
{
-// print "<br> Iterating aryboxes
$numary";
+// print "<br /> Iterating
aryboxes $numary";
// print_r($ary);
list($id,$name)=each($ary);
//Look for this record in the
cached destboxes
@@ -342,12 +342,12 @@
//out of the
cached destbox
list($sid,$sname)=each($arysave);
-// print "<br>
Iterating destboxes $id -> $name / $sid $sname";
+// print "<br />
Iterating destboxes $id -> $name / $sid $sname";
//So we can
compare it and set the email field in it
if($id==$sid)
{
-// print
"<br> found $id in $ak";
-// print
"<br> seting mail to $arysave[email]";
+// print
"<br /> found $id in $ak";
+// print
"<br /> seting mail to $arysave[email]";
$ary['email']=$arysave['email'];
$aryboxes[$ak][$numary]=$ary;
@@ -365,12 +365,12 @@
//We iterate into the query
cache
while(list($num,$record)=each($this->result))
{
-// print "<br> Iterating
results $id ---> $name <br>$record[id]---> $record[email]";
+// print "<br /> Iterating
results $id ---> $name <br />$record[id]---> $record[email]";
//Found what we are
looking for
if($id == $record["id"])
{
//Set the mail
record to what it should be
-// print "<br>
seting mail to $record[email] <br>";
+// print "<br />
seting mail to $record[email] <br />";
$ary['email']=($record["email"] ? $record["email"] : $record["home_email"]);
$aryboxes[$ak][$numary]=$ary;
$retboxes[$ak][$id]['email']= $ary['email'];
@@ -385,13 +385,13 @@
}
elseif(!$deleted[$ak])
{
-// print "<br>Saving $ak from destination
data $deleted[$ak]<br>";
+// print "<br />Saving $ak from
destination data $deleted[$ak]<br />";
// print_r($deleted);
//Delete the destboxes that need
deletion
$aryboxes[$ak]=$saveddestboxes[$ak];
}
}
-// print "<br>modified<br>";
+// print "<br />modified<br />";
// print_r($aryboxes);
reset($aryboxes);
//Save the resulting destboxes
@@ -418,7 +418,7 @@
}
if($this->debug)
{
- echo '<br>Saving: ';
+ echo '<br />Saving: ';
_debug_array($data);
}
}
@@ -433,7 +433,7 @@
$data =
$GLOBALS['phpgw']->session->appsession('session_data','jsbook_data'.($location
? '_'.$location :""));
if($this->debug)
{
- echo '<br>Read: ';
+ echo '<br />Read: ';
_debug_array($data);
}
return $data;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] email/inc/class.bojsaddressbook.inc.php, 1.2.2.1,
nomail <=