For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2006 > cvs: phpdoc /scripts reviewedcheck.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /scripts reviewedcheck.php
Yannick Torres

2006-08-27, 3:57 am

yannick Sun Aug 27 08:39:15 2006 UTC

Modified files:
/phpdoc/scripts reviewedcheck.php
Log:
* escape /internals/
* add '%'

http://cvs.php.net/viewvc.cgi/phpdo...3&diff_format=u
Index: phpdoc/scripts/reviewedcheck.php
diff -u phpdoc/scripts/reviewedcheck.php:1.2 phpdoc/scripts/reviewedcheck.php:1.3
--- phpdoc/scripts/reviewedcheck.php:1.2 Mon Apr 17 13:07:20 2006
+++ phpdoc/scripts/reviewedcheck.php Sun Aug 27 08:39:15 2006
@@ -78,7 +78,8 @@
|| $file == "contributors.xml"
|| $file == "contributors.ent"
|| $file == "reserved.constants.xml"
- || $file == "DO_NOT_TRANSLATE"
+ || $file == "DO_NOT_TRANSLATE"
+ || strpos($dir, '/internals/')
|| ($file == "functions.xml" && strpos($dir, '/reference/')))
continue;

@@ -188,25 +189,25 @@
<tr class="act">
<td>Reviewed to Yes</td>
<td class="c">'.$nb_reviewed_yes.'</td>
-<td class="c">'.number_format(($nb_reviewed_yes*100)/$nb_file, 2, '.', '').'</td>
+<td class="c">'.number_format(($nb_reviewed_yes*100)/$nb_file, 2, '.', '').'%</td>
</tr>

<tr class="old">
<td>Reviewed to No</td>
<td class="c">'.$nb_reviewed_no.'</td>
-<td class="c">'.number_format(($nb_reviewed_no*100)/$nb_file, 2, '.', '').'</td>
+<td class="c">'.number_format(($nb_reviewed_no*100)/$nb_file, 2, '.', '').'%</td>
</tr>

<tr class="old">
<td>Without Reviewed's tag</td>
<td class="c">'.$nb_no_tag.'</td>
-<td class="c">'.number_format(($nb_no_tag*100)/$nb_file, 2, '.', '').'</td>
+<td class="c">'.number_format(($nb_no_tag*100)/$nb_file, 2, '.', '').'%</td>
</tr>

<tr class="blue">
<th>Total</th>
<th>'.$nb_file.'</th>
-<th>100</th>
+<th>100%</th>
</tr>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com