summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-11-01 16:28:40 +0100
committerJonas Smedegaard <dr@jones.dk>2008-11-01 16:28:40 +0100
commit6d81dbf1e0823c803cde6051398674976dfadff5 (patch)
treee23869ba27e64e9d91aefc80ad4b2d4589de1c07
parent59396ac4d89823b36981aeace4eacbaa0e19f453 (diff)
parent52ce6d349cfcc796f2d14a085e668c9272f085f6 (diff)
Merge branch 'wian-da' into allinone-nonedit-da
-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 e8700a6..a994b6a 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>