From a9ff9023fc4c6a609985814c5decaf6835a0b171 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 10 Jul 2005 21:28:33 +0000 Subject: [PATCH] r301: Adding base template structure to the system. --- global.php | 5 +++ templates/footer.tpl | 1 + templates/header.tpl | 19 ++++-------- templates/headinclude.tpl | 3 +- templates/images/clock.gif | Bin 0 -> 76 bytes templates/style.css | 61 +++++++++++++++++++++++++++++++++++++ 6 files changed, 75 insertions(+), 14 deletions(-) create mode 100644 templates/images/clock.gif create mode 100644 templates/style.css diff --git a/global.php b/global.php index 17ac248..2044dab 100755 --- a/global.php +++ b/global.php @@ -18,6 +18,11 @@ $bugsys->load('template_fs'); $template->extension = 'tpl'; $template->templatedir = $bugsys->fetch_sourcepath('templates/'); +// ################################################################### +// global template variables + +$datetime = $datef->format('l, F j, Y g:i A'); + // ################################################################### // cache templates $globaltemplates = array( diff --git a/templates/footer.tpl b/templates/footer.tpl index 6c663b9..3aa53ea 100644 --- a/templates/footer.tpl +++ b/templates/footer.tpl @@ -1,3 +1,4 @@ + diff --git a/templates/header.tpl b/templates/header.tpl index ab2e099..e10fd98 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -1,15 +1,8 @@ - -
- You are logged in as {$bugsys->userinfo['displayname']} ({$bugsys->userinfo['email']}) | - [Home] | - [New Bug] - - [Admin] - - [Logout] + -
- - - \ No newline at end of file +
\ No newline at end of file diff --git a/templates/headinclude.tpl b/templates/headinclude.tpl index b92793d..f920192 100644 --- a/templates/headinclude.tpl +++ b/templates/headinclude.tpl @@ -1 +1,2 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/templates/images/clock.gif b/templates/images/clock.gif new file mode 100644 index 0000000000000000000000000000000000000000..08b3dc4fe689e02170d4aa4f771bfbe1183fc531 GIT binary patch literal 76 zcmZ?wbhEHb