summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-26 11:44:13 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-26 11:44:13 +0200
commit528366f693634656e12673b2a279ef3b14b6c37b (patch)
tree57f23f51ee2cfee1183988e24a75ec9f685a572c /skins
parenta306996bc5c5bdd722bedf5bc6da1633f4f10169 (diff)
Fix Close link and remove About link on error pages (#1489109)
Diffstat (limited to 'skins')
-rw-r--r--skins/larry/includes/header.html6
-rw-r--r--skins/larry/templates/messagepart.html6
2 files changed, 3 insertions, 9 deletions
diff --git a/skins/larry/includes/header.html b/skins/larry/includes/header.html
index f2efb8e06..c8b3b26f6 100644
--- a/skins/larry/includes/header.html
+++ b/skins/larry/includes/header.html
@@ -2,7 +2,7 @@
<div id="topline">
<div class="topleft">
<roundcube:container name="topline-left" id="topline-left" />
- <roundcube:button name="about" type="link" label="about" class="about-link" onclick="UI.show_about(this);return false" />
+ <roundcube:button name="about" type="link" label="about" class="about-link" onclick="UI.show_about(this);return false" condition="!env:extwin" />
<roundcube:if condition="config:support_url" />
<a href="<roundcube:var name='config:support_url' />" target="_blank" class="support-link" id="supportlink"><roundcube:label name="support" /></a>
<roundcube:endif />
@@ -14,7 +14,7 @@
<span class="username"><roundcube:object name="username" /></span>
<roundcube:button command="logout" label="logout" class="button-logout" />
<roundcube:elseif condition="env:extwin" />
- <roundcube:button command="close" label="close" class="closelink" />
+ <roundcube:button name="close" type="link" label="close" class="closelink" onclick="self.close()" />
<roundcube:endif />
</div>
</div>
@@ -35,5 +35,3 @@
<br style="clear:both" />
</div>
-
-
diff --git a/skins/larry/templates/messagepart.html b/skins/larry/templates/messagepart.html
index a60210cb8..8c75e6072 100644
--- a/skins/larry/templates/messagepart.html
+++ b/skins/larry/templates/messagepart.html
@@ -6,11 +6,7 @@
</head>
<body class="extwin noscroll">
-<div id="topline">
- <div class="topright">
- <a href="#close" class="closelink" onclick="self.close()"><roundcube:label name="close" /></a>
- </div>
-</div>
+<roundcube:include file="/includes/header.html" />
<div id="mainscreen">