cvs: pear /HTML_Progress2/examples/label mixed.php percent1.php percent2.php text1.php text2.php windowstyle.php
| From: | Laurent Laville | Date: | Wed, 27 Jul 2005 21:15:31 +0000 |
| Subject: | cvs: pear /HTML_Progress2/examples/label mixed.php percent1.php percent2.php text1.php text2.php windowstyle.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-33395@lists.php.net to get a copy of this message | ||
farell Wed Jul 27 17:15:31 2005 EDT
Modified files:
/pear/HTML_Progress2/examples/label mixed.php percent1.php
percent2.php text1.php
text2.php windowstyle.php
Log:
improve html stream generation when possible
http://cvs.php.net/diff.php/pear/HTML_Progress2/examples/label/mixed.php?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_Progress2/examples/label/mixed.php
diff -u pear/HTML_Progress2/examples/label/mixed.php:1.1
pear/HTML_Progress2/examples/label/mixed.php:1.2
--- pear/HTML_Progress2/examples/label/mixed.php:1.1 Wed Jun 15 08:35:07 2005
+++ pear/HTML_Progress2/examples/label/mixed.php Wed Jul 27 17:15:29 2005
@@ -3,7 +3,7 @@
* Basic Horizontal ProgressBar (using relative position)
* with multiple labels (crossbar, button, step, text).
*
- * @version $Id: mixed.php,v 1.1 2005/06/15 12:35:07 farell Exp $
+ * @version $Id: mixed.php,v 1.2 2005/07/27 21:15:29 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
* @package HTML_Progress2
* @subpackage Examples
@@ -56,11 +56,7 @@
}
// -->
</style>
-<script type="text/javascript">
-<!--
-<?php echo $pb->getScript(); ?>
-//-->
-</script>
+<?php echo $pb->getScript(false); ?>
</head>
<body>
http://cvs.php.net/diff.php/pear/HTML_Progress2/examples/label/percent1.php?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_Progress2/examples/label/percent1.php
diff -u pear/HTML_Progress2/examples/label/percent1.php:1.1
pear/HTML_Progress2/examples/label/percent1.php:1.2
--- pear/HTML_Progress2/examples/label/percent1.php:1.1 Sun Jun 12 17:04:48 2005
+++ pear/HTML_Progress2/examples/label/percent1.php Wed Jul 27 17:15:29 2005
@@ -3,7 +3,7 @@
* Basic Horizontal ProgressBar
* with a simple percent label on right side (using relative position).
*
- * @version $Id: percent1.php,v 1.1 2005/06/12 21:04:48 farell Exp $
+ * @version $Id: percent1.php,v 1.2 2005/07/27 21:15:29 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
* @package HTML_Progress2
* @subpackage Examples
@@ -31,11 +31,7 @@
}
// -->
</style>
-<script type="text/javascript">
-<!--
-<?php echo $pb->getScript(); ?>
-//-->
-</script>
+<?php echo $pb->getScript(false); ?>
</head>
<body>
<p style="background-color:orange;
http://cvs.php.net/diff.php/pear/HTML_Progress2/examples/label/percent2.php?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_Progress2/examples/label/percent2.php
diff -u pear/HTML_Progress2/examples/label/percent2.php:1.1
pear/HTML_Progress2/examples/label/percent2.php:1.2
--- pear/HTML_Progress2/examples/label/percent2.php:1.1 Sun Jun 12 17:04:48 2005
+++ pear/HTML_Progress2/examples/label/percent2.php Wed Jul 27 17:15:29 2005
@@ -3,7 +3,7 @@
* Basic Horizontal ProgressBar
* with a simple percent label on right side (using absolute position).
*
- * @version $Id: percent2.php,v 1.1 2005/06/12 21:04:48 farell Exp $
+ * @version $Id: percent2.php,v 1.2 2005/07/27 21:15:29 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
* @package HTML_Progress2
* @subpackage Examples
@@ -38,11 +38,7 @@
}
// -->
</style>
-<script type="text/javascript">
-<!--
-<?php echo $pb->getScript(); ?>
-//-->
-</script>
+<?php echo $pb->getScript(false); ?>
</head>
<body>
<p style="background-color:orange;
http://cvs.php.net/diff.php/pear/HTML_Progress2/examples/label/text1.php?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_Progress2/examples/label/text1.php
diff -u pear/HTML_Progress2/examples/label/text1.php:1.1
pear/HTML_Progress2/examples/label/text1.php:1.2
--- pear/HTML_Progress2/examples/label/text1.php:1.1 Sun Jun 12 17:04:48 2005
+++ pear/HTML_Progress2/examples/label/text1.php Wed Jul 27 17:15:29 2005
@@ -3,7 +3,7 @@
* Basic Horizontal ProgressBar
* with a simple text label on top side (using relative position).
*
- * @version $Id: text1.php,v 1.1 2005/06/12 21:04:48 farell Exp $
+ * @version $Id: text1.php,v 1.2 2005/07/27 21:15:29 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
* @package HTML_Progress2
* @subpackage Examples
@@ -39,11 +39,7 @@
}
// -->
</style>
-<script type="text/javascript">
-<!--
-<?php echo $pb->getScript(); ?>
-//-->
-</script>
+<?php echo $pb->getScript(false); ?>
</head>
<body>
<p style="background-color:lightblue;
http://cvs.php.net/diff.php/pear/HTML_Progress2/examples/label/text2.php?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_Progress2/examples/label/text2.php
diff -u pear/HTML_Progress2/examples/label/text2.php:1.1
pear/HTML_Progress2/examples/label/text2.php:1.2
--- pear/HTML_Progress2/examples/label/text2.php:1.1 Sun Jun 12 17:04:48 2005
+++ pear/HTML_Progress2/examples/label/text2.php Wed Jul 27 17:15:29 2005
@@ -3,7 +3,7 @@
* Basic Horizontal ProgressBar
* with a simple text label on top side (using absolute position).
*
- * @version $Id: text2.php,v 1.1 2005/06/12 21:04:48 farell Exp $
+ * @version $Id: text2.php,v 1.2 2005/07/27 21:15:29 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
* @package HTML_Progress2
* @subpackage Examples
@@ -17,8 +17,8 @@
$pb->setProgressAttributes(array(
'position' => 'absolute',
'left' => 450,
- 'top' => 80)
-);
+ 'top' => 80
+));
$pct1 = array('left' => 120, 'top' => 25);
$pb->setLabelAttributes('pct1', $pct1);
@@ -47,11 +47,7 @@
}
// -->
</style>
-<script type="text/javascript">
-<!--
-<?php echo $pb->getScript(); ?>
-//-->
-</script>
+<?php echo $pb->getScript(false); ?>
</head>
<body>
<p style="background-color:lightblue;
http://cvs.php.net/diff.php/pear/HTML_Progress2/examples/label/windowstyle.php?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_Progress2/examples/label/windowstyle.php
diff -u pear/HTML_Progress2/examples/label/windowstyle.php:1.1
pear/HTML_Progress2/examples/label/windowstyle.php:1.2
--- pear/HTML_Progress2/examples/label/windowstyle.php:1.1 Sun Jun 12 17:04:48 2005
+++ pear/HTML_Progress2/examples/label/windowstyle.php Wed Jul 27 17:15:29 2005
@@ -2,7 +2,7 @@
/**
* Horizontal ProgressBar inside a pseudo window frame.
*
- * @version $Id: windowstyle.php,v 1.1 2005/06/12 21:04:48 farell Exp $
+ * @version $Id: windowstyle.php,v 1.2 2005/07/27 21:15:29 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
* @package HTML_Progress2
* @subpackage Examples
@@ -53,11 +53,7 @@
}
// -->
</style>
-<script type="text/javascript">
-<!--
-<?php echo $pb->getScript(); ?>
-//-->
-</script>
+<?php echo $pb->getScript(false); ?>
</head>
<body>