Line 146... |
Line 146... |
146 |
<table class="table wpsg-table-order table-bordered table-hover table-striped wpsg-table-customer">
|
146 |
<table class="table wpsg-table-order table-bordered table-hover table-striped wpsg-table-customer">
|
147 |
<thead>
|
147 |
<thead>
|
148 |
<tr>
|
148 |
<tr>
|
149 |
<th class="manage-column column-title wpsg_pic_col wpsg_order col_id" data-order="id">
|
149 |
<th class="manage-column column-title wpsg_pic_col wpsg_order col_id" data-order="id">
|
150 |
|
150 |
|
151 |
<input style="margin-right:30px;" type="checkbox" value="1" id="wpsg_check_all" onclick="return wpsg_customer_checkAll();" name="" />
|
151 |
<input style="margin-right:30px;" type="checkbox" value="1" id="wpsg_check_all" onclick="return wpsg_customer_checkAll(event);" name="" />
|
152 |
|
152 |
|
153 |
</th>
|
153 |
</th>
|
154 |
<th class="wpsg_order col_name" data-order="nr"><?php echo __("Nr/Name", 'wpsg'); ?></th>
|
154 |
<th class="wpsg_order col_name" data-order="nr"><?php echo __("Nr/Name", 'wpsg'); ?></th>
|
155 |
<th class="wpsg_order col_adress" data-order="adress"><?php echo __("Anschrift", 'wpsg'); ?></th>
|
155 |
<th class="wpsg_order col_adress" data-order="adress"><?php echo __("Anschrift", 'wpsg'); ?></th>
|
156 |
<th class="wpsg_order col_status" data-order="status"><?php echo __("Status", 'wpsg'); ?></th>
|
156 |
<th class="wpsg_order col_status" data-order="status"><?php echo __("Status", 'wpsg'); ?></th>
|
Line 251... |
Line 251... |
251 |
|
251 |
|
252 |
<?php if (wpsg_isSizedString($this->view['arFilter']['order']) && wpsg_isSizedString($this->view['arFilter']['ascdesc'])) { ?>
|
252 |
<?php if (wpsg_isSizedString($this->view['arFilter']['order']) && wpsg_isSizedString($this->view['arFilter']['ascdesc'])) { ?>
|
253 |
jQuery('th[data-order="<?php echo $this->view['arFilter']['order']; ?>"]').addClass('wpsg_order_<?php echo strtolower($this->view['arFilter']['ascdesc']); ?>');
|
253 |
jQuery('th[data-order="<?php echo $this->view['arFilter']['order']; ?>"]').addClass('wpsg_order_<?php echo strtolower($this->view['arFilter']['ascdesc']); ?>');
|
254 |
<?php } ?>
|
254 |
<?php } ?>
|
255 |
|
255 |
|
256 |
function wpsg_customer_checkAll()
|
256 |
function wpsg_customer_checkAll(event)
|
257 |
{
|
257 |
{
|
258 |
|
258 |
|
- |
|
259 |
event.stopPropagation();
|
- |
|
260 |
|
259 |
jQuery('.col_set_checkbox').each(function() { jQuery(this).prop('checked', !jQuery(this).prop('checked')); } );
|
261 |
jQuery('.col_set_checkbox').each(function() { jQuery(this).prop('checked', !jQuery(this).prop('checked')); } );
|
260 |
|
262 |
|
261 |
return false;
|
263 |
return false;
|
262 |
|
264 |
|
263 |
}
|
265 |
}
|
264 |
|
266 |
|