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 103-116 Link Here
103
                                    [% END %]
103
                                    [% END %]
104
                                [% END %]
104
                                [% END %]
105
                                [% IF EnableOpacSearchHistory %]
105
                                [% IF EnableOpacSearchHistory %]
106
                                    <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>
106
                                    <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>
107
                                    <li class="divider-vertical"></li>
107
                                    <li class="divider-vertical"></li>
108
                                [% END %]
108
                                [% END %]
109
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
109
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
110
                                    [% IF ( loggedinusername ) %]
110
                                    [% IF ( loggedinusername ) %]
111
                                        <li><p class="navbar-text">
111
                                        <li><p class="navbar-text">
112
                                            [% IF persona %]
112
                                            [% IF persona %]
113
                                                <a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1" onclick='navigator.id.logout();'>
113
                                                <a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">
114
                                            [% ELSE %]
114
                                            [% ELSE %]
115
                                                <a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">
115
                                                <a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">
116
                                            [% END %]
116
                                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (-2 / +7 lines)
Lines 149-155 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
149
            verify_images();
149
            verify_images();
150
         });
150
         });
151
    [% END %]
151
    [% END %]
152
153
    $(".print-large").on("click",function(){
152
    $(".print-large").on("click",function(){
154
        window.print();
153
        window.print();
155
        return false;
154
        return false;
Lines 166-171 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
166
        delSingleRecord('[% biblionumber %]');
165
        delSingleRecord('[% biblionumber %]');
167
        return false;
166
        return false;
168
    });
167
    });
168
    $(".clearsh").on("click", function(){
169
        return confirmDelete(MSG_DELETE_SEARCH_HISTORY);
170
    });
169
    //]]>
171
    //]]>
170
</script>
172
</script>
171
173
Lines 251-256 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
251
        }
253
        }
252
    });
254
    });
253
255
256
    $(".logout").on("click",function(){
257
        navigator.id.logout();
258
    });
259
254
    var signinLink = document.getElementById('browserid');
260
    var signinLink = document.getElementById('browserid');
255
261
256
    if (signinLink) {
262
    if (signinLink) {
257
- 

Return to bug 17209