summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--css/standard.css5
-rw-r--r--index.php3
-rw-r--r--output.php2
3 files changed, 10 insertions, 0 deletions
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