View | Details | Raw Unified | Return to bug 4028
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc (-1 / +11 lines)
Lines 1-6 Link Here
1
<div id="header-wrapper"><div id="members">
1
<div id="header-wrapper"><div id="members">
2
  <!-- TMPL_IF NAME="opacuserlogin" -->
2
  <!-- TMPL_IF NAME="opacuserlogin" -->
3
	<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><!-- TMPL_IF NAME="ShowOpacRecentSearchLink" --><li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="javascript:return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li> <!-- /TMPL_IF --><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 -->
3
	<ul>
4
            <!-- TMPL_IF NAME="ShowOpacRecentSearchLink" -->
5
                <li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="javascript:return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li>
6
            <!-- /TMPL_IF -->
7
8
            <!-- TMPL_IF NAME="loggedinusername" -->
9
                <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>
10
                <li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a></li>
11
            <!-- TMPL_ELSE -->
12
                <li><a href="/cgi-bin/koha/opac-user.pl">Log in to Your Account</a></li>
13
            <!-- /TMPL_IF -->
4
   	</ul>	
14
   	</ul>	
5
  <!-- /TMPL_IF -->
15
  <!-- /TMPL_IF -->
6
</div>
16
</div>
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tmpl (-1 / +1 lines)
Lines 26-31 Link Here
26
        <div class="container">
26
        <div class="container">
27
	<h1>Search history</h1>
27
	<h1>Search history</h1>
28
	<!-- TMPL_IF EXPR="recentSearches || previousSearches" -->
28
	<!-- TMPL_IF EXPR="recentSearches || previousSearches" -->
29
	    <a href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="javascript:return confirm(_('Are you sure you want to delete your search history?'));">Delete your search history</a>
29
	    <!-- TMPL_IF NAME="recentSearches" -->
30
	    <!-- TMPL_IF NAME="recentSearches" -->
30
	    <!-- TMPL_IF NAME="previousSearches" -->
31
	    <!-- TMPL_IF NAME="previousSearches" -->
31
	    <h2>Current session</h2>
32
	    <h2>Current session</h2>
32
- 

Return to bug 4028