--- revcheck.php 2004-09-06 00:10:10.000000000 +0200 +++ revcheck.php 2004-09-09 00:32:42.000000000 +0200 @@ -516,14 +516,23 @@ $files_status = get_dir_status($DOCDIR."en/"); -$navbar = "

Introduction | " . - "Translators | " . - "File summary by type | " . - "Files | "; -if (count($translation["files"]) != 0) - $navbar .= "Work in progress | "; -$navbar .= "Missing revision numbers | " . - "Untranslated files

\n"; +$navbar = " + +"; // Figure out generation date @@ -534,42 +543,99 @@ // ========================================================================= print << + PHPDOC Revision-check - + - - -
- - -

Status of the translated PHP Manual

Generated: {$date}   /   Language: $LANG

-
+
+ + + + END_OF_MULTILINE; -print ($navbar); +echo $navbar; // ========================================================================= // Intro block goes here @@ -577,9 +643,13 @@ // If we have an introduction text, print it out, with an anchor if (!empty($translation["intro"])) { - print ''; - print '
' . - $translation['intro'] . '

'; + echo '
+ '; + echo '

' . + $translation['intro'] . '

+

^Top^

+ +
'; } // ========================================================================= @@ -591,21 +661,22 @@ if (!empty($translation["persons"])) { print << - - - - - - - +
+ +
Translator's nameContact emailNickC
V
S
Files maintained
+ + + + + + - - + + - - + + @@ -653,22 +724,24 @@ $pi = array(); } - print("" . + print("" . "" . "" . "" . - "" . - "" . - "" . - "" . - "" . - "" . - "" . - "" . + "" . + "" . + "" . + "" . + "" . + "" . + "" . + "" . "\n"); } - print "
Translator's nameContact emailNickC
V
S
Files maintained
cre-
dits
upto-
date
cre-
dits
upto-
date
oldcri-
tical
no
rev
cri-
tical
no
rev
wip sum
$person[name]$person[email]$person[nick]$cvsu" . $pi[REV_CREDIT] . "" . $pi[REV_UPTODATE] . "" . $pi[REV_OLD] . "" . $pi[REV_CRITICAL] . "" . $pi[REV_NOREV] . "" . $pi[REV_WIP] . "" . array_sum($pi) . "$cvsu" . $pi[REV_CREDIT] . "" . $pi[REV_UPTODATE] . "" . $pi[REV_OLD] . "" . $pi[REV_CRITICAL] . "" . $pi[REV_NOREV] . "" . $pi[REV_WIP] . "" . array_sum($pi) . "
\n

 

\n"; + echo "\n +

^Top^

+ \n"; } // ========================================================================= @@ -680,9 +753,10 @@ if (empty($MAINT)) { print << - - +
+ +
+ @@ -705,22 +779,24 @@ ); foreach ($file_types as $num => $type) { - print "". + print "". "". - "". - "". + "". - "". - "". + "\n"; } - print "\n". - "
File status type Number of files Percent of files
".$type[1]."".intval($files_by_mark[$type[0]])."".number_format($files_by_mark[$type[0]] * 100 / $files_sum, 2 ). + "".intval($files_by_mark[$type[0]])."".number_format($files_by_mark[$type[0]] * 100 / $files_sum, 2 ). "%".intval($file_sizes_by_mark[$type[0]])."".number_format($file_sizes_by_mark[$type[0]] * 100 / $file_sizes_sum, 2). + "".intval($file_sizes_by_mark[$type[0]])."".number_format($file_sizes_by_mark[$type[0]] * 100 / $file_sizes_sum, 2). "%
Files total$files_sum100%$file_sizes_sum100%
\n

 

\n"; + print "Files total$files_sum100%$file_sizes_sum100%\n". + "\n +

^Top^

+ \n"; } -print ($navbar."

 

\n"); +// print ($navbar."

 

\n"); // ========================================================================= @@ -728,17 +804,18 @@ // ========================================================================= print << - - - - - - - - +
+ +
Translated fileRevisionSize in kBAge in daysMaintainerStatus
+ + + + + + + - + @@ -790,21 +867,21 @@ } // Drop out the unneeded parts from the dirname... $display_dir = str_replace($DOCDIR."en/", "", dirname($file["full_name"])); - $prev_diplay_dir = "". + $lines .= "". "" . "". - "". - "". - "". - "". - "". - "". - "". - "". - "\n"; + "". + "". + "". + "". + "". + "". + "". + "". + "\n"; $line_number++; } @@ -813,8 +890,9 @@ echo "$prev_diplay_dir ($line_number)"; echo $lines; -print("
Translated fileRevisionSize in kBAge in daysMaintainerStatus
en $LANG diff
$display_dir"; + $prev_diplay_dir = "
$display_dir"; // Save the line for the current file (get file name shorter) - $lines .= "
{$file['short_name']}
{$file['short_name']} {$file['revision'][0]} {$file['revision'][1]}{$file['revision'][2]} {$file['size'][0]} {$file['size'][1]} {$file['size'][2]} {$file['date'][0]} {$file['date'][1]} {$file['date'][2]} {$file['maintainer']}".trim($file['status'])."
{$file['revision'][2]} {$file['size'][0]} {$file['size'][1]} {$file['size'][2]} {$file['date'][0]} {$file['date'][1]} {$file['date'][2]} {$file['maintainer']}".trim($file['status'])."
\n

 

\n$navbar

 

\n"); - +echo "\n +

^Top^

+ \n"; // ========================================================================= // Work in progress table goes here @@ -824,9 +902,10 @@ if (count($translation["files"]) != 0) { // Print out files table header - print "\n" . - "\n" . - "". + print "
+ \n" . + "
\n" . + "". "". "". ""; @@ -851,7 +930,7 @@ } // Print out the line with the first columns - print "" . + print "" . ""; // If we need the date column, print it out @@ -873,18 +952,20 @@ $wip_files[$finfo["name"]] = TRUE; } - print "
Work in progress filesTranslatorType
$finfo[name]
$finfo[name]$finfo[person]$finfo[type]
\n

 

\n$navbar

 

\n"; - + print "\n +

^Top^

+ \n"; } // Files translated, but without a revision comment $count = count($missing_tags); if ($count > 0) { - print "" . - "\n". - "". - "\n". - "\n"; + print "
+ " . + "
Files without Revision-comment ($count files):Sizes in kB
en$LANGdiff
\n". + "". + "\n". + "\n"; foreach($missing_tags as $val) { // Shorten the filename (we have directory headers) $short_file = basename($val[0]); @@ -896,15 +977,17 @@ if ($new_dir != $prev_dir) { // Print out directory header - print "\n"; + echo "\n"; // Store the new actual directory $prev_dir = $new_dir; } - print "". - "\n"; + echo "". + "\n"; } - print "
Files without Revision-comment ($count files):Sizes in kB
en$LANGdiff
$new_dir
$new_dir
$short_file$val[1]$val[2]$val[3]
$short_file$val[1]$val[2]$val[3]
\n

 

\n$navbar

 

\n"; + echo "\n +

^Top^

+ \n"; } // Merge all work in progress files collected @@ -923,9 +1006,10 @@ // Files not translated and not "wip" $count = count($missing_files); if ($count > 0) { - print "" . - "\n" . - "
" . + print "
+ " . + "\n" . + "\n"; foreach($missing_files as $file => $info) { // Shorten the filename (we have directory headers) @@ -938,20 +1022,27 @@ if ($new_dir != $prev_dir) { // Print out directory header if not "." - print "\n"; + print "\n"; // Store the new actual directory $prev_dir = $new_dir; } - print "" . - "\n"; + print "" . + "\n"; } - print "
" . " Available for translation ($count files):kB
$new_dir
$new_dir
$short_file$info[0]
$short_file$info[0]
\n

 

\n$navbar

 

\n"; + print "
\n +

^Top^

+ \n"; } // All OK, end the file -print "\n\n"; +print " + +\n\n"; ?>