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

(-)a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc (-1 / +1 lines)
Lines 10-16 Link Here
10
            <!-- TMPL_IF NAME="ShowOpacRecentSearchLink" -->
10
            <!-- TMPL_IF NAME="ShowOpacRecentSearchLink" -->
11
                <li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li>
11
                <li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li>
12
            <!-- /TMPL_IF -->
12
            <!-- /TMPL_IF -->
13
			<!-- TMPL_IF NAME="loggedinusername" --><li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a></li><!-- /TMPL_IF -->
13
			<!-- TMPL_IF NAME="loggedinusername" --><li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1" onClick="logoutTab();return false;">Log Out</a></li><!-- /TMPL_IF -->
14
   	</ul>	
14
   	</ul>	
15
  <!-- /TMPL_IF -->
15
  <!-- /TMPL_IF -->
16
</div>
16
</div>
(-)a/koha-tmpl/opac-tmpl/prog/en/js/script.js (-1 / +5 lines)
Lines 72-74 YAHOO.util.Event.onContentReady("listsmenu", function () { Link Here
72
		YAHOO.util.Event.addListener("listsmenulink", "click", listMenu.show, null, listMenu);
72
		YAHOO.util.Event.addListener("listsmenulink", "click", listMenu.show, null, listMenu);
73
		YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionlistMenu);
73
		YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionlistMenu);
74
 });
74
 });
75
- 
75
76
function logoutTab() {
77
    window.open("/cgi-bin/koha/opac-main.pl?logout.x=1");
78
this.window.close();
79
}

Return to bug 5371