cvs: pear /HTML_Progress/examples/newshape circleback.html circleback.php circleplain.html circleplain.php ellipse.html ellipse.php rectangle.html
rectangle.php rectangleback.html rectangleback.php square.html square.php squareback.html squareback.php
| From: | Laurent Laville | Date: | Mon, 25 Jul 2005 11:19:44 +0000 |
| Subject: | cvs: pear /HTML_Progress/examples/newshape circleback.html circleback.php circleplain.html circleplain.php ellipse.html ellipse.php rectangle.html rectangle.php rectangleback.html rectangleback.php square.html square.php squareback.html squareback.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-33293@lists.php.net to get a copy of this message | ||
farell Mon Jul 25 07:19:44 2005 EDT
Modified files:
/pear/HTML_Progress/examples/newshape circleback.html
circleback.php
circleplain.html
circleplain.php ellipse.html
ellipse.php rectangle.html
rectangle.php
rectangleback.html
rectangleback.php square.html
square.php squareback.html
squareback.php
Log:
Prepare examples to be removed from main package and moved into the optional package
http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/circleback.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/circleback.html diff -u pear/HTML_Progress/examples/newshape/circleback.html:1.2 pear/HTML_Progress/examples/newshape/circleback.html:1.3 --- pear/HTML_Progress/examples/newshape/circleback.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/circleback.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Circle Back</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -52,7 +52,7 @@ at right side of circle.</p> <p>A cache system is used on lines 29 thru 37, to avoid built pictures a second times.</p> - + <p>[<a href="#top">Top</a>]</p> @@ -88,7 +88,7 @@ <img src="../screenshots/cb100.png"/> </p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> <a target="_blank" href="../highlighter.php?file=./newshape/circleback.php">Open</a> source listing in a new window. @@ -102,4 +102,4 @@ <p>[<a href="#top">Top</a>]</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/circleback.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/circleback.php diff -u pear/HTML_Progress/examples/newshape/circleback.php:1.1 pear/HTML_Progress/examples/newshape/circleback.php:1.2 --- pear/HTML_Progress/examples/newshape/circleback.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/circleback.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Custom Circle Reverse Progress example. * - * @version $Id: circleback.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * @version $Id: circleback.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -44,13 +44,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -61,14 +61,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/circleplain.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/circleplain.html diff -u pear/HTML_Progress/examples/newshape/circleplain.html:1.2 pear/HTML_Progress/examples/newshape/circleplain.html:1.3 --- pear/HTML_Progress/examples/newshape/circleplain.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/circleplain.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Circle Plain</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -50,7 +50,7 @@ </ul> Percent text info is right aligned on a #EEEEEE background color area of 50 pixels width, at right side of circle.</p> - + <p>A cache system is used on lines 21 thru 29, to avoid built pictures a second times.</p> <p>[<a href="#top">Top</a>]</p> @@ -76,7 +76,7 @@ <a name="output"> -<h2><img src="../images/image.gif"/> Output</h2> +<h2><img src="../images/image.gif"/> Output</h2> <h3>Screenshots </h3> <p> <img src="../screenshots/circle000.png"/> @@ -86,7 +86,7 @@ </p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> <a target="_blank" href="../highlighter.php?file=./newshape/circleplain.php">Open</a> source listing in a new window. @@ -100,4 +100,4 @@ <p>[<a href="#top">Top</a>]</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/circleplain.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/circleplain.php diff -u pear/HTML_Progress/examples/newshape/circleplain.php:1.1 pear/HTML_Progress/examples/newshape/circleplain.php:1.2 --- pear/HTML_Progress/examples/newshape/circleplain.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/circleplain.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * plain Circle Progress example. * - * @version $Id: circleplain.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * @version $Id: circleplain.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -36,13 +36,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #EEEEEE; - color: #000000; - font-family: Verdana, Arial; + background-color: #EEEEEE; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -53,14 +53,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/ellipse.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/ellipse.html diff -u pear/HTML_Progress/examples/newshape/ellipse.html:1.2 pear/HTML_Progress/examples/newshape/ellipse.html:1.3 --- pear/HTML_Progress/examples/newshape/ellipse.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/ellipse.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Ellipse</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -43,7 +43,7 @@ <p>Percent text info is right aligned on a 100 pixels width area, at right side of progress shape.</p> - + <p>A cache system is used on lines 29 thru 37, to avoid built pictures a second times.</p> <p>[<a href="#top">Top</a>]</p> @@ -84,7 +84,7 @@ </p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> @@ -99,4 +99,4 @@ <p>[<a href="#top">Top</a>]</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/ellipse.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/ellipse.php diff -u pear/HTML_Progress/examples/newshape/ellipse.php:1.1 pear/HTML_Progress/examples/newshape/ellipse.php:1.2 --- pear/HTML_Progress/examples/newshape/ellipse.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/ellipse.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Ellipse Progress meter example. * - * @version $Id: ellipse.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * @version $Id: ellipse.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -44,13 +44,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -61,14 +61,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/rectangle.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/rectangle.html diff -u pear/HTML_Progress/examples/newshape/rectangle.html:1.2 pear/HTML_Progress/examples/newshape/rectangle.html:1.3 --- pear/HTML_Progress/examples/newshape/rectangle.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/rectangle.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Rectangle</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -44,7 +44,7 @@ <p>Cell coordinates are pre-computed (line 27) but free x-y-grid coordinates are also possible. Percent text info is centered on a white background area of 90 pixels width, at bottom side of polygonal shape.</p> - + <p>[<a href="#top">Top</a>]</p> @@ -77,7 +77,7 @@ <h3>Screenshot </h3> <p><img src="../screenshots/rect64.png"/></p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> @@ -90,4 +90,4 @@ <p><a href="rectangle.php">Run</a> the script.</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/rectangle.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/rectangle.php diff -u pear/HTML_Progress/examples/newshape/rectangle.php:1.1 pear/HTML_Progress/examples/newshape/rectangle.php:1.2 --- pear/HTML_Progress/examples/newshape/rectangle.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/rectangle.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Basic Rectangle Progress example. - * - * @version $Id: rectangle.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * + * @version $Id: rectangle.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -15,15 +15,15 @@ $bar->setIncrement(10); $ui =& $bar->getUI(); +$ui->setTab(' '); $ui->setStringAttributes('valign=bottom align=center width=90 height=30'); $ui->setOrientation(HTML_PROGRESS_POLYGONAL); $ui->setCellAttributes(array( - 'width' => 15, - 'height' => 15, - 'active-color' => 'red', - 'inactive-color' => 'orange', - ) -); + 'width' => 15, + 'height' => 15, + 'active-color' => 'red', + 'inactive-color' => 'orange', +)); $ui->setCellCoordinates(6,4); // Rectangle 6x4 ?> <html> @@ -34,13 +34,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -51,14 +51,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/rectangleback.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/rectangleback.html diff -u pear/HTML_Progress/examples/newshape/rectangleback.html:1.2 pear/HTML_Progress/examples/newshape/rectangleback.html:1.3 --- pear/HTML_Progress/examples/newshape/rectangleback.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/rectangleback.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Rectangle Back</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,20 +31,20 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> -<hr/> +<hr /> <p><b>This example will run a polygonal (rectangle 15x3) ProgressBar filled in reverse way.</b></p> <p>Cell coordinates are pre-computed (line 27) but free x-y-grid coordinates are also possible. Percent text info is right aligned on a white background area of 50 pixels width, at right side of polygonal shape (default).</p> - + <p>[<a href="#top">Top</a>]</p> @@ -68,7 +68,7 @@ <h3>Screenshot </h3> <p><img src="../screenshots/rect153.png"/></p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> @@ -81,4 +81,4 @@ <p><a href="rectangleback.php">Run</a> the script.</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/rectangleback.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/rectangleback.php diff -u pear/HTML_Progress/examples/newshape/rectangleback.php:1.1 pear/HTML_Progress/examples/newshape/rectangleback.php:1.2 --- pear/HTML_Progress/examples/newshape/rectangleback.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/rectangleback.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Reverse Rectangle Progress example. - * - * @version $Id: rectangleback.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * + * @version $Id: rectangleback.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -15,15 +15,15 @@ $bar->setIncrement(10); $ui =& $bar->getUI(); +$ui->setTab(' '); $ui->setFillWay('reverse'); $ui->setOrientation(HTML_PROGRESS_POLYGONAL); $ui->setCellAttributes(array( - 'width' => 10, - 'height' => 10, - 'active-color' => 'red', - 'inactive-color' => 'orange', - ) -); + 'width' => 10, + 'height' => 10, + 'active-color' => 'red', + 'inactive-color' => 'orange', +)); $ui->setCellCoordinates(15,3); // Rectangle 15x3 ?> <html> @@ -34,13 +34,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -51,14 +51,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/square.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/square.html diff -u pear/HTML_Progress/examples/newshape/square.html:1.2 pear/HTML_Progress/examples/newshape/square.html:1.3 --- pear/HTML_Progress/examples/newshape/square.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/square.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Square </span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 17).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 17).</li> </ul> </p> @@ -55,7 +55,7 @@ Here are options to build this progress bar string (percent text info): <pre> -valign = top +valign = top align = center height = 30 </pre> @@ -76,7 +76,7 @@ <h3>Screenshot </h3> <p><img src="../screenshots/square.png"/></p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> @@ -99,4 +99,4 @@ <p>[<a href="#top">Top</a>]</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/square.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/square.php diff -u pear/HTML_Progress/examples/newshape/square.php:1.1 pear/HTML_Progress/examples/newshape/square.php:1.2 --- pear/HTML_Progress/examples/newshape/square.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/square.php Mon Jul 25 07:19:41 2005 @@ -1,5 +1,4 @@ -<?php -@include '../include_path.php'; +<?php /** * Basic Square Progress example. * @@ -8,10 +7,11 @@ * - 'topright' = beginning at top right corner * - 'bottomright' = beginning at bottom right corner * - 'bottomleft' = beginning at bottom left corner - * - * @version $Id: square.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * + * @version $Id: square.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -51,7 +51,7 @@ } break; case 'topleft': - default: + default: break; } $ui->setCellCoordinates($w, $h, $coord); @@ -64,13 +64,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -81,14 +81,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/squareback.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/squareback.html diff -u pear/HTML_Progress/examples/newshape/squareback.html:1.2 pear/HTML_Progress/examples/newshape/squareback.html:1.3 --- pear/HTML_Progress/examples/newshape/squareback.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/squareback.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Square Back</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -44,7 +44,7 @@ <p>Cell coordinates are pre-computed (line 22) but free x-y-grid coordinates are also possible. Percent text info is centered on a white background area of 50 pixels width, at left side of polygonal shape.</p> - + <p>[<a href="#top">Top</a>]</p> @@ -75,7 +75,7 @@ <p><img src="../screenshots/square44.png"/></p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> <a target="_blank" href="../highlighter.php?file=./newshape/squareback.php">Open</a> source listing in a new window. @@ -90,4 +90,4 @@ </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/squareback.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/squareback.php diff -u pear/HTML_Progress/examples/newshape/squareback.php:1.1 pear/HTML_Progress/examples/newshape/squareback.php:1.2 --- pear/HTML_Progress/examples/newshape/squareback.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/squareback.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Reverse Square Progress example. - * - * @version $Id: squareback.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * + * @version $Id: squareback.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -29,13 +29,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -46,14 +46,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file
http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/circleback.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/circleback.html diff -u pear/HTML_Progress/examples/newshape/circleback.html:1.2 pear/HTML_Progress/examples/newshape/circleback.html:1.3 --- pear/HTML_Progress/examples/newshape/circleback.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/circleback.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Circle Back</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -52,7 +52,7 @@ at right side of circle.</p> <p>A cache system is used on lines 29 thru 37, to avoid built pictures a second times.</p> - + <p>[<a href="#top">Top</a>]</p> @@ -88,7 +88,7 @@ <img src="../screenshots/cb100.png"/> </p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> <a target="_blank" href="../highlighter.php?file=./newshape/circleback.php">Open</a> source listing in a new window. @@ -102,4 +102,4 @@ <p>[<a href="#top">Top</a>]</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/circleback.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/circleback.php diff -u pear/HTML_Progress/examples/newshape/circleback.php:1.1 pear/HTML_Progress/examples/newshape/circleback.php:1.2 --- pear/HTML_Progress/examples/newshape/circleback.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/circleback.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Custom Circle Reverse Progress example. * - * @version $Id: circleback.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * @version $Id: circleback.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -44,13 +44,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -61,14 +61,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/circleplain.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/circleplain.html diff -u pear/HTML_Progress/examples/newshape/circleplain.html:1.2 pear/HTML_Progress/examples/newshape/circleplain.html:1.3 --- pear/HTML_Progress/examples/newshape/circleplain.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/circleplain.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Circle Plain</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -50,7 +50,7 @@ </ul> Percent text info is right aligned on a #EEEEEE background color area of 50 pixels width, at right side of circle.</p> - + <p>A cache system is used on lines 21 thru 29, to avoid built pictures a second times.</p> <p>[<a href="#top">Top</a>]</p> @@ -76,7 +76,7 @@ <a name="output"> -<h2><img src="../images/image.gif"/> Output</h2> +<h2><img src="../images/image.gif"/> Output</h2> <h3>Screenshots </h3> <p> <img src="../screenshots/circle000.png"/> @@ -86,7 +86,7 @@ </p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> <a target="_blank" href="../highlighter.php?file=./newshape/circleplain.php">Open</a> source listing in a new window. @@ -100,4 +100,4 @@ <p>[<a href="#top">Top</a>]</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/circleplain.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/circleplain.php diff -u pear/HTML_Progress/examples/newshape/circleplain.php:1.1 pear/HTML_Progress/examples/newshape/circleplain.php:1.2 --- pear/HTML_Progress/examples/newshape/circleplain.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/circleplain.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * plain Circle Progress example. * - * @version $Id: circleplain.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * @version $Id: circleplain.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -36,13 +36,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #EEEEEE; - color: #000000; - font-family: Verdana, Arial; + background-color: #EEEEEE; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -53,14 +53,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/ellipse.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/ellipse.html diff -u pear/HTML_Progress/examples/newshape/ellipse.html:1.2 pear/HTML_Progress/examples/newshape/ellipse.html:1.3 --- pear/HTML_Progress/examples/newshape/ellipse.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/ellipse.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Ellipse</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -43,7 +43,7 @@ <p>Percent text info is right aligned on a 100 pixels width area, at right side of progress shape.</p> - + <p>A cache system is used on lines 29 thru 37, to avoid built pictures a second times.</p> <p>[<a href="#top">Top</a>]</p> @@ -84,7 +84,7 @@ </p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> @@ -99,4 +99,4 @@ <p>[<a href="#top">Top</a>]</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/ellipse.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/ellipse.php diff -u pear/HTML_Progress/examples/newshape/ellipse.php:1.1 pear/HTML_Progress/examples/newshape/ellipse.php:1.2 --- pear/HTML_Progress/examples/newshape/ellipse.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/ellipse.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Ellipse Progress meter example. * - * @version $Id: ellipse.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * @version $Id: ellipse.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -44,13 +44,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -61,14 +61,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/rectangle.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/rectangle.html diff -u pear/HTML_Progress/examples/newshape/rectangle.html:1.2 pear/HTML_Progress/examples/newshape/rectangle.html:1.3 --- pear/HTML_Progress/examples/newshape/rectangle.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/rectangle.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Rectangle</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -44,7 +44,7 @@ <p>Cell coordinates are pre-computed (line 27) but free x-y-grid coordinates are also possible. Percent text info is centered on a white background area of 90 pixels width, at bottom side of polygonal shape.</p> - + <p>[<a href="#top">Top</a>]</p> @@ -77,7 +77,7 @@ <h3>Screenshot </h3> <p><img src="../screenshots/rect64.png"/></p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> @@ -90,4 +90,4 @@ <p><a href="rectangle.php">Run</a> the script.</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/rectangle.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/rectangle.php diff -u pear/HTML_Progress/examples/newshape/rectangle.php:1.1 pear/HTML_Progress/examples/newshape/rectangle.php:1.2 --- pear/HTML_Progress/examples/newshape/rectangle.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/rectangle.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Basic Rectangle Progress example. - * - * @version $Id: rectangle.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * + * @version $Id: rectangle.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -15,15 +15,15 @@ $bar->setIncrement(10); $ui =& $bar->getUI(); +$ui->setTab(' '); $ui->setStringAttributes('valign=bottom align=center width=90 height=30'); $ui->setOrientation(HTML_PROGRESS_POLYGONAL); $ui->setCellAttributes(array( - 'width' => 15, - 'height' => 15, - 'active-color' => 'red', - 'inactive-color' => 'orange', - ) -); + 'width' => 15, + 'height' => 15, + 'active-color' => 'red', + 'inactive-color' => 'orange', +)); $ui->setCellCoordinates(6,4); // Rectangle 6x4 ?> <html> @@ -34,13 +34,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -51,14 +51,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/rectangleback.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/rectangleback.html diff -u pear/HTML_Progress/examples/newshape/rectangleback.html:1.2 pear/HTML_Progress/examples/newshape/rectangleback.html:1.3 --- pear/HTML_Progress/examples/newshape/rectangleback.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/rectangleback.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Rectangle Back</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,20 +31,20 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> -<hr/> +<hr /> <p><b>This example will run a polygonal (rectangle 15x3) ProgressBar filled in reverse way.</b></p> <p>Cell coordinates are pre-computed (line 27) but free x-y-grid coordinates are also possible. Percent text info is right aligned on a white background area of 50 pixels width, at right side of polygonal shape (default).</p> - + <p>[<a href="#top">Top</a>]</p> @@ -68,7 +68,7 @@ <h3>Screenshot </h3> <p><img src="../screenshots/rect153.png"/></p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> @@ -81,4 +81,4 @@ <p><a href="rectangleback.php">Run</a> the script.</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/rectangleback.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/rectangleback.php diff -u pear/HTML_Progress/examples/newshape/rectangleback.php:1.1 pear/HTML_Progress/examples/newshape/rectangleback.php:1.2 --- pear/HTML_Progress/examples/newshape/rectangleback.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/rectangleback.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Reverse Rectangle Progress example. - * - * @version $Id: rectangleback.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * + * @version $Id: rectangleback.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -15,15 +15,15 @@ $bar->setIncrement(10); $ui =& $bar->getUI(); +$ui->setTab(' '); $ui->setFillWay('reverse'); $ui->setOrientation(HTML_PROGRESS_POLYGONAL); $ui->setCellAttributes(array( - 'width' => 10, - 'height' => 10, - 'active-color' => 'red', - 'inactive-color' => 'orange', - ) -); + 'width' => 10, + 'height' => 10, + 'active-color' => 'red', + 'inactive-color' => 'orange', +)); $ui->setCellCoordinates(15,3); // Rectangle 15x3 ?> <html> @@ -34,13 +34,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -51,14 +51,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/square.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/square.html diff -u pear/HTML_Progress/examples/newshape/square.html:1.2 pear/HTML_Progress/examples/newshape/square.html:1.3 --- pear/HTML_Progress/examples/newshape/square.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/square.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Square </span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 17).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 17).</li> </ul> </p> @@ -55,7 +55,7 @@ Here are options to build this progress bar string (percent text info): <pre> -valign = top +valign = top align = center height = 30 </pre> @@ -76,7 +76,7 @@ <h3>Screenshot </h3> <p><img src="../screenshots/square.png"/></p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> @@ -99,4 +99,4 @@ <p>[<a href="#top">Top</a>]</p> </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/square.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/square.php diff -u pear/HTML_Progress/examples/newshape/square.php:1.1 pear/HTML_Progress/examples/newshape/square.php:1.2 --- pear/HTML_Progress/examples/newshape/square.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/square.php Mon Jul 25 07:19:41 2005 @@ -1,5 +1,4 @@ -<?php -@include '../include_path.php'; +<?php /** * Basic Square Progress example. * @@ -8,10 +7,11 @@ * - 'topright' = beginning at top right corner * - 'bottomright' = beginning at bottom right corner * - 'bottomleft' = beginning at bottom left corner - * - * @version $Id: square.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * + * @version $Id: square.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -51,7 +51,7 @@ } break; case 'topleft': - default: + default: break; } $ui->setCellCoordinates($w, $h, $coord); @@ -64,13 +64,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -81,14 +81,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/squareback.html?r1=1.2&r2=1.3&ty=u Index: pear/HTML_Progress/examples/newshape/squareback.html diff -u pear/HTML_Progress/examples/newshape/squareback.html:1.2 pear/HTML_Progress/examples/newshape/squareback.html:1.3 --- pear/HTML_Progress/examples/newshape/squareback.html:1.2 Tue Aug 10 14:12:46 2004 +++ pear/HTML_Progress/examples/newshape/squareback.html Mon Jul 25 07:19:41 2005 @@ -18,7 +18,7 @@ <h1><span class="chapter">Square Back</span></h1> -<p align="right">$Date: 2004/08/10 18:12:46 $</p> +<p align="right">$Date: 2005/07/25 11:19:41 $</p> <div class="toc"> Table of contents </div> <ul> @@ -31,10 +31,10 @@ <a name="intro"> <h2><img src="../images/info.gif"/> Introduction</h2> - + <p>This example requires : <ul> -<li>PEAR::HTML_Progress 1.2.0RC3 or better (see source at line 11).</li> +<li>PEAR::HTML_Progress 1.2.2 or better (see source at line 11).</li> </ul> </p> @@ -44,7 +44,7 @@ <p>Cell coordinates are pre-computed (line 22) but free x-y-grid coordinates are also possible. Percent text info is centered on a white background area of 50 pixels width, at left side of polygonal shape.</p> - + <p>[<a href="#top">Top</a>]</p> @@ -75,7 +75,7 @@ <p><img src="../screenshots/square44.png"/></p> <p>[<a href="#top">Top</a>]</p> - + <a name="source"> <h2><img src="../images/source.gif"/> PHP source syntax highlight</h2> <a target="_blank" href="../highlighter.php?file=./newshape/squareback.php">Open</a> source listing in a new window. @@ -90,4 +90,4 @@ </body> -</html> +</html> \ No newline at end of file http://cvs.php.net/diff.php/pear/HTML_Progress/examples/newshape/squareback.php?r1=1.1&r2=1.2&ty=u Index: pear/HTML_Progress/examples/newshape/squareback.php diff -u pear/HTML_Progress/examples/newshape/squareback.php:1.1 pear/HTML_Progress/examples/newshape/squareback.php:1.2 --- pear/HTML_Progress/examples/newshape/squareback.php:1.1 Tue Jun 29 16:48:52 2004 +++ pear/HTML_Progress/examples/newshape/squareback.php Mon Jul 25 07:19:41 2005 @@ -1,11 +1,11 @@ -<?php -@include '../include_path.php'; +<?php /** * Reverse Square Progress example. - * - * @version $Id: squareback.php,v 1.1 2004/06/29 20:48:52 farell Exp $ + * + * @version $Id: squareback.php,v 1.2 2005/07/25 11:19:41 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress + * @subpackage Examples */ require_once 'HTML/Progress.php'; @@ -29,13 +29,13 @@ <?php echo $bar->getStyle(); ?> body { - background-color: #FFFFFF; - color: #000000; - font-family: Verdana, Arial; + background-color: #FFFFFF; + color: #000000; + font-family: Verdana, Arial; } a:visited, a:active, a:link { - color: navy; + color: navy; } // --> </style> @@ -46,14 +46,11 @@ </script> </head> <body> -<h1><?php echo basename(__FILE__); ?></h1> -<?php -echo $bar->toHtml(); +<?php +echo $bar->toHtml(); $bar->run(); ?> -<p><< <a href="../index.html">Back examples TOC</a></p> - </body> </html> \ No newline at end of file