phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] addressbook/inc/class.boaddressbook.inc.php, 1.21.2.2


From: nomail
Subject: [Phpgroupware-cvs] addressbook/inc/class.boaddressbook.inc.php, 1.21.2.2.2.29
Date: Sat, 6 Nov 2004 17:13:43 +0100

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

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

Log Message:
replaced <br> with <br /> and <hr> with <hr /> for better w3c compatibility
=====================================================================
Index: addressbook/inc/class.boaddressbook.inc.php
diff -u addressbook/inc/class.boaddressbook.inc.php:1.21.2.2.2.28 
addressbook/inc/class.boaddressbook.inc.php:1.21.2.2.2.29
--- addressbook/inc/class.boaddressbook.inc.php:1.21.2.2.2.28   Wed Sep  8 
17:00:06 2004
+++ addressbook/inc/class.boaddressbook.inc.php Sat Nov  6 16:13:43 2004
@@ -71,7 +71,7 @@
                {
                        if ($this->use_session)
                        {
-                               if($this->debug) { echo '<br>Save:'; 
_debug_array($data); }
+                               if($this->debug) { echo '<br />Save:'; 
_debug_array($data); }
                                
$GLOBALS['phpgw']->session->appsession('session_data','addressbook',$data);
                        }
                }
@@ -80,7 +80,7 @@
                function read_sessiondata()
                {
                        $data = 
$GLOBALS['phpgw']->session->appsession('session_data','addressbook');
-                       if($this->debug) { echo '<br>Read:'; 
_debug_array($data); }
+                       if($this->debug) { echo '<br />Read:'; 
_debug_array($data); }
 
                        $this->start  = $data['start'];
                        $this->limit  = $data['limit'];
@@ -90,7 +90,7 @@
                        $this->filter = $data['filter'];
                        $this->cat_id = $data['cat_id'];
                        $this->qfield = $data['qfield'];
-                       if($this->debug) { echo '<br>read_sessiondata();'; 
$this->_debug_sqsof(); }
+                       if($this->debug) { echo '<br />read_sessiondata();'; 
$this->_debug_sqsof(); }
                }
 
                function _set_session_data()
@@ -108,7 +108,7 @@
 
                        if(!empty($_start) || ($_start == '0') || ($_start == 
0))
                        {
-                               if($this->debug) { echo '<br>overriding $start: 
"' . $this->start . '" now "' . $_start . '"'; }
+                               if($this->debug) { echo '<br />overriding 
$start: "' . $this->start . '" now "' . $_start . '"'; }
                                $this->start = $_start;
                        }
                        if($_limit)
@@ -117,7 +117,7 @@
                        }
                        if((empty($_query) && !empty($this->query)) || 
!empty($_query))
                        {
-                               if($this->debug) { echo '<br>overriding $query: 
"' . $this->query . '" now "' . urldecode(addslashes($_query)) . '"'; }
+                               if($this->debug) { echo '<br />overriding 
$query: "' . $this->query . '" now "' . urldecode(addslashes($_query)) . '"'; }
                                if($this->query != 
urldecode(addslashes($_query)))
                                {
                                        $this->start = 0;
@@ -127,7 +127,7 @@
 
                        if(isset($_fcat_id) && $_fcat_id!='')
                        {
-                               if($this->debug) { echo '<br>overriding 
$cat_id: "' . $this->cat_id . '" now "' . $_fcat_id . '"'; }
+                               if($this->debug) { echo '<br />overriding 
$cat_id: "' . $this->cat_id . '" now "' . $_fcat_id . '"'; }
                                if($this->cat_id != $_fcat_id)
                                {
                                        $this->start = 0;
@@ -137,19 +137,19 @@
 
                        if(isset($_sort)   && !empty($_sort))
                        {
-                               if($this->debug) { echo '<br>overriding $sort: 
"' . $this->sort . '" now "' . $_sort . '"'; }
+                               if($this->debug) { echo '<br />overriding 
$sort: "' . $this->sort . '" now "' . $_sort . '"'; }
                                $this->sort   = $_sort;
                        }
 
                        if(isset($_order)  && !empty($_order))
                        {
-                               if($this->debug) { echo '<br>overriding $order: 
"' . $this->order . '" now "' . $_order . '"'; }
+                               if($this->debug) { echo '<br />overriding 
$order: "' . $this->order . '" now "' . $_order . '"'; }
                                $this->order  = $_order;
                        }
 
                        if(isset($_filter) && !empty($_filter))
                        {
-                               if($this->debug) { echo '<br>overriding 
$filter: "' . $this->filter . '" now "' . $_filter . '"'; }
+                               if($this->debug) { echo '<br />overriding 
$filter: "' . $this->filter . '" now "' . $_filter . '"'; }
                                if($this->filter != $_filter)
                                {
                                        $this->start = 0;
@@ -240,7 +240,7 @@
                * @param string $orderby The field which you want order
                * @param string $sort ASC | DESC depending what you want
                * @param mixed $criteria All criterias what you want
-               * @param mixed $criteria_token same like $criteria but 
builded<br>with sql_criteria class, more powerfull
+               * @param mixed $criteria_token same like $criteria but 
builded<br />with sql_criteria class, more powerfull
                * @return array with records
                */
                function get_persons($fields, $start='', $limit='', 
$orderby='', $sort='', $criteria='', $token_criteria='')
@@ -349,7 +349,7 @@
                * @param string $orderby The field which you want order
                * @param string $sort ASC | DESC depending what you want
                * @param array $criteria All criterias what you want
-               * @param mixed $criteria_token same like $criteria but 
builded<br>with sql_criteria class, more powerfull
+               * @param mixed $criteria_token same like $criteria but 
builded<br />with sql_criteria class, more powerfull
                * @return array with records
                */
                function get_orgs($fields, $start='', $limit='', $orderby='', 
$sort='', $criteria='', $token_criteria='')
@@ -753,7 +753,7 @@
                                /* _debug_array($prefs);exit; */
                                while (list($pref,$x) = each($qfields))
                                {
-                                       /* echo '<br>checking: ' . $pref . '=' 
. $prefs[$pref]; */
+                                       /* echo '<br />checking: ' . $pref . 
'=' . $prefs[$pref]; */
                                        if ($prefs[$pref] == 'on')
                                        {
                                                
$GLOBALS['phpgw']->preferences->add('addressbook',$pref,'addressbook_on');
@@ -893,7 +893,7 @@
                                'cat_id' => $this->cat_id,
                                'qfield' => $this->qfield
                        );
-                       echo '<br>BO:';
+                       echo '<br />BO:';
                        _debug_array($data);
                }
 




reply via email to

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