Lines 132-154
foreach my $unit (@$units) {
Link Here
|
132 |
} |
132 |
} |
133 |
|
133 |
|
134 |
$template->param( |
134 |
$template->param( |
135 |
profile_list => $profile_list, |
135 |
profile_list => $profile_list, |
136 |
template_id => ($label_template->get_attr('template_id') > 0) ? $label_template->get_attr('template_id') : '', |
136 |
template_id => ( $label_template->get_attr('template_id') > 0 ) ? $label_template->get_attr('template_id') : '', |
137 |
template_code => $label_template->get_attr('template_code'), |
137 |
template_code => $label_template->get_attr('template_code'), |
138 |
template_desc => $label_template->get_attr('template_desc'), |
138 |
template_desc => $label_template->get_attr('template_desc'), |
139 |
page_width => $label_template->get_attr('page_width'), |
139 |
page_width => $label_template->get_attr('page_width'), |
140 |
page_height => $label_template->get_attr('page_height'), |
140 |
page_height => $label_template->get_attr('page_height'), |
141 |
label_width => $label_template->get_attr('label_width'), |
141 |
label_width => $label_template->get_attr('label_width'), |
142 |
label_height => $label_template->get_attr('label_height'), |
142 |
label_height => $label_template->get_attr('label_height'), |
143 |
top_text_margin => $label_template->get_attr('top_text_margin'), |
143 |
top_text_margin => $label_template->get_attr('top_text_margin'), |
144 |
left_text_margin => $label_template->get_attr('left_text_margin'), |
144 |
left_text_margin => $label_template->get_attr('left_text_margin'), |
145 |
top_margin => $label_template->get_attr('top_margin'), |
145 |
top_margin => $label_template->get_attr('top_margin'), |
146 |
left_margin => $label_template->get_attr('left_margin'), |
146 |
left_margin => $label_template->get_attr('left_margin'), |
147 |
cols => $label_template->get_attr('cols'), |
147 |
cols => $label_template->get_attr('cols'), |
148 |
rows => $label_template->get_attr('rows'), |
148 |
rows => $label_template->get_attr('rows'), |
149 |
col_gap => $label_template->get_attr('col_gap'), |
149 |
col_gap => $label_template->get_attr('col_gap'), |
150 |
row_gap => $label_template->get_attr('row_gap'), |
150 |
row_gap => $label_template->get_attr('row_gap'), |
151 |
units => $units, |
151 |
units => $units, |
|
|
152 |
label_element => "template", |
152 |
); |
153 |
); |
153 |
|
154 |
|
154 |
output_html_with_http_headers $cgi, $cookie, $template->output; |
155 |
output_html_with_http_headers $cgi, $cookie, $template->output; |
155 |
- |
|
|