1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-01 10:09:15 +00:00

add php-gettext, i18n stuff

This commit is contained in:
Andrew Dolgov
2007-03-05 09:37:13 +01:00
parent 439bbe63ef
commit 659468ebf0
10 changed files with 1258 additions and 2 deletions

View File

@@ -2,6 +2,9 @@
error_reporting(E_ERROR | E_WARNING | E_PARSE);
require_once "functions.php";
startup_gettext();
require_once "sessions.php";
require_once "sanity_check.php";
require_once "version.php";
@@ -104,7 +107,7 @@ window.onload = init;
<div id="header">
<div style="float : right">
<?php if (!SINGLE_USER_MODE) { ?>
<?php echo _('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b>
(<a href="logout.php">Logout</a>)
<?php } ?>
<img id="newVersionIcon" onclick="javascript:explainError(2)"