website annotate lib/i18n-info.php @ rev 1241
add fr/support.php and small fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 21 00:18:39 2014 +0100 (2014-12-21) |
parents | |
children |
rev | line source |
---|---|
al@1089 | 1 <?php |
al@1089 | 2 |
al@1089 | 3 // Build table with i18n info on the SliTaz projects |
al@1089 | 4 function get_info() { |
al@1089 | 5 $infofile = '/var/cache/slitaz/website/i18n.html'; |
al@1089 | 6 if ( ! file_exists("$infofile")) { |
al@1089 | 7 echo "Can't show info!\nSorry..."; |
al@1089 | 8 } |
al@1089 | 9 else { |
al@1089 | 10 $content = file_get_contents("$infofile"); |
al@1089 | 11 echo "$content"; |
al@1089 | 12 } |
al@1089 | 13 } |
al@1089 | 14 |
al@1089 | 15 ?> |