From 97cd169690383b731eedeb13586e07788ee166ce Mon Sep 17 00:00:00 2001 From: arun <arun@nubati.net> Date: Sun, 14 Jan 2007 13:43:17 +0000 Subject: added displau of revsion number --- css/standard.css | 5 +++++ index.php | 3 +++ output.php | 2 ++ 3 files changed, 10 insertions(+) diff --git a/css/standard.css b/css/standard.css index 1e18e61..5867588 100644 --- a/css/standard.css +++ b/css/standard.css @@ -3,6 +3,11 @@ text-align:center; border-bottom:3px solid gray; } +.header p { + position:absolute; + right:0; + top:0; +} .card { position:absolute; diff --git a/index.php b/index.php index cd404b3..cf6e94c 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,9 @@ <?php error_reporting(E_ALL); +global $REV; +$REV ="$Rev$"; + include_once("config.php"); include_once("output.php"); /* html output only */ include_once("db.php"); /* database only */ diff --git a/output.php b/output.php index 32dbd7b..911c184 100644 --- a/output.php +++ b/output.php @@ -230,6 +230,7 @@ function output_home_page() function output_header() { + global $REV; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" @@ -267,6 +268,7 @@ function output_header() <body onload="high_last();"> <div class="header"> <h1> Welcome to E-Doko </h1> +<p> Revision: $REV</p> </div> <?php -- cgit v1.2.3-18-g5258