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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-batches-toolbar.inc (-14 / +14 lines)
Lines 79-88 Link Here
79
                        alert(_("Please select at least one label to export."));
79
                        alert(_("Please select at least one label to export."));
80
                        return;     // no batch selected
80
                        return;     // no batch selected
81
                    }
81
                    }
82
                    return GB_showCenter('Export Labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800);
82
                    return GB_showCenter('Export labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]&" + getstr, 700, 800);
83
                }
83
                }
84
                else if (mode == 'batch') {
84
                else if (mode == 'batch') {
85
                    return GB_showCenter('Export Labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]", 700, 800);
85
                    return GB_showCenter('Export labels', "/cgi-bin/koha/labels/label-print.pl?batch_id=[% batch_id %]", 700, 800);
86
                }
86
                }
87
                else {
87
                else {
88
                    // some pass-thru error trapping just in case...
88
                    // some pass-thru error trapping just in case...
Lines 121-127 Link Here
121
                id: "additems", 
121
                id: "additems", 
122
                type: "link", 
122
                type: "link", 
123
                href: "#",
123
                href: "#",
124
                label: _("Add Item(s)"), 
124
                label: _("Add item(s)"),
125
                container: "additemsc",
125
                container: "additemsc",
126
                onclick: {fn:function(){Add()}}
126
                onclick: {fn:function(){Add()}}
127
            });
127
            });
Lines 130-136 Link Here
130
                id: "removeitems", 
130
                id: "removeitems", 
131
                type: "link", 
131
                type: "link", 
132
                href: "#",
132
                href: "#",
133
                label: _("Remove Item(s)"), 
133
                label: _("Remove item(s)"),
134
                container: "removeitemsc",
134
                container: "removeitemsc",
135
                onclick: {fn:function(){Remove()}}
135
                onclick: {fn:function(){Remove()}}
136
            });
136
            });
Lines 139-145 Link Here
139
                id: "deletebatch", 
139
                id: "deletebatch", 
140
                type: "link", 
140
                type: "link", 
141
                href: "#",
141
                href: "#",
142
                label: _("Delete Batch"), 
142
                label: _("Delete batch"),
143
                container: "deletebatchc",
143
                container: "deletebatchc",
144
                onclick: {fn:function(){DeleteConfirm()}}
144
                onclick: {fn:function(){DeleteConfirm()}}
145
            });
145
            });
Lines 148-154 Link Here
148
                id: "deduplicate", 
148
                id: "deduplicate", 
149
                type: "link", 
149
                type: "link", 
150
                href: "#",
150
                href: "#",
151
                label: _("Remove Duplicates"), 
151
                label: _("Remove duplicates"),
152
                container: "deduplicatec",
152
                container: "deduplicatec",
153
                onclick: {fn:function(){DeDuplicate()}}
153
                onclick: {fn:function(){DeDuplicate()}}
154
            });
154
            });
Lines 157-163 Link Here
157
                id: "exportitems", 
157
                id: "exportitems", 
158
                type: "link", 
158
                type: "link", 
159
                href: "#",
159
                href: "#",
160
                label: _("Export Item(s)"), 
160
                label: _("Export item(s)"),
161
                container: "exportitemsc",
161
                container: "exportitemsc",
162
                onclick: {fn:function(){Xport('label')}}
162
                onclick: {fn:function(){Xport('label')}}
163
            });
163
            });
Lines 166-172 Link Here
166
                id: "exportbatch", 
166
                id: "exportbatch", 
167
                type: "link", 
167
                type: "link", 
168
                href: "#",
168
                href: "#",
169
                label: _("Export Batch"), 
169
                label: _("Export batch"),
170
                container: "exportbatchc",
170
                container: "exportbatchc",
171
                onclick: {fn:function(){Xport('batch')}}
171
                onclick: {fn:function(){Xport('batch')}}
172
            });
172
            });
Lines 175-185 Link Here
175
        //]]>
175
        //]]>
176
    </script>
176
    </script>
177
    <ul class="toolbar">
177
    <ul class="toolbar">
178
        <li id="additemsc"><a id="additems" href="#">Add Item(s)</a></li>[% IF ( table_loop ) %]
178
        <li id="additemsc"><a id="additems" href="#">Add item(s)</a></li>[% IF ( table_loop ) %]
179
        <li id="removeitemsc"><a id="removeitems" href="#">Remove Item(s)</a></li>
179
        <li id="removeitemsc"><a id="removeitems" href="#">Remove item(s)</a></li>
180
        <li id="deletebatchc"><a id="deletebatch" href="#">Delete Batch</a></li>
180
        <li id="deletebatchc"><a id="deletebatch" href="#">Delete batch</a></li>
181
        <li id="deduplicatec"><a id="deduplicate" href="#">Remove Duplicates</a></li>
181
        <li id="deduplicatec"><a id="deduplicate" href="#">Remove duplicates</a></li>
182
        <li id="exportitemsc"><a id="exportitems" href="#">Export Item(s)</a></li>
182
        <li id="exportitemsc"><a id="exportitems" href="#">Export item(s)</a></li>
183
        <li id="exportbatchc"><a id="exportbatch" href="#">Export Batch</a></li>[% END %]
183
        <li id="exportbatchc"><a id="exportbatch" href="#">Export batch</a></li>[% END %]
184
    </ul>
184
    </ul>
185
</div>
185
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-menu.inc (-5 / +5 lines)
Lines 1-8 Link Here
1
<div id="navmenu"><ul id="navmenulist">
1
<div id="navmenu"><ul id="navmenulist">
2
	<li><a href="/cgi-bin/koha/labels/label-home.pl">Labels Home</a></li>
2
	<li><a href="/cgi-bin/koha/labels/label-home.pl">Labels home</a></li>
3
	<li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Manage Layouts</a></li>
3
	<li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Manage layouts</a></li>
4
	<li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Manage Templates</a></li>
4
	<li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Manage templates</a></li>
5
	<li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">Manage Profiles</a></li>
5
	<li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">Manage profiles</a></li>
6
	<li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Manage Batches</a></li>
6
	<li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Manage batches</a></li>
7
</ul>
7
</ul>
8
</div>
8
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-new-toolbar.inc (-4 / +4 lines)
Lines 15-23 Link Here
15
</script>
15
</script>
16
<div id="toolbar">
16
<div id="toolbar">
17
    <ul class="toolbar">
17
    <ul class="toolbar">
18
        <li><a id="newlabel" href="/cgi-bin/koha/labels/label-edit-layout.pl?op=new">New Layout</a></li>
18
        <li><a id="newlabel" href="/cgi-bin/koha/labels/label-edit-layout.pl?op=new">New layout</a></li>
19
        <li><a id="newtemplate" href="/cgi-bin/koha/labels/label-edit-template.pl?op=new">New Template</a></li>
19
        <li><a id="newtemplate" href="/cgi-bin/koha/labels/label-edit-template.pl?op=new">New template</a></li>
20
        <li><a id="newprofile" href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">New Profile</a></li>
20
        <li><a id="newprofile" href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">New profile</a></li>
21
        <li><a id="newbatch" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=new">New Batch</a></li>
21
        <li><a id="newbatch" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=new">New batch</a></li>
22
    </ul>
22
    </ul>
23
</div>
23
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-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/labels/label-manage.pl?label_element=layout" },
15
                {text: _("Manage layouts"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=layout" },
16
                {text: _("New Layout"), url: "/cgi-bin/koha/labels/label-edit-layout.pl?op=new" }
16
                {text: _("New layout"), url: "/cgi-bin/koha/labels/label-edit-layout.pl?op=new" }
17
        ];
17
        ];
18
18
19
        var templates = [
19
        var templates = [
20
                {text: _("Manage Templates"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=template" },
20
                {text: _("Manage templates"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=template" },
21
                {text: _("New Template"), url: "/cgi-bin/koha/labels/label-edit-template.pl?op=new" }
21
                {text: _("New template"), url: "/cgi-bin/koha/labels/label-edit-template.pl?op=new" }
22
        ];
22
        ];
23
23
24
        var profiles = [
24
        var profiles = [
25
                {text: _("Manage Profiles"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=profile" },
25
                {text: _("Manage profiles"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=profile" },
26
                {text: _("New Profile"), url: "/cgi-bin/koha/labels/label-edit-profile.pl?op=new" }
26
                {text: _("New profile"), url: "/cgi-bin/koha/labels/label-edit-profile.pl?op=new" }
27
        ];
27
        ];
28
28
29
        var batches = [
29
        var batches = [
30
                {text: _("Manage Batches"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=batch" },
30
                {text: _("Manage batches"), url: "/cgi-bin/koha/labels/label-manage.pl?label_element=batch" },
31
                {text: _("New Batch"), url: "/cgi-bin/koha/labels/label-edit-batch.pl?op=new" }
31
                {text: _("New batch"), url: "/cgi-bin/koha/labels/label-edit-batch.pl?op=new" }
32
        ];
32
        ];
33
33
34
        new YAHOO.widget.Button({
34
        new YAHOO.widget.Button({
35
- 

Return to bug 2780