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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (+12 lines)
Lines 108-113 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
108
<script type="text/javascript" src="[% interface %]/[% theme %]/js/amazonimages.js"></script>
108
<script type="text/javascript" src="[% interface %]/[% theme %]/js/amazonimages.js"></script>
109
[% END %]
109
[% END %]
110
110
111
<script src="[% interface %]/lib/emoji-picker/js/config.js"></script>
112
<script src="[% interface %]/lib/emoji-picker/js/util.js"></script>
113
<script src="[% interface %]/lib/emoji-picker/js/jquery.emojiarea.js"></script>
114
<script src="[% interface %]/lib/emoji-picker/js/emoji-picker.js"></script>
115
111
<script type="text/javascript">
116
<script type="text/javascript">
112
    //<![CDATA[
117
    //<![CDATA[
113
    var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again")
118
    var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again")
Lines 252-257 $(document).ready(function() { Link Here
252
            jQuery.removeCookie("search_path_code", { path: '/'});
257
            jQuery.removeCookie("search_path_code", { path: '/'});
253
        });
258
        });
254
    }
259
    }
260
261
    window.emojiPicker = new EmojiPicker({
262
      emojiable_selector: '[data-emojiable=true]',
263
      assetsPath: '[% interface %]/lib/emoji-picker/img/',
264
      popupButtonClasses: 'fa fa-smile-o'
265
    });
266
    window.emojiPicker.discover();
255
});
267
});
256
</script>
268
</script>
257
[% PROCESS jsinclude %]
269
[% PROCESS jsinclude %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-2 / +11 lines)
Lines 40-45 Link Here
40
    [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/jquery.rating.css" />[% END %]
40
    [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/jquery.rating.css" />[% END %]
41
[% END %]
41
[% END %]
42
[% INCLUDE greybox.inc %]
42
[% INCLUDE greybox.inc %]
43
    <link href="[% interface %]/lib/emoji-picker/css/emoji.css" rel="stylesheet">
43
</head>
44
</head>
44
[% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %]
45
[% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %]
45
[% INCLUDE 'masthead.inc' %]
46
[% INCLUDE 'masthead.inc' %]
Lines 411-420 Link Here
411
                                [% IF ( loggedinusername ) %]
412
                                [% IF ( loggedinusername ) %]
412
                                    <form id="tagform[% biblio.biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
413
                                    <form id="tagform[% biblio.biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
413
                                        <label for="newtag[% biblio.biblionumber %]">New tag(s), separated by a comma:</label>
414
                                        <label for="newtag[% biblio.biblionumber %]">New tag(s), separated by a comma:</label>
414
                                        <input name="newtag[% biblio.biblionumber %]" id="newtag[% biblio.biblionumber %]" maxlength="100" type="text"/>
415
                                        <p class="emoji-picker-container">
416
                                          <input
417
                                            name="newtag[% biblio.biblionumber %]"
418
                                            id="newtag[% biblio.biblionumber %]"
419
                                            type="text"
420
                                            maxlength="100"
421
                                            data-emojiable="true"
422
                                            data-emoji-input="unicode">
423
                                        </p>
415
                                        <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblio.biblionumber %]" type="submit" value="Add" />
424
                                        <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblio.biblionumber %]" type="submit" value="Add" />
416
                                        <a class="cancel_tag_add" id="cancel[% biblio.biblionumber %]" href="#">(done)</a>
425
                                        <a class="cancel_tag_add" id="cancel[% biblio.biblionumber %]" href="#">(done)</a>
417
                                    </form>
426
                                    </form>
427
418
                                    <span id="newtag[% biblio.biblionumber %]_status" class="tagstatus" style="display:none;">
428
                                    <span id="newtag[% biblio.biblionumber %]_status" class="tagstatus" style="display:none;">
419
                                        Tag status here.
429
                                        Tag status here.
420
                                    </span>
430
                                    </span>
421
- 

Return to bug 15794