Lines 4-9
Link Here
|
4 |
[% INCLUDE 'greybox.inc' %] |
4 |
[% INCLUDE 'greybox.inc' %] |
5 |
<script type="text/javascript"> |
5 |
<script type="text/javascript"> |
6 |
//<![CDATA[ |
6 |
//<![CDATA[ |
|
|
7 |
var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this?"); |
7 |
function Xport() { |
8 |
function Xport() { |
8 |
batches= new Array; |
9 |
batches= new Array; |
9 |
if(document.layouts.action.length > 0) { |
10 |
if(document.layouts.action.length > 0) { |
Lines 103-109
Link Here
|
103 |
<thead> |
104 |
<thead> |
104 |
<tr> |
105 |
<tr> |
105 |
[% FOREACH header_field IN table_loo.header_fields %] |
106 |
[% FOREACH header_field IN table_loo.header_fields %] |
106 |
<th>[% header_field.field_label %]</th> |
107 |
[% SWITCH header_field.field_label %] |
|
|
108 |
[% CASE 'Layout ID' %]<th>Layout ID</th> |
109 |
[% CASE 'Layout' %]<th>Layout</th> |
110 |
[% CASE 'Barcode Type' %]<th>Barcode type</th> |
111 |
[% CASE 'Print Type' %]<th>Print type</th> |
112 |
[% CASE 'Template ID' %]<th>Template ID</th> |
113 |
[% CASE 'Template Name' %]<th>Template name</th> |
114 |
[% CASE 'Description' %]<th>Description</th> |
115 |
[% CASE 'Actions' %]<th>Actions</th> |
116 |
[% CASE 'Profile ID' %]<th>Profile ID</th> |
117 |
[% CASE 'Printer Name' %]<th>Printer name</th> |
118 |
[% CASE 'Paper Bin' %]<th>Paper bin</th> |
119 |
[% CASE 'Batch ID' %]<th>Batch ID</th> |
120 |
[% CASE 'Item Count' %]<th>Item count</th> |
121 |
[% CASE %]<th>[% header_field.field_label %]</th> |
122 |
[% END %] |
107 |
[% END %] |
123 |
[% END %] |
108 |
</tr> |
124 |
</tr> |
109 |
</thead> |
125 |
</thead> |
Lines 111-117
Link Here
|
111 |
<tr> |
127 |
<tr> |
112 |
[% FOREACH text_field IN table_loo.text_fields %] |
128 |
[% FOREACH text_field IN table_loo.text_fields %] |
113 |
[% IF ( text_field.select_field ) %] |
129 |
[% IF ( text_field.select_field ) %] |
114 |
<td align="center"><a class="btn btn-mini" href="/cgi-bin/koha/labels/label-edit-[% label_element |url %].pl?op=edit&element_id=[% text_field.field_value |url %]"><icon class="icon-edit"></icon> Edit</a> <a class="btn btn-mini" href="/cgi-bin/koha/labels/label-manage.pl?op=delete&label_element=[% label_element %]&element_id=[% text_field.field_value |url %]" onclick="return confirm('Are you sure you want to delete this?');"><icon class="icon-trash"></icon> Delete</a></td> |
130 |
<td align="center"><a class="btn btn-mini" href="/cgi-bin/koha/labels/label-edit-[% label_element |url %].pl?op=edit&element_id=[% text_field.field_value |url %]"><icon class="icon-edit"></icon> Edit</a> <a class="btn btn-mini" href="/cgi-bin/koha/labels/label-manage.pl?op=delete&label_element=[% label_element %]&element_id=[% text_field.field_value |url %]" onclick="return confirm(MSG_CONFIRM_DELETE);"><icon class="icon-trash"></icon> Delete</a></td> |
115 |
[% IF label_element == 'batch' %] <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value %]" /></td>[% END %] |
131 |
[% IF label_element == 'batch' %] <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value %]" /></td>[% END %] |
116 |
[% ELSIF ( text_field.field_value ) %] |
132 |
[% ELSIF ( text_field.field_value ) %] |
117 |
<td>[% text_field.field_value %]</td> |
133 |
<td>[% text_field.field_value %]</td> |
118 |
- |
|
|