cvs: pear /HTML_Progress/examples/model inicommented.html inicommented.php
| From: | Laurent Laville | Date: | Mon, 25 Jul 2005 10:25:44 +0000 |
| Subject: | cvs: pear /HTML_Progress/examples/model inicommented.html inicommented.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-33290@lists.php.net to get a copy of this message | ||
farell Mon Jul 25 06:25:44 2005 EDT
Modified files:
/pear/HTML_Progress/examples/model inicommented.html
inicommented.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/model/inicommented.html?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_Progress/examples/model/inicommented.html
diff -u pear/HTML_Progress/examples/model/inicommented.html:1.1
pear/HTML_Progress/examples/model/inicommented.html:1.2
--- pear/HTML_Progress/examples/model/inicommented.html:1.1 Sat Sep 25 09:42:19 2004
+++ pear/HTML_Progress/examples/model/inicommented.html Mon Jul 25 06:25:43 2005
@@ -18,7 +18,7 @@
<h1><span class="chapter">setModel </span></h1>
-<p align="right">$Date: 2004/09/25 13:42:19 $</p>
+<p align="right">$Date: 2005/07/25 10:25:43 $</p>
<div class="toc"> Table of contents </div>
<ul>
@@ -32,20 +32,20 @@
<a name="intro">
<h2><img src="../images/info.gif"/> Introduction</h2>
-
+
<p>This example requires :
<ul>
-<li>PEAR::HTML_Progress 1.2.0 or better.</li>
+<li>PEAR::HTML_Progress 1.2.2 or better.</li>
</ul>
</p>
<hr/>
-<p><b>This example will run a horizontal ProgressBar defined by an external
+<p><b>This example will run a horizontal ProgressBar defined by an external
configuration file.</b></p>
-<p>The setModel feature is useful, when you don't want to change your php scripts
+<p>The setModel feature is useful, when you don't want to change your php scripts
but only the look and feel of the progress meter.</p>
-
+
<p>[<a href="#top">Top</a>]</p>
@@ -56,7 +56,7 @@
Here are options to build this progress bar :
<pre>
(1) speed = 250
-(2) increment = 5
+(2) increment = 5
(3) javascript = "../horizontal/progress_number.js"
(4) fillway = reverse
(5) count = 20
@@ -90,7 +90,7 @@
<p><img src="../screenshots/javadanse.png"/></p>
<p>[<a href="#top">Top</a>]</p>
-
+
<a name="source">
<h2><img src="../images/source.gif"/> PHP source syntax
highlight</h2>
@@ -106,4 +106,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/model/inicommented.php?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_Progress/examples/model/inicommented.php
diff -u pear/HTML_Progress/examples/model/inicommented.php:1.1
pear/HTML_Progress/examples/model/inicommented.php:1.2
--- pear/HTML_Progress/examples/model/inicommented.php:1.1 Sat Sep 25 09:42:19 2004
+++ pear/HTML_Progress/examples/model/inicommented.php Mon Jul 25 06:25:43 2005
@@ -1,12 +1,12 @@
-<?php
-@include '../include_path.php';
+<?php
/**
* Easy set options of a progress meter with PEAR::Config package
* and a configuration container style 'iniCommented'.
- *
- * @version $Id: inicommented.php,v 1.1 2004/09/25 13:42:19 farell Exp $
+ *
+ * @version $Id: inicommented.php,v 1.2 2005/07/25 10:25:43 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
* @package HTML_Progress
+ * @subpackage Examples
*/
require 'HTML/Progress.php';
@@ -33,21 +33,21 @@
</style>
<script type="text/javascript">
<!--
-<?php
-$js = $bar->getScript();
+<?php
+$js = $bar->getScript();
if (is_file($js)) {
echo file_get_contents($js);
} else {
echo $js;
-}
+}
?>
//-->
</script>
</head>
<body>
-<?php
-echo $bar->toHtml();
+<?php
+echo $bar->toHtml();
$bar->run();
?>