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/phpdoc/scripts/reviewedcheck.php?r1=1.2&r2=1.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>