From: Thomas Mudrunka Date: Fri, 23 Sep 2011 14:22:45 +0000 (+0200) Subject: Do hlavicky pridano zobrazeni UID X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=6d98215bad86f1b8e33e79e084e529e4a8dbf631;p=mirrors%2FSokoMan.git Do hlavicky pridano zobrazeni UID --- diff --git a/index.php b/index.php index 404ad79..9e4a67d 100755 --- a/index.php +++ b/index.php @@ -151,7 +151,7 @@ class HTML { * @author Tomas Mudrunka */ class Sklad_HTML extends HTML { //TODO: Split into few more methods - function header($title='') { + function header($title='', $uid=0, $user='') { $home = URL_HOME; $script = $_SERVER['SCRIPT_NAME']; $search = htmlspecialchars(@trim($_GET['q'])); @@ -161,7 +161,8 @@ class Sklad_HTML extends HTML { //TODO: Split into few more methods $html = $this->head("SōkoMan$title"); $html .= <<SōkoMan$instance$title +

SōkoMan$instance$title

+
Loged in as $user [UID $uid]