aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-06-28 23:02:24 +0000
committerrub <rub@piwigo.org>2006-06-28 23:02:24 +0000
commitcb74c6f67eb5c67a7f41c1cab5bb46d01043bea1 (patch)
tree4e8fdc64780a7550a19345521cb4a9243237509d /template
parent7a929a917105c24471b695745e7daf1604ea0b84 (diff)
Issue ID 0000375:
o Keep same format display o Add css class o rename warning to header_msg Merge BSF r1413:1414 into branch-1_6 git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1415 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/default-colors.css11
-rw-r--r--template/yoga/header.tpl19
2 files changed, 20 insertions, 10 deletions
diff --git a/template/yoga/default-colors.css b/template/yoga/default-colors.css
index 8b73f966b..05753658a 100644
--- a/template/yoga/default-colors.css
+++ b/template/yoga/default-colors.css
@@ -68,6 +68,17 @@ INPUT[type="radio"] { /* for Opera */
padding: 10px 50px 10px 10px;
}
+/**
+ * Header message like upgrade or adviser mode
+ */
+.header_msgs {
+ text-align:center;
+ font-weight: bold;
+ color:#696969; /* dimgray */
+ background-color: #d3d3d3;
+ margin: 5px;
+}
+
LEGEND {
font-style: italic;
}
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index 3e01c9fe9..d3685e3c0 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -30,14 +30,13 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<body id="{BODY_ID}">
<div id="the_page">
-
-<div id="theHeader">{PAGE_BANNER}</div>
-<!-- BEGIN warnings -->
-<div class="infos">
- <ul>
- <!-- BEGIN warning -->
- <li>{warnings.warning.WARNING}</li>
- <!-- END warning -->
- </ul>
+<!-- BEGIN header_msgs -->
+<div class="header_msgs">
+ <table>
+ <!-- BEGIN header_msg -->
+ <tr><td>{header_msgs.header_msg.HEADER_MSG}</td></tr>
+ <!-- END header_msg -->
+ </table>
</div>
-<!-- END warnings -->
+<!-- END header_msgs -->
+<div id="theHeader">{PAGE_BANNER}</div>