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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-batches-toolbar.inc (-14 / +14 lines)
Lines 73-82 Link Here
73
                        alert(_("Please select at least one card to export."));
73
                        alert(_("Please select at least one card to export."));
74
                        return;     // no batch selected
74
                        return;     // no batch selected
75
                    }
75
                    }
76
                    return GB_showCenter('Export Labels', "/cgi-bin/koha/patroncards/print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800);
76
                    return GB_showCenter('Export labels', "/cgi-bin/koha/patroncards/print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800);
77
                }
77
                }
78
                else if (mode == 'batch') {
78
                else if (mode == 'batch') {
79
                    return GB_showCenter('Export Labels', "/cgi-bin/koha/patroncards/print.pl?batch_id=[% batch_id %]", 700, 800);
79
                    return GB_showCenter('Export labels', "/cgi-bin/koha/patroncards/print.pl?batch_id=[% batch_id %]", 700, 800);
80
                }
80
                }
81
                else {
81
                else {
82
                    // some pass-thru error trapping just in case...
82
                    // some pass-thru error trapping just in case...
Lines 115-121 Link Here
115
                id: "additems",
115
                id: "additems",
116
                type: "link",
116
                type: "link",
117
                href: "#",
117
                href: "#",
118
                label: _("Add Item(s)"),
118
                label: _("Add item(s)"),
119
                container: "additemsc",
119
                container: "additemsc",
120
                onclick: {fn:function(){Add()}}
120
                onclick: {fn:function(){Add()}}
121
            });
121
            });
Lines 124-130 Link Here
124
                id: "removeitems",
124
                id: "removeitems",
125
                type: "link",
125
                type: "link",
126
                href: "#",
126
                href: "#",
127
                label: _("Remove Item(s)"),
127
                label: _("Remove item(s)"),
128
                container: "removeitemsc",
128
                container: "removeitemsc",
129
                onclick: {fn:function(){Remove()}}
129
                onclick: {fn:function(){Remove()}}
130
            });
130
            });
Lines 133-139 Link Here
133
                id: "deletebatch",
133
                id: "deletebatch",
134
                type: "link",
134
                type: "link",
135
                href: "#",
135
                href: "#",
136
                label: _("Delete Batch"),
136
                label: _("Delete batch"),
137
                container: "deletebatchc",
137
                container: "deletebatchc",
138
                onclick: {fn:function(){DeleteConfirm()}}
138
                onclick: {fn:function(){DeleteConfirm()}}
139
            });
139
            });
Lines 142-148 Link Here
142
                id: "deduplicate",
142
                id: "deduplicate",
143
                type: "link",
143
                type: "link",
144
                href: "#",
144
                href: "#",
145
                label: _("Remove Duplicates"),
145
                label: _("Remove duplicates"),
146
                container: "deduplicatec",
146
                container: "deduplicatec",
147
                onclick: {fn:function(){DeDuplicate()}}
147
                onclick: {fn:function(){DeDuplicate()}}
148
            });
148
            });
Lines 151-157 Link Here
151
                id: "exportitems",
151
                id: "exportitems",
152
                type: "link",
152
                type: "link",
153
                href: "#",
153
                href: "#",
154
                label: _("Export Item(s)"),
154
                label: _("Export item(s)"),
155
                container: "exportitemsc",
155
                container: "exportitemsc",
156
                onclick: {fn:function(){Xport('label')}}
156
                onclick: {fn:function(){Xport('label')}}
157
            });
157
            });
Lines 160-166 Link Here
160
                id: "exportbatch",
160
                id: "exportbatch",
161
                type: "link",
161
                type: "link",
162
                href: "#",
162
                href: "#",
163
                label: _("Export Batch"),
163
                label: _("Export batch"),
164
                container: "exportbatchc",
164
                container: "exportbatchc",
165
                onclick: {fn:function(){Xport('batch')}}
165
                onclick: {fn:function(){Xport('batch')}}
166
            });
166
            });
Lines 169-179 Link Here
169
        //]]>
169
        //]]>
170
    </script>
170
    </script>
171
    <ul class="toolbar">
171
    <ul class="toolbar">
172
        <li id="additemsc"><a id="additems" href="#">Add Item(s)</a></li>[% IF ( table_loop ) %]
172
        <li id="additemsc"><a id="additems" href="#">Add item(s)</a></li>[% IF ( table_loop ) %]
173
        <li id="removeitemsc"><a id="removeitems" href="#">Remove Item(s)</a></li>
173
        <li id="removeitemsc"><a id="removeitems" href="#">Remove item(s)</a></li>
174
        <li id="deletebatchc"><a id="deletebatch" href="#">Delete Batch</a></li>
174
        <li id="deletebatchc"><a id="deletebatch" href="#">Delete batch</a></li>
175
        <li id="deduplicatec"><a id="deduplicate" href="#">Remove Duplicates</a></li>
175
        <li id="deduplicatec"><a id="deduplicate" href="#">Remove duplicates</a></li>
176
        <li id="exportitemsc"><a id="exportitems" href="#">Export Item(s)</a></li>
176
        <li id="exportitemsc"><a id="exportitems" href="#">Export item(s)</a></li>
177
        <li id="exportbatchc"><a id="exportbatch" href="#">Export Batch</a></li>[% END %]
177
        <li id="exportbatchc"><a id="exportbatch" href="#">Export batch</a></li>[% END %]
178
    </ul>
178
    </ul>
179
</div>
179
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-menu.inc (-6 / +6 lines)
Lines 1-9 Link Here
1
<div id="navmenu"><ul id="navmenulist">
1
<div id="navmenu"><ul id="navmenulist">
2
	<li><a href="/cgi-bin/koha/patroncards/home.pl">Patron Card Creator Home</a></li>
2
	<li><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator home</a></li>
3
	<li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Manage Layouts</a></li>
3
	<li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Manage layouts</a></li>
4
	<li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Manage Templates</a></li>
4
	<li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Manage templates</a></li>
5
	<li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile">Manage Profiles</a></li>
5
	<li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile">Manage profiles</a></li>
6
	<li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Manage Batches</a></li>
6
	<li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Manage batches</a></li>
7
	<li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Manage Images</a></li>
7
	<li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Manage images</a></li>
8
</ul>
8
</ul>
9
</div>
9
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc (-9 / +8 lines)
Lines 12-34 Link Here
12
    // YUI Toolbar Functions
12
    // YUI Toolbar Functions
13
    function yuiToolbar() {
13
    function yuiToolbar() {
14
        var layouts = [
14
        var layouts = [
15
                {text: _("Manage Layouts"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=layout" },
15
                {text: _("Manage layouts"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=layout" },
16
                {text: _("New Layout"), url: "/cgi-bin/koha/patroncards/edit-layout.pl?op=new" }
16
                {text: _("New layout"), url: "/cgi-bin/koha/patroncards/edit-layout.pl?op=new" }
17
        ];
17
        ];
18
18
19
        var templates = [
19
        var templates = [
20
                {text: _("Manage Templates"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=template" },
20
                {text: _("Manage templates"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=template" },
21
                {text: _("New Template"), url: "/cgi-bin/koha/patroncards/edit-template.pl?op=new" }
21
                {text: _("New template"), url: "/cgi-bin/koha/patroncards/edit-template.pl?op=new" }
22
        ];
22
        ];
23
23
24
        var profiles = [
24
        var profiles = [
25
                {text: _("Manage Profiles"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=profile" },
25
                {text: _("Manage profiles"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=profile" },
26
                {text: _("New Profile"), url: "/cgi-bin/koha/patroncards/edit-profile.pl?op=new" }
26
                {text: _("New profile"), url: "/cgi-bin/koha/patroncards/edit-profile.pl?op=new" }
27
        ];
27
        ];
28
28
29
        var batches = [
29
        var batches = [
30
                {text: _("Manage Batches"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=batch" },
30
                {text: _("Manage batches"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=batch" },
31
                {text: _("New Batch"), url: "/cgi-bin/koha/patroncards/edit-batch.pl?op=new" }
31
                {text: _("New batch"), url: "/cgi-bin/koha/patroncards/edit-batch.pl?op=new" }
32
        ];
32
        ];
33
33
34
        new YAHOO.widget.Button({
34
        new YAHOO.widget.Button({
35
- 

Return to bug 2780