Index: trunk/tools/ToolserverI18N/language/messages/General.i18n.php |
— | — | @@ -24,6 +24,8 @@ |
25 | 25 | 'weeks' => 'weeks', |
26 | 26 | 'days' => 'days', |
27 | 27 | 'hours' => 'hours', |
| 28 | + 'last-modified-date' => 'Last modified: $1', |
| 29 | + 'view-source' => 'View source', |
28 | 30 | ); |
29 | 31 | |
30 | 32 | /** Message documentation (Message documentation) |
— | — | @@ -39,6 +41,8 @@ |
40 | 42 | 'namespace' => '{{Identical|Namespace}}', |
41 | 43 | 'form-submit' => 'A general label for a form submission button. Not per se a search form!', |
42 | 44 | 'form-reset' => 'A general label for a form reset button. Not per se a search form!', |
| 45 | + 'last-modified-date' => 'The date something was last modified. $1 is a date (eg. "April 5 2010, 12:30 AM")', |
| 46 | + 'view-source' => 'Label for a button or link that, when clicked, will present the program source code.', |
43 | 47 | ); |
44 | 48 | |
45 | 49 | /** Bengali (বাংলা) |
Index: trunk/tools/ToolserverI18N/public_html/index.php |
— | — | @@ -251,8 +251,12 @@ |
252 | 252 | $domainInfo = $I18N->getDomainInfo( $domainKey ); |
253 | 253 | $title = $I18N->msg( 'title', $domainKey, /* fallback = */ $domainKey ); |
254 | 254 | if ( isset( $domainInfo['url'] ) ) { |
255 | | - $item = TsIntuitionUtil::tag( "$title <{$domainInfo['url']}>", 'a', array( 'href' => $domainInfo['url'] ) ); |
256 | | - $about .= "<li>$item</li>"; |
| 255 | + $about .= '<li><a href="' |
| 256 | + . htmlspecialchars( $domainInfo['url'] ) |
| 257 | + . '"><strong>' . htmlspecialchars( $title ) |
| 258 | + . '</strong><br />' |
| 259 | + . htmlspecialchars( $domainInfo['path'] ) |
| 260 | + . '</a></li>'; |
257 | 261 | } else { |
258 | 262 | // Don't show tools without a url |
259 | 263 | //$item = TsIntuitionUtil::tag( $title, 'em' ); |