com web/doc: More optimal use of space in translators table: www/revcheck.php
[email protected] Mon, 23 Jun 2014 06:20:14 +0000
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
Commit: 4c69106dc69541367d56202df82c1badcfb9651f Author: Sobak <[email protected]> Mon, 23 Jun 2014 08:20:14 +0200 Parents: 34539e84d6ff254063be10b6f65d881df17c33f2 Branches: master Link: http://git.php.net/?p=web/doc.git;a=commitdiff;h=4c69106dc69541367d56202df82c1badcfb9651f Log: More optimal use of space in translators table Changed paths: M www/revcheck.php Diff: diff --git a/www/revcheck.php b/www/revcheck.php index 3ded2fa..7bdce8b 100644 --- a/www/revcheck.php +++ b/www/revcheck.php @@ -68,7 +68,6 @@ switch($tool) { <table border="0" cellpadding="4" cellspacing="1"> <tr> <th rowspan="2">Name</th> -<th rowspan="2">Contact email</th> <th rowspan="2">Nick</th> <th rowspan="2">SVN</th> <th colspan="7">Files maintained</th> @@ -83,13 +82,10 @@ switch($tool) { TRANSLATORS_HEAD; foreach ($translators as $nick => $data) { - $svn = ($data['svn'] == 'yes') ? '✓' : ' '; - echo '<tr>', - '<td><a href="/revcheck.php?p=files&user='.$nick.'&lang='.$lang.'">'.$data['name'].'</a></td>', - '<td>', $data['mail'], '</td>', - '<td>', $nick, '</td>', - '<td>', $svn, '</td>', + '<td><a href="mailto:'.$data['mail'].'">'.$data['name'].'</a></td>', + '<td><a href="/revcheck.php?p=files&user='.$nick.'&lang='.$lang.'">'.$nick.'</a></td>', + '<td>'.(($data['svn'] == 'yes') ? '✓' : ' ').'</td>', '<td>' , @$files_w[$nick]['uptodate'], '</td>', '<td>' , @$files_w[$nick]['old'], '</td>', '<td>' , $files_w[$nick]['critical'], '</td>',