Line 14... |
Line 14... |
14 |
<th class="col_aktion"></th>
|
14 |
<th class="col_aktion"></th>
|
15 |
</tr>
|
15 |
</tr>
|
16 |
<?php foreach ($this->view['data'] as $vz) { ?>
|
16 |
<?php foreach ($this->view['data'] as $vz) { ?>
|
17 |
<tr>
|
17 |
<tr>
|
18 |
<td class="wpsg_editable col_name">
|
18 |
<td class="wpsg_editable col_name">
|
19 |
<span id="vz_<?php echo $vz['id']; ?>_name" ><?php echo wpsg_hspc($vz['name']); ?></span> <span><a class="wpsg_icon wpsg_icon_right wpsg_icon_edit" href="#" title="<?php echo __('Versandzonen PLZ bearbeiten', 'wpsg'); ?>" onclick="return wpsg_editPLZ(<?php echo $vz['id']; ?>);"></a></span>
|
19 |
<span id="vz_<?php echo $vz['id']; ?>_name" ><?php echo wpsg_hspc($vz['name']); ?></span>
|
20 |
<br />
|
20 |
<br />
|
21 |
<?php if (!empty($vz['param'])) { $arPLZ = unserialize($vz['param']); } ?>
|
21 |
<?php if (!empty($vz['param'])) { $arPLZ = unserialize($vz['param']); } ?>
|
22 |
<div id="vz_<?php echo $vz['id']; ?>_plz" style="display:none">
|
22 |
<div id="vz_<?php echo $vz['id']; ?>_plz" style="display:none">
|
23 |
<textarea style="float:left;"><?php echo wpsg_hspc($vz['param']); ?></textarea>
|
23 |
<textarea style="float:left; width:100%;"><?php echo wpsg_hspc($vz['param']); ?></textarea>
|
24 |
<input style="width:75px;" class="" type="submit" name="wpsg_mod_vz_submitsave" value="<?php echo __('Speichern', 'wpsg'); ?>" onclick="return wpsg_savePLZ(<?php echo $vz['id']; ?>);" />
|
24 |
<input style="width:75px;" class="" type="submit" name="wpsg_mod_vz_submitsave" value="<?php echo __('Speichern', 'wpsg'); ?>" onclick="return wpsg_savePLZ(<?php echo $vz['id']; ?>);" />
|
25 |
</div>
|
25 |
</div>
|
26 |
</td>
|
26 |
</td>
|
27 |
<td class="col_aktion">
|
27 |
<td class="col_aktion">
|
28 |
|
28 |
|
29 |
<a class="wpsg_icon wpsg_icon_remove" href="#" title="<?php echo __('Versandzone löschen', 'wpsg'); ?>" onclick="return wpsg_removeVZ(<?php echo $vz['id']; ?>);"></a>
|
29 |
<a class="wpsg_icon wpsg_icon_remove" href="#" title="<?php echo __('Versandzone löschen', 'wpsg'); ?>" onclick="return wpsg_removeVZ(<?php echo $vz['id']; ?>);"></a>
|
- |
|
30 |
<span><a class="wpsg_icon wpsg_icon_right wpsg_icon_plzedit" href="#" title="<?php echo __('Versandzonen PLZ bearbeiten', 'wpsg'); ?>" onclick="return wpsg_editPLZ(<?php echo $vz['id']; ?>);"></a></span>
|
30 |
|
31 |
|
31 |
<script type="text/javascript">
|
32 |
<script type="text/javascript">
|
32 |
|
33 |
|
33 |
jQuery('#vz_<?php echo $vz['id']; ?>_name').editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=vz&do=inlinedit&noheader=1', {
|
34 |
jQuery('#vz_<?php echo $vz['id']; ?>_name').editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=vz&do=inlinedit&noheader=1', {
|
34 |
submitdata: {
|
35 |
submitdata: {
|
35 |
field: 'name',
|
36 |
field: 'name',
|