cvs: pres2 / index.php
| From: | Derick Rethans | Date: | Wed, 08 Sep 2004 21:00:05 +0000 |
| Subject: | cvs: pres2 / index.php | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1057@lists.php.net to get a copy of this message | ||
derick Wed Sep 8 17:00:05 2004 EDT
Modified files:
/pres2 index.php
Log:
- Fixed urlencoded() things into printf().
http://cvs.php.net/diff.php/pres2/index.php?r1=1.38&r2=1.39&ty=u
Index: pres2/index.php
diff -u pres2/index.php:1.38 pres2/index.php:1.39
--- pres2/index.php:1.38 Tue Aug 31 02:16:53 2004
+++ pres2/index.php Wed Sep 8 17:00:04 2004
@@ -139,7 +139,7 @@
}
$percent = 100 / $topic_cols;
foreach($topics as $i => $topic) {
- printf('<td width="%.1f%%" class="output" style="font-size:
1.8em; padding-bottom: 15px"><a href="' . $baseDir . 'index.php/' .
urlencode($i) . '">' . $i . '</a> (' . $topic['count'] .
')</td>'."\n", $percent);
+ printf('<td width="%.1f%%" class="output" style="font-size:
1.8em; padding-bottom: 15px"><a href="' . $baseDir .
'index.php/%s">' . $i . '</a> (' . $topic['count'] .
')</td>'."\n", urlencode($i), $percent);
if (++$col >= $topic_cols) {
$col=0;
print("</tr>\n<tr>");