diff options
author | rub <rub@piwigo.org> | 2006-06-28 22:50:30 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-06-28 22:50:30 +0000 |
commit | 48779cfaaaf763c510420cd3c419aa5de5463424 (patch) | |
tree | 1c7052768387f7dc073a924ad388c7241f97ef6a /template | |
parent | be4c4b31c8880fa2dd4d949d1d6675ac6965f42d (diff) |
Issue ID 0000375:
o Keep same format display
o Add css class
o rename warning to header_msg
Merge BSF r1411:1412 into branch-1_6
git-svn-id: http://piwigo.org/svn/trunk@1414 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/default-colors.css | 11 | ||||
-rw-r--r-- | template/yoga/header.tpl | 18 |
2 files changed, 20 insertions, 9 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 929724a1d..9fb16455f 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -30,13 +30,13 @@ the "text/nonsense" prevents gecko based browsers to load it --> <body id="{BODY_ID}"> <div id="the_page"> -{PAGE_BANNER} -<!-- 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 --> +{PAGE_BANNER} |