didou           Thu Dec 18 12:44:50 2003 EDT

  Modified files:              
    /phpdoc/en/reference/ifx/functions  ifx-getsqlca.xml 
    /phpdoc/en/reference/image/functions        exif-read-data.xml 
                                                exif-thumbnail.xml 
                                                image-type-to-mime-type.xml 
                                                imagechar.xml imagecharup.xml 
                                                imageellipse.xml 
                                                imagefilledellipse.xml 
                                                imagegif.xml imagepolygon.xml 
                                                imagettftext.xml 
    /phpdoc/en/reference/imap/functions imap-createmailbox.xml 
                                        imap-fetch-overview.xml 
                                        imap-get-quota.xml 
                                        imap-get-quotaroot.xml 
                                        imap-rfc822-write-address.xml 
                                        imap-setflag-full.xml 
                                        imap-status.xml 
  Log:
  some more CS
  
Index: phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml
diff -u phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml:1.4 
phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml:1.5
--- phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml:1.4      Thu Dec 11 10:41:59 
2003
+++ phpdoc/en/reference/ifx/functions/ifx-getsqlca.xml  Thu Dec 18 12:44:48 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/ifx.xml, last change in rev 1.2 -->
   <refentry id="function.ifx-getsqlca">
    <refnamediv>
@@ -44,10 +44,10 @@
 /* assume the first column of 'sometable' is a serial */
 $qid = ifx_query("insert into sometable 
                   values (0, '2nd column', 'another column') ", $connid);
-if (! $qid) {
+if (!$qid) {
     /* ... error ... */
 }
-$sqlca = ifx_getsqlca ($qid);
+$sqlca = ifx_getsqlca($qid);
 $serial_value = $sqlca["sqlerrd1"];
 echo "The serial value of the inserted row is : $serial_value<br />\n"; 
 ?>
Index: phpdoc/en/reference/image/functions/exif-read-data.xml
diff -u phpdoc/en/reference/image/functions/exif-read-data.xml:1.17 
phpdoc/en/reference/image/functions/exif-read-data.xml:1.18
--- phpdoc/en/reference/image/functions/exif-read-data.xml:1.17 Wed Dec 17 09:32:29 
2003
+++ phpdoc/en/reference/image/functions/exif-read-data.xml      Thu Dec 18 12:44:49 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.78 -->
   <refentry id="function.exif-read-data">
    <refnamediv>
@@ -105,10 +105,10 @@
 <?php
 
 echo "test1.jpg:<br />\n";
-$exif = exif_read_data ('tests/test1.jpg', 'IFD0');
+$exif = exif_read_data('tests/test1.jpg', 'IFD0');
 echo $exif===false ? "No header data found.<br />\n" : "Image contains headers<br />";
 
-$exif = exif_read_data ('tests/test2.jpg', 0, true);
+$exif = exif_read_data('tests/test2.jpg', 0, true);
 echo "test2.jpg:<br />\n";
 foreach ($exif as $key => $section) {
     foreach ($section as $name => $val) {
Index: phpdoc/en/reference/image/functions/exif-thumbnail.xml
diff -u phpdoc/en/reference/image/functions/exif-thumbnail.xml:1.5 
phpdoc/en/reference/image/functions/exif-thumbnail.xml:1.6
--- phpdoc/en/reference/image/functions/exif-thumbnail.xml:1.5  Mon Dec 15 11:51:11 
2003
+++ phpdoc/en/reference/image/functions/exif-thumbnail.xml      Thu Dec 18 12:44:49 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.78 -->
  <refentry id="function.exif-thumbnail">
   <refnamediv>
@@ -46,7 +46,7 @@
     $image = false;
 }
 if ($image!==false) {
-    header("Content-type: ".image_type_to_mime_type($type));
+    header("Content-type: " .image_type_to_mime_type($type));
     echo $image;
     exit;
 } else {
Index: phpdoc/en/reference/image/functions/image-type-to-mime-type.xml
diff -u phpdoc/en/reference/image/functions/image-type-to-mime-type.xml:1.3 
phpdoc/en/reference/image/functions/image-type-to-mime-type.xml:1.4
--- phpdoc/en/reference/image/functions/image-type-to-mime-type.xml:1.3 Mon Dec 15 
11:51:11 2003
+++ phpdoc/en/reference/image/functions/image-type-to-mime-type.xml     Thu Dec 18 
12:44:49 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.image-type-to-mime-type">
   <refnamediv>
@@ -21,7 +21,7 @@
      <programlisting role="php">
 <![CDATA[
 <?php
-header("Content-type: ".image_type_to_mime_type (IMAGETYPE_PNG));
+header("Content-type: " . image_type_to_mime_type(IMAGETYPE_PNG));
 ?>
 ]]>
      </programlisting>
Index: phpdoc/en/reference/image/functions/imagechar.xml
diff -u phpdoc/en/reference/image/functions/imagechar.xml:1.6 
phpdoc/en/reference/image/functions/imagechar.xml:1.7
--- phpdoc/en/reference/image/functions/imagechar.xml:1.6       Mon Aug 25 01:36:45 
2003
+++ phpdoc/en/reference/image/functions/imagechar.xml   Thu Dec 18 12:44:49 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagechar">
   <refnamediv>
@@ -33,7 +33,7 @@
 <![CDATA[
 <?php
 
-$im = imagecreate(100,100);
+$im = imagecreate(100, 100);
 
 $string = 'PHP';
 
Index: phpdoc/en/reference/image/functions/imagecharup.xml
diff -u phpdoc/en/reference/image/functions/imagecharup.xml:1.5 
phpdoc/en/reference/image/functions/imagecharup.xml:1.6
--- phpdoc/en/reference/image/functions/imagecharup.xml:1.5     Fri Aug 15 18:50:50 
2003
+++ phpdoc/en/reference/image/functions/imagecharup.xml Thu Dec 18 12:44:49 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecharup">
   <refnamediv>
@@ -33,7 +33,7 @@
 <![CDATA[
 <?php
 
-$im = imagecreate(100,100);
+$im = imagecreate(100, 100);
 
 $string = 'Note that the first letter is a N';
 
Index: phpdoc/en/reference/image/functions/imageellipse.xml
diff -u phpdoc/en/reference/image/functions/imageellipse.xml:1.6 
phpdoc/en/reference/image/functions/imageellipse.xml:1.7
--- phpdoc/en/reference/image/functions/imageellipse.xml:1.6    Thu Nov  6 10:24:36 
2003
+++ phpdoc/en/reference/image/functions/imageellipse.xml        Thu Dec 18 12:44:49 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imageellipse">
   <refnamediv>
@@ -37,13 +37,13 @@
 <?php
 
 // create a blank image
-$image = imagecreate(400,300);
+$image = imagecreate(400, 300);
 
 // fill the background color
-$bg = imagecolorallocate($image,0,0,0);
+$bg = imagecolorallocate($image, 0, 0, 0);
 
 // choose a color for the ellipse
-$col_ellipse = imagecolorallocate($image,255,255,255);
+$col_ellipse = imagecolorallocate($image, 255, 255, 255);
 
 // draw the ellipse
 imageellipse($image, 200, 150, 300, 200, $col_ellipse);
Index: phpdoc/en/reference/image/functions/imagefilledellipse.xml
diff -u phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.8 
phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.9
--- phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.8      Wed Dec 17 
09:32:29 2003
+++ phpdoc/en/reference/image/functions/imagefilledellipse.xml  Thu Dec 18 12:44:49 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagefilledellipse">
   <refnamediv>
@@ -38,13 +38,13 @@
 <?php
 
 // create a blank image
-$image = imagecreate(400,300);
+$image = imagecreate(400, 300);
 
 // fill the background color
-$bg = imagecolorallocate($image,0,0,0);
+$bg = imagecolorallocate($image, 0, 0, 0);
 
 // choose a color for the ellipse
-$col_ellipse = imagecolorallocate($image,255,255,255);
+$col_ellipse = imagecolorallocate($image, 255, 255, 255);
 
 // draw the white ellipse
 imagefilledellipse($image, 200, 150, 300, 200, $col_ellipse);
Index: phpdoc/en/reference/image/functions/imagegif.xml
diff -u phpdoc/en/reference/image/functions/imagegif.xml:1.7 
phpdoc/en/reference/image/functions/imagegif.xml:1.8
--- phpdoc/en/reference/image/functions/imagegif.xml:1.7        Mon Dec 15 11:51:11 
2003
+++ phpdoc/en/reference/image/functions/imagegif.xml    Thu Dec 18 12:44:49 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.3 -->
   <refentry id="function.imagegif">
    <refnamediv>
@@ -51,17 +51,17 @@
 <![CDATA[
 <?php
 if (function_exists("imagegif")) {
-    header ("Content-type: image/gif");
-    imagegif ($im);
+    header("Content-type: image/gif");
+    imagegif($im);
 } elseif (function_exists("imagejpeg")) {
-    header ("Content-type: image/jpeg");
-    imagejpeg ($im, "", 0.5);
+    header("Content-type: image/jpeg");
+    imagejpeg($im, "", 0.5);
 } elseif (function_exists("imagepng")) {
-    header ("Content-type: image/png");
-    imagepng ($im);
+    header("Content-type: image/png");
+    imagepng($im);
 } elseif (function_exists("imagewbmp")) {
-    header ("Content-type: image/vnd.wap.wbmp");
-    imagewbmp ($im);
+    header("Content-type: image/vnd.wap.wbmp");
+    imagewbmp($im);
 } else {
     die("No image support in this PHP server");
 }
Index: phpdoc/en/reference/image/functions/imagepolygon.xml
diff -u phpdoc/en/reference/image/functions/imagepolygon.xml:1.7 
phpdoc/en/reference/image/functions/imagepolygon.xml:1.8
--- phpdoc/en/reference/image/functions/imagepolygon.xml:1.7    Wed Dec 17 09:32:29 
2003
+++ phpdoc/en/reference/image/functions/imagepolygon.xml        Thu Dec 18 12:44:49 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 -->
   <refentry id="function.imagepolygon">
    <refnamediv>
@@ -29,13 +29,13 @@
 <![CDATA[
 <?php
 // create a blank image
-$image = imagecreate(400,300);
+$image = imagecreate(400, 300);
 
 // fill the background color
-$bg = imagecolorallocate($image,0,0,0);
+$bg = imagecolorallocate($image, 0, 0, 0);
 
 // choose a color for the polygon
-$col_poly = imagecolorallocate($image,255,255,255);
+$col_poly = imagecolorallocate($image, 255, 255, 255);
 
 // draw the polygon
 imagepolygon($image, 
Index: phpdoc/en/reference/image/functions/imagettftext.xml
diff -u phpdoc/en/reference/image/functions/imagettftext.xml:1.9 
phpdoc/en/reference/image/functions/imagettftext.xml:1.10
--- phpdoc/en/reference/image/functions/imagettftext.xml:1.9    Wed Dec 17 09:32:29 
2003
+++ phpdoc/en/reference/image/functions/imagettftext.xml        Thu Dec 18 12:44:49 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 -->
   <refentry id="function.imagettftext">
    <refnamediv>
@@ -76,9 +76,9 @@
 <![CDATA[
 <?php
   header("Content-type: image/jpeg");
-  $im = imagecreate(400,30);
-  $white = imagecolorallocate($im, 255,255,255);
-  $black = imagecolorallocate($im, 0,0,0);
+  $im = imagecreate(400, 30);
+  $white = imagecolorallocate($im, 255, 255, 255);
+  $black = imagecolorallocate($im, 0, 0, 0);
   
   // Replace path by your own font path
   imagettftext($im, 20, 0, 10, 20, $black, "/path/arial.ttf",
Index: phpdoc/en/reference/imap/functions/imap-createmailbox.xml
diff -u phpdoc/en/reference/imap/functions/imap-createmailbox.xml:1.7 
phpdoc/en/reference/imap/functions/imap-createmailbox.xml:1.8
--- phpdoc/en/reference/imap/functions/imap-createmailbox.xml:1.7       Mon Dec 15 
11:51:13 2003
+++ phpdoc/en/reference/imap/functions/imap-createmailbox.xml   Thu Dec 18 12:44:50 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -->
   <refentry id="function.imap-createmailbox">
    <refnamediv>
@@ -46,7 +46,7 @@
 # we will now create a new mailbox "phptestbox" in your inbox folder,
 # check its status after creation and finaly remove it to restore
 # your inbox to its initial state 
-if (@imap_createmailbox($mbox,imap_utf7_encode("{your.imap.host}INBOX.$newname"))) {
+if (@imap_createmailbox($mbox, imap_utf7_encode("{your.imap.host}INBOX.$newname"))) {
   $status = @imap_status($mbox, "{your.imap.host}INBOX.$newname", SA_ALL);
   if ($status) {
     echo "your new mailbox '$name1' has the following status:<br />\n";
Index: phpdoc/en/reference/imap/functions/imap-fetch-overview.xml
diff -u phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.5 
phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.6
--- phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.5      Mon Dec 15 
11:51:13 2003
+++ phpdoc/en/reference/imap/functions/imap-fetch-overview.xml  Thu Dec 18 12:44:50 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/imap.xml, last change in rev 1.33 -->
   <refentry id="function.imap-fetch-overview">
    <refnamediv>
@@ -103,7 +103,7 @@
 <![CDATA[
 <?php
 $mbox = imap_open("{your.imap.host:143}", "username", "password")
-     or die("can't connect: ".imap_last_error());
+     or die("can't connect: " . imap_last_error());
  
 $overview = imap_fetch_overview($mbox, "2,4:6", 0);
  
Index: phpdoc/en/reference/imap/functions/imap-get-quota.xml
diff -u phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.10 
phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.11
--- phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.10  Mon Dec 15 11:51:13 
2003
+++ phpdoc/en/reference/imap/functions/imap-get-quota.xml       Thu Dec 18 12:44:50 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
 <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -->
   <refentry id="function.imap-get-quota">
    <refnamediv>
@@ -80,7 +80,7 @@
 <![CDATA[
 <?php
 $mbox = imap_open("{your.imap.host}", "mailadmin", "password", OP_HALFOPEN)
-      or die("can't connect: ".imap_last_error());
+      or die("can't connect: " . imap_last_error());
        
 $quota_values = imap_get_quota($mbox, "user.kalowsky");
 if (is_array($quota_values)) {
Index: phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml
diff -u phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml:1.4 
phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml:1.5
--- phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml:1.4       Mon Dec 15 
11:51:13 2003
+++ phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml   Thu Dec 18 12:44:50 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
   <refentry id="function.imap-get-quotaroot">
    <refnamediv>
     <refname>imap_get_quotaroot</refname>
@@ -44,7 +44,7 @@
 <![CDATA[
 <?php
 $mbox = imap_open("{your.imap.host}", "kalowsky", "password", OP_HALFOPEN)
-      or die("can't connect: ".imap_last_error());
+      or die("can't connect: " . imap_last_error());
  
 $quota = imap_get_quotaroot($mbox, "INBOX");
 if (is_array($quota)) {
Index: phpdoc/en/reference/imap/functions/imap-rfc822-write-address.xml
diff -u phpdoc/en/reference/imap/functions/imap-rfc822-write-address.xml:1.5 
phpdoc/en/reference/imap/functions/imap-rfc822-write-address.xml:1.6
--- phpdoc/en/reference/imap/functions/imap-rfc822-write-address.xml:1.5        Mon 
Dec 15 11:51:13 2003
+++ phpdoc/en/reference/imap/functions/imap-rfc822-write-address.xml    Thu Dec 18 
12:44:50 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -->
   <refentry id="function.imap-rfc822-write-address">
    <refnamediv>
@@ -28,7 +28,7 @@
       <programlisting role="php">
 <![CDATA[
 <?php
-echo imap_rfc822_write_address("hartmut", "cvs.php.net", "Hartmut Holzgraefe")."\n";  
    
+echo imap_rfc822_write_address("hartmut", "cvs.php.net", "Hartmut Holzgraefe") . 
"\n";      
 ?>
 ]]>
       </programlisting>
Index: phpdoc/en/reference/imap/functions/imap-setflag-full.xml
diff -u phpdoc/en/reference/imap/functions/imap-setflag-full.xml:1.6 
phpdoc/en/reference/imap/functions/imap-setflag-full.xml:1.7
--- phpdoc/en/reference/imap/functions/imap-setflag-full.xml:1.6        Mon Dec 15 
11:51:13 2003
+++ phpdoc/en/reference/imap/functions/imap-setflag-full.xml    Thu Dec 18 12:44:50 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -->
   <refentry id="function.imap-setflag-full">
    <refnamediv>
@@ -40,12 +40,12 @@
 <![CDATA[
 <?php
 $mbox = imap_open("{your.imap.host:143}", "username", "password")
-     or die("can't connect: ".imap_last_error());
+     or die("can't connect: " . imap_last_error());
  
 $status = imap_setflag_full($mbox, "2,5", "\\Seen \\Flagged");
  
-echo gettype($status)."\n";
-echo $status."\n";
+echo gettype($status) . "\n";
+echo $status . "\n";
  
 imap_close($mbox);
 ?>
Index: phpdoc/en/reference/imap/functions/imap-status.xml
diff -u phpdoc/en/reference/imap/functions/imap-status.xml:1.6 
phpdoc/en/reference/imap/functions/imap-status.xml:1.7
--- phpdoc/en/reference/imap/functions/imap-status.xml:1.6      Mon Dec 15 11:51:13 
2003
+++ phpdoc/en/reference/imap/functions/imap-status.xml  Thu Dec 18 12:44:50 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -->
   <refentry id="function.imap-status">
    <refnamediv>
@@ -69,7 +69,7 @@
 <![CDATA[
 <?php
 $mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN)
-      or die("can't connect: ". imap_last_error());
+      or die("can't connect: " . imap_last_error());
  
 $status = imap_status($mbox, "{your.imap.host}INBOX", SA_ALL);
 if ($status) {

Reply via email to