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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-2 / +2 lines)
Lines 102-115 Link Here
102
                                    [% END %]
102
                                    [% END %]
103
                                [% END %]
103
                                [% END %]
104
                                [% IF EnableOpacSearchHistory %]
104
                                [% IF EnableOpacSearchHistory %]
105
                                    <li><p class="navbar-text"><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(MSG_DELETE_SEARCH_HISTORY);">x</a>]</p></li>
105
                                    <li><p class="navbar-text"><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout clearsh" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history">x</a>]</p></li>
106
                                    <li class="divider-vertical"></li>
106
                                    <li class="divider-vertical"></li>
107
                                [% END %]
107
                                [% END %]
108
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
108
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
109
                                    [% IF ( loggedinusername ) %]
109
                                    [% IF ( loggedinusername ) %]
110
                                        <li><p class="navbar-text">
110
                                        <li><p class="navbar-text">
111
                                            [% IF persona %]
111
                                            [% IF persona %]
112
                                                <a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1" onclick='navigator.id.logout();'>
112
                                                <a class="logout persona" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">
113
                                            [% ELSE %]
113
                                            [% ELSE %]
114
                                                <a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">
114
                                                <a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">
115
                                            [% END %]
115
                                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (-1 / +7 lines)
Lines 149-154 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
149
            verify_images();
149
            verify_images();
150
         });
150
         });
151
    [% END %]
151
    [% END %]
152
    $(".clearsh").on("click", function(){
153
        return confirmDelete(MSG_DELETE_SEARCH_HISTORY);
154
    });
152
    //]]>
155
    //]]>
153
</script>
156
</script>
154
157
Lines 234-239 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
234
        }
237
        }
235
    });
238
    });
236
239
240
    $(".persona").on("click",function(){
241
        navigator.id.logout();
242
    });
243
237
    var signinLink = document.getElementById('browserid');
244
    var signinLink = document.getElementById('browserid');
238
245
239
    if (signinLink) {
246
    if (signinLink) {
240
- 

Return to bug 17209