The system currently displays the Koha login line followed by contents of the
syspref opacheader followed by the rest of the Koha masthead. If a site uses a
large graphic or text block in the opacheader, such as a site's standard web
page header, the visual effect is to divorce the Koha login from the Koha
masthead. Especially if the opacheader contains links to organization networks
and sites, people can be confused about what the login link is for. I've done
a patch to swap places -- the Koha login line comes after the opacheader. This
keeps it visually linked to the Koha masthead.
---
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
index afe34d3..b71d7e9 100644
--- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
+++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
@@ -1,12 +1,12 @@
+ <!-- TMPL_IF NAME="opacheader" -->
+ <!-- TMPL_VAR NAME="opacheader" -->
+ <!-- /TMPL_IF -->
<div id="header-wrapper"><div id="members">
<!-- TMPL_IF NAME="opacuserlogin" -->
<ul><!-- TMPL_IF NAME="loggedinusername" --><li><span
class="members">Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span
class="loggedinusername"><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR
NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR
NAME="surname" --><!-- /TMPL_LOOP --></span></a></span></li><li><a
class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log
Out</a></li><!-- TMPL_ELSE --><li><a href="/cgi-bin/koha/opac-user.pl">Log in
to Your Account</a></li><!-- /TMPL_IF -->
</ul>
<!-- /TMPL_IF -->
</div>
- <!-- TMPL_IF NAME="opacheader" -->
- <!-- TMPL_VAR NAME="opacheader" -->
- <!-- /TMPL_IF -->
<div id="opac-main-search" class="yui-g">
<!-- TMPL_IF NAME="opacsmallimage" -->
<h1 id="libraryname" style="background-image: url('<!-- TMPL_VAR
NAME="opacsmallimage" -->');">
--
1.5.6.5
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches