i18n support

This commit is contained in:
Serghey Rodin 2013-01-22 18:43:07 +02:00
commit 003036434c
34 changed files with 688 additions and 660 deletions

View file

@ -24,6 +24,9 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
// Panel
top_panel($user,$TAB);
$lang = 'ru_RU.utf8';
setlocale(LC_ALL, $lang);
// Data
if ($_SESSION['user'] == 'admin') {
$q = escapeshellarg($q);