website view lib/i18n-info.php @ rev 1213

Add a menu links to news
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 17:17:11 2014 +0200 (2014-05-02)
parents
children
line source
1 <?php
3 // Build table with i18n info on the SliTaz projects
4 function get_info() {
5 $infofile = '/var/cache/slitaz/website/i18n.html';
6 if ( ! file_exists("$infofile")) {
7 echo "Can't show info!\nSorry...";
8 }
9 else {
10 $content = file_get_contents("$infofile");
11 echo "$content";
12 }
13 }
15 ?>