From 056a13699e7b6634775784b3b0b51cbe005be9c6 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sat, 20 Dec 2003 14:36:28 +0000 Subject: [PATCH] Layout git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@27 a67ec6bc-e5d5-0310-a910-815c51eb3124 --- php/commonfoot.php | 9 +++++++++ php/commonhead.php | 7 +++++++ php/domainlist.php | 5 ++++- php/format.css | 8 ++++++++ php/registerdomain.php | 1 + php/start.php | 20 ++++++++++---------- php/userhead.php | 5 ++++- 7 files changed, 43 insertions(+), 12 deletions(-) create mode 100644 php/commonfoot.php create mode 100644 php/commonhead.php create mode 100644 php/format.css diff --git a/php/commonfoot.php b/php/commonfoot.php new file mode 100644 index 0000000..1ed0957 --- /dev/null +++ b/php/commonfoot.php @@ -0,0 +1,9 @@ +
+
+ +
+ + + \ No newline at end of file diff --git a/php/commonhead.php b/php/commonhead.php new file mode 100644 index 0000000..9064791 --- /dev/null +++ b/php/commonhead.php @@ -0,0 +1,7 @@ + + + +GNU-Viech Administration tool + + + diff --git a/php/domainlist.php b/php/domainlist.php index e471c86..9e2cc1d 100644 --- a/php/domainlist.php +++ b/php/domainlist.php @@ -29,4 +29,7 @@ else { db_close($dbh); ?> - \ No newline at end of file + + \ No newline at end of file diff --git a/php/format.css b/php/format.css new file mode 100644 index 0000000..c6f46c1 --- /dev/null +++ b/php/format.css @@ -0,0 +1,8 @@ +table.userhead { + background:#FF8080; + width:100%; +} + +.copyright { + font-size:8px; +} \ No newline at end of file diff --git a/php/registerdomain.php b/php/registerdomain.php index 7dcbeb9..d4aae7d 100644 --- a/php/registerdomain.php +++ b/php/registerdomain.php @@ -3,4 +3,5 @@ require("wantauth.php"); require("tools.php"); session_start(); include("userhead.php"); +include("commonfoot.php"); ?> \ No newline at end of file diff --git a/php/start.php b/php/start.php index 185d0e0..8ff4059 100644 --- a/php/start.php +++ b/php/start.php @@ -22,24 +22,24 @@ if (pg_num_rows($result) == 0) { } pg_close($dbh); +include("commonhead.php"); ?> - - - -GNU-Viech Administration tool - - +
"; - echo _("Please go back and try again."); + print("

" . _("You're not known to the system.") . "
"); + print(_("Please go back and try again.") . "

"); } else { include("userhead.php"); // echo _("Session with ID: ").session_id()."
"; // echo _("UID: ").$_SESSION["userid"]."
"; + print("

"); printf(_("You may now see your Domain list."), "domainlist.php"); + print("

"); } ?> - - \ No newline at end of file +
+ \ No newline at end of file diff --git a/php/userhead.php b/php/userhead.php index 25cc18f..dc8451b 100644 --- a/php/userhead.php +++ b/php/userhead.php @@ -1,5 +1,8 @@ +
- +
small GNU head