summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-11-01 16:28:38 +0100
committerJonas Smedegaard <dr@jones.dk>2008-11-01 16:28:38 +0100
commit68ed94a9c0335aea268905e135fe4f256ff487f3 (patch)
tree41f230a41edcff9bdc71b7f966ffb47872fc735a
parent1bb709496bfa7c812b7d489a820fefb51709ea9e (diff)
parent7220fd839574cea41d5cdce1ba7035056bb843ce (diff)
Merge branch 'wian-nb' into allinone-nb
-rw-r--r--misc.tmpl13
-rw-r--r--page.tmpl13
2 files changed, 22 insertions, 4 deletions
diff --git a/misc.tmpl b/misc.tmpl
index d47dd52..f902c81 100644
--- a/misc.tmpl
+++ b/misc.tmpl
@@ -32,11 +32,20 @@ isn't that nice to know? -->
<div id="container">
-<TMPL_IF NAME="BRANDING_LOGO">
+<TMPL_IF NAME="BRANDING_LOGO_TEXT">
<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>
+<TMPL_IF NAME="BRANDING_LOGO">
+<a href="<TMPL_VAR BASEURL>"><img src="<TMPL_VAR BASEURL><TMPL_VAR NAME=BRANDING_LOGO>" alt="<TMPL_VAR NAME=BRANDING_LOGO_TEXT>" /></a>
+<TMPL_ELSE>
+<a href="<TMPL_VAR BASEURL>"><TMPL_VAR NAME=BRANDING_LOGO_TEXT></a>
+</TMPL_IF>
+</div>
+<TMPL_IF NAME="BRANDING_LOGO_TAGLINE">
+<div id="branding-tagline">
+<a href="<TMPL_VAR BASEURL>"><TMPL_VAR NAME=BRANDING_LOGO_TAGLINE></a>
</div>
+</TMPL_IF>
</div>
</TMPL_IF>
diff --git a/page.tmpl b/page.tmpl
index 82de89b..f18770f 100644
--- a/page.tmpl
+++ b/page.tmpl
@@ -34,11 +34,20 @@ isn't that nice to know? -->
<div class="pageheader">
-<TMPL_IF NAME="BRANDING_LOGO">
+<TMPL_IF NAME="BRANDING_LOGO_TEXT">
<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>
+<TMPL_IF NAME="BRANDING_LOGO">
+<a href="<TMPL_VAR BASEURL>"><img src="<TMPL_VAR BASEURL><TMPL_VAR NAME=BRANDING_LOGO>" alt="<TMPL_VAR NAME=BRANDING_LOGO_TEXT>" /></a>
+<TMPL_ELSE>
+<a href="<TMPL_VAR BASEURL>"><TMPL_VAR NAME=BRANDING_LOGO_TEXT></a>
+</TMPL_IF>
</div>
+<TMPL_IF NAME="BRANDING_LOGO_TAGLINE">
+<div id="branding-tagline">
+<a href="<TMPL_VAR BASEURL>"><TMPL_VAR NAME=BRANDING_LOGO_TAGLINE></a>
+</div>
+</TMPL_IF>
</div>
</TMPL_IF>