website diff lib/i18n-info.php @ rev 1344

Resize balinor logo to 120px
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 22 23:02:15 2021 +0100 (2021-01-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lib/i18n-info.php	Fri Jan 22 23:02:15 2021 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<?php
     1.5 +
     1.6 +// Build table with i18n info on the SliTaz projects
     1.7 +function get_info() {
     1.8 +	$infofile = '/var/cache/slitaz/website/i18n.html';
     1.9 +	if ( ! file_exists("$infofile")) {
    1.10 +		echo "Can't show info!\nSorry...";
    1.11 +	}
    1.12 +	else {
    1.13 +		$content = file_get_contents("$infofile");
    1.14 +		echo "$content";
    1.15 +	}
    1.16 +}
    1.17 +
    1.18 +?>