didou           Wed Jul 16 13:14:17 2003 EDT

  Modified files:              
    /phpdoc/en/reference/image/functions        getimagesize.xml 
                                                imagecolorallocate.xml 
                                                imagecolordeallocate.xml 
                                                imagecreatefromgif.xml 
                                                imagecreatefromjpeg.xml 
                                                imagecreatefrompng.xml 
                                                imagecreatefromwbmp.xml 
                                                imagegif.xml 
  Log:
  adding PHP tags in the examples
  
Index: phpdoc/en/reference/image/functions/getimagesize.xml
diff -u phpdoc/en/reference/image/functions/getimagesize.xml:1.14 
phpdoc/en/reference/image/functions/getimagesize.xml:1.15
--- phpdoc/en/reference/image/functions/getimagesize.xml:1.14   Sun Jun  1 17:12:59 
2003
+++ phpdoc/en/reference/image/functions/getimagesize.xml        Wed Jul 16 13:14:17 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.getimagesize">
   <refnamediv>
@@ -52,7 +52,9 @@
      <title>getimagesize (URL)</title>
      <programlisting role="php">
 <![CDATA[
-<?php $size = getimagesize ("http://www.example.com/gifs/logo.gif";); ?>
+<?php 
+$size = getimagesize ("http://www.example.com/gifs/logo.gif";); 
+?>
 ]]>
      </programlisting>
     </example>
Index: phpdoc/en/reference/image/functions/imagecolorallocate.xml
diff -u phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.4 
phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.5
--- phpdoc/en/reference/image/functions/imagecolorallocate.xml:1.4      Fri Jun 20 
10:37:21 2003
+++ phpdoc/en/reference/image/functions/imagecolorallocate.xml  Wed Jul 16 13:14:17 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecolorallocate">
   <refnamediv>
@@ -30,8 +30,10 @@
     <informalexample>
      <programlisting role="php">
 <![CDATA[
+<?php
 $white = imagecolorallocate ($im, 255, 255, 255);
 $black = imagecolorallocate ($im, 0, 0, 0);
+?>
 ]]>
      </programlisting>
     </informalexample>
Index: phpdoc/en/reference/image/functions/imagecolordeallocate.xml
diff -u phpdoc/en/reference/image/functions/imagecolordeallocate.xml:1.4 
phpdoc/en/reference/image/functions/imagecolordeallocate.xml:1.5
--- phpdoc/en/reference/image/functions/imagecolordeallocate.xml:1.4    Fri Jun 20 
10:37:21 2003
+++ phpdoc/en/reference/image/functions/imagecolordeallocate.xml        Wed Jul 16 
13:14:17 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecolordeallocate">
   <refnamediv>
@@ -21,8 +21,10 @@
     <informalexample>
      <programlisting role="php">
 <![CDATA[
+<?php
 $white = imagecolorallocate ($im, 255, 255, 255);
 imagecolordeallocate ($im, $white);
+?>
 ]]>
      </programlisting>
     </informalexample>
Index: phpdoc/en/reference/image/functions/imagecreatefromgif.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.6 
phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.7
--- phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.6      Tue Jan 14 
06:00:21 2003
+++ phpdoc/en/reference/image/functions/imagecreatefromgif.xml  Wed Jul 16 13:14:17 
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.2 -->
   <refentry id="function.imagecreatefromgif">
    <refnamediv>
@@ -28,6 +28,7 @@
       </title>
       <programlisting role="php">
 <![CDATA[
+<?php
 function LoadGif ($imgname) {
     $im = @imagecreatefromgif ($imgname); /* Attempt to open */
     if (!$im) { /* See if it failed */
@@ -40,6 +41,7 @@
     }
     return $im;
 }
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.4 
phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.5
--- phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.4     Thu Sep 26 
09:56:54 2002
+++ phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml Wed Jul 16 13:14:17 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.4 -->
   <refentry id="function.imagecreatefromjpeg">
    <refnamediv>
@@ -28,6 +28,7 @@
       </title>
       <programlisting role="php">
 <![CDATA[
+<?php
 function LoadJpeg ($imgname) {
     $im = @imagecreatefromjpeg ($imgname); /* Attempt to open */
     if (!$im) { /* See if it failed */
@@ -40,6 +41,7 @@
     }
     return $im;
 }
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/image/functions/imagecreatefrompng.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.4 
phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.5
--- phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.4      Thu Sep 26 
09:56:54 2002
+++ phpdoc/en/reference/image/functions/imagecreatefrompng.xml  Wed Jul 16 13:14:17 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.4 -->
   <refentry id="function.imagecreatefrompng">
    <refnamediv>
@@ -28,6 +28,7 @@
       </title>
       <programlisting role="php">
 <![CDATA[
+<?php
 function LoadPNG ($imgname) {
     $im = @imagecreatefrompng ($imgname); /* Attempt to open */
     if (!$im) { /* See if it failed */
@@ -40,6 +41,7 @@
     }
     return $im;
 }
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.4 
phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.5
--- phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.4     Thu Sep 26 
09:56:54 2002
+++ phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml Wed Jul 16 13:14:17 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.30 -->
   <refentry id="function.imagecreatefromwbmp">
    <refnamediv>
@@ -28,6 +28,7 @@
       </title>
       <programlisting role="php">
 <![CDATA[
+<?php
 function LoadWBMP ($imgname) {
     $im = @imagecreatefromwbmp ($imgname); /* Attempt to open */
     if (!$im) { /* See if it failed */
@@ -40,6 +41,7 @@
     }
     return $im;
 }
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/image/functions/imagegif.xml
diff -u phpdoc/en/reference/image/functions/imagegif.xml:1.4 
phpdoc/en/reference/image/functions/imagegif.xml:1.5
--- phpdoc/en/reference/image/functions/imagegif.xml:1.4        Wed Jun 18 11:25:06 
2003
+++ phpdoc/en/reference/image/functions/imagegif.xml    Wed Jul 16 13:14:17 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.3 -->
   <refentry id="function.imagegif">
    <refnamediv>
@@ -83,12 +83,14 @@
        <informalexample>
         <programlisting role="php">
 <![CDATA[
+<?php
 if (imagetypes() & IMG_GIF) {
     header ("Content-type: image/gif");
     imagegif ($im);
 }
 elseif (imagetypes() & IMG_JPG) {
         ... etc.
+?>
 ]]>
         </programlisting>
        </informalexample>
@@ -97,7 +99,7 @@
     </para>
     <para>
      See also <function>imagepng</function>, <function>imagewbmp</function>,
-     <function>imagejpeg</function>, <function>imagetypes</function>.
+     <function>imagejpeg</function> and <function>imagetypes</function>.
     </para>
    </refsect1>
   </refentry>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to