summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-11-01 11:36:58 +0100
committerJonas Smedegaard <dr@jones.dk>2008-11-01 11:36:58 +0100
commitb77ef96e3f7093ebed994696d0e476c60723e13e (patch)
tree422fe9ede53bc814416a6bf42a1b084b70673264
parent00719df74627274bed413e39d0324d4214043710 (diff)
Add branding divs above header.
-rw-r--r--misc.tmpl8
-rw-r--r--page.tmpl9
2 files changed, 17 insertions, 0 deletions
diff --git a/misc.tmpl b/misc.tmpl
index 76a3f3e..12a1b16 100644
--- a/misc.tmpl
+++ b/misc.tmpl
@@ -19,6 +19,14 @@
<div id="container">
+<TMPL_IF NAME="BRANDING_LOGO">
+<div id="branding">
+<div id="branding-logo">
+<a href="<TMPL_VAR BASEURL>"><img src="<TMPL_VAR BASEURL><TMPL_VAR NAME=BRANDING_LOGO>" alt="<TMPL_VAR NAME=BRANDING_LOGO_ALT>" /></a>
+</div>
+</div>
+</TMPL_IF>
+
<div class="header">
<span>
<TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE>
diff --git a/page.tmpl b/page.tmpl
index 82f6b73..1e431e4 100644
--- a/page.tmpl
+++ b/page.tmpl
@@ -20,6 +20,15 @@
<div id="container">
<div class="pageheader">
+
+<TMPL_IF NAME="BRANDING_LOGO">
+<div id="branding">
+<div id="branding-logo">
+<a href="<TMPL_VAR BASEURL>"><img src="<TMPL_VAR BASEURL><TMPL_VAR NAME=BRANDING_LOGO>" alt="<TMPL_VAR NAME=BRANDING_LOGO_ALT>" /></a>
+</div>
+</div>
+</TMPL_IF>
+
<div class="header">
<span>
<span class="parentlinks">