From 6d98215bad86f1b8e33e79e084e529e4a8dbf631 Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Fri, 23 Sep 2011 16:22:45 +0200 Subject: [PATCH] Do hlavicky pridano zobrazeni UID --- index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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]