summaryrefslogtreecommitdiff
path: root/views/mods/mod_wirecard/settings_edit.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_wirecard/settings_edit.phtml')
-rw-r--r--views/mods/mod_wirecard/settings_edit.phtml29
1 files changed, 24 insertions, 5 deletions
diff --git a/views/mods/mod_wirecard/settings_edit.phtml b/views/mods/mod_wirecard/settings_edit.phtml
index fa32f33..8e03bf0 100644
--- a/views/mods/mod_wirecard/settings_edit.phtml
+++ b/views/mods/mod_wirecard/settings_edit.phtml
@@ -6,7 +6,7 @@
?>
<?php echo wpsg_drawForm_Input('wpsg_mod_wirecard_name', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_wirecard_name'), array('help' => 'wpsg_shippay_name')); ?>
-<?php echo wpsg_drawForm_Checkbox('wpsg_mod_wirecard_activ', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_wirecard_activ'), array('help' => 'wpsg_shippay_activ')); ?>
+<?php echo wpsg_drawForm_Checkbox('wpsg_mod_wirecard_activ', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_wirecard_activ'), array('rAlign' => true, 'help' => 'wpsg_shippay_activ')); ?>
<?php echo wpsg_drawForm_Textarea('wpsg_mod_wirecard_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_wirecard_hint'), array('help' => 'wpsg_shippay_hint')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_wirecard_logo', __('Logo URL', 'wpsg'), $this->get_option('wpsg_mod_wirecard_logo'), array('help' => 'wpsg_mod_wirecard_logo', 'hint' => __('Auflösung: 95x65 Pixel (GIF/JPG/PNG)', 'wpsg'))); ?>
<br />
@@ -28,18 +28,37 @@
<div class="wpsg_form_field">
<div class="wpsg_form_left">
- <label for="wpsg_mod_wirecard_paymenttype"><?php echo __('Verfügbare Zahlungsarten', 'wpsg'); ?>:</label>
+
</div>
- <div class="wpsg_form_right">
+ <div class="wpsg_form_right1">
+ <?php echo wpsg_drawForm_TextStart(); ?>
+ <?php echo wpsg_drawForm_TextEnd(__('Verfügbare Zahlungsarten', 'wpsg'), array('noP' => true)); ?>
<ul class="wpsg_mod_wirecard_paymenttypeselect">
<?php foreach ($this->view['paymentTypes'] as $pt_key => $pt) { ?>
<li>
- <input type="hidden" name="wpsg_mod_wirecard_paymentorder[]" value="<?php echo wpsg_hspc($pt_key); ?>" />
- <input type="checkbox" value="<?php echo wpsg_hspc($pt_key); ?>" <?php echo ((in_array($pt_key, (array)explode(',', $this->get_option('wpsg_mod_wirecard_paymenttype'))))?'checked="checked"':''); ?> name="wpsg_mod_wirecard_paymenttype[]" />&nbsp;<?php echo wpsg_hspc($pt); ?>
+ <input type="hidden" name="wpsg_mod_wirecard_paymentorder[]" value="<?php echo wpsg_hspc($pt_key); ?>" />
+ <?php
+ $arr1 = $this->get_option('wpsg_mod_wirecard_paymenttype');
+ $arr2 = (array)explode(',', $this->get_option('wpsg_mod_wirecard_paymenttype'));
+ $chk = ((in_array($pt_key, (array)explode(',', $this->get_option('wpsg_mod_wirecard_paymenttype'))))?'checked="checked"':'');
+ $chk = ((in_array($pt_key, (array)explode(',', $this->get_option('wpsg_mod_wirecard_paymenttype'))))?1:0);
+ // function wpsg_drawForm_Checkbox($field_name, $field_label, $field_checked, $conf = array())
+ echo wpsg_drawForm_Checkbox('wpsg_mod_wirecard_paymenttype[]', __($pt, 'wpsg'),
+ $chk, array('help1' => 'wpsg_shippay_mwstland',
+ 'value' => wpsg_hspc($pt_key),
+ 'noHidden' => true,
+ 'fullWidth1' => true
+ ));
+ ?>
+
</li>
<?php } ?>
</ul>
+ <?php echo wpsg_drawForm_TextStart(); ?>
<p class="wpsg_hinweis"><?php echo __('Reihenfolge kann mittels Drag&Drop verändert werden.', 'wpsg'); ?></p>
+ <?php echo wpsg_drawForm_TextEnd(__('', 'wpsg'), array('noP' => true)); ?>
+ <br />
+
</div>
<div class="wpsg_clear"></div>
</div>