Line 3... |
Line 3... |
3 |
/**
|
3 |
/**
|
4 |
* Template für die Einstellungen des Lagerbestandsmoduls
|
4 |
* Template für die Einstellungen des Lagerbestandsmoduls
|
5 |
*/
|
5 |
*/
|
6 |
|
6 |
|
7 |
?>
|
7 |
?>
|
8 |
<div class="wpsg_form_field">
|
- |
|
9 |
<div class="wpsg_form_left">
|
- |
|
10 |
<label for="wpsg_mod_stock_template"><?php echo __('Template für ausverkaufte Produkte', 'wpsg'); ?>:</label>
|
- |
|
11 |
</div>
|
8 |
<?php
|
12 |
<div class="wpsg_form_right">
|
- |
|
13 |
<?php if (!is_array($this->view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?>
|
9 |
$arTemp = wpsg_array_merge(array('-1' => __('Wie Produkttemplate', 'wpsg')), $this->view['arTemplates']);
|
14 |
<p class="wpsg_error"><?php echo __('Keine Templatedatein gefunden!', 'wpsg'); ?></p>
|
- |
|
15 |
<?php } else { ?>
|
10 |
?>
|
16 |
<input type="hidden" name="wpsg_mod_stock_template" value="<?php echo $this->get_option('wpsg_mod_stock_template'); ?>" />
|
11 |
<?php echo wpsg_drawForm_Select('wpsg_mod_stock_template', __('Template für ausverkaufte Produkte', 'wpsg'),
|
17 |
<select name="wpsg_mod_stock_template" id="wpsg_mod_stock_template">
|
12 |
$arTemp, @$this->get_option('wpsg_mod_stock_template')); ?>
|
18 |
<option value="-1"><?php echo __('Wie Produkttemplate', 'wpsg'); ?></option>
|
- |
|
19 |
<?php foreach ($this->view['arTemplates'] as $t) { ?>
|
- |
|
20 |
<option <?php echo (($t == $this->get_option('wpsg_mod_stock_template'))?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($t); ?>"><?php echo wpsg_hspc($t); ?></option>
|
- |
|
21 |
<?php } ?>
|
- |
|
22 |
</select>
|
- |
|
23 |
<?php } ?>
|
- |
|
24 |
</div>
|
- |
|
25 |
<div class="wpsg_clear"></div>
|
- |
|
26 |
</div>
|
13 |
|
27 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_notemplateswitch', __('Template nicht wechseln', 'wpsg'), $this->get_option('wpsg_mod_stock_notemplateswitch'), array('help' => 'wpsg_mod_stock_notemplateswitch')); ?>
|
14 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_notemplateswitch', __('Template nicht wechseln', 'wpsg'), $this->get_option('wpsg_mod_stock_notemplateswitch'), array('help' => 'wpsg_mod_stock_notemplateswitch')); ?>
|
28 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_allow', __('Bestellungen bei negativen Bestand verhindern', 'wpsg'), $this->get_option('wpsg_mod_stock_allow'), array('help' => 'wpsg_mod_stock_allow')); ?>
|
15 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_allow', __('Bestellungen bei negativen Bestand verhindern', 'wpsg'), $this->get_option('wpsg_mod_stock_allow'), array('help' => 'wpsg_mod_stock_allow')); ?>
|
29 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_showBackendStock', __('Bestand in Produktübersicht (Backend) anzeigen', 'wpsg'), $this->get_option('wpsg_mod_stock_showBackendStock'), array('help' => 'wpsg_mod_stock_showBackendStock')); ?>
|
16 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_showBackendStock', __('Bestand in Produktübersicht (Backend) anzeigen', 'wpsg'), $this->get_option('wpsg_mod_stock_showBackendStock'), array('help' => 'wpsg_mod_stock_showBackendStock')); ?>
|
30 |
<?php if ($this->hasMod('wpsg_mod_productindex')) { ?>
|
17 |
<?php if ($this->hasMod('wpsg_mod_productindex')) { ?>
|
31 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_showProductindex', __('Bestand in Produktübersicht (Frontend) anzeigen', 'wpsg'), $this->get_option('wpsg_mod_stock_showProductindex'), array('help' => 'wpsg_mod_stock_showProductindex')); ?>
|
18 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_stock_showProductindex', __('Bestand in Produktübersicht (Frontend) anzeigen', 'wpsg'), $this->get_option('wpsg_mod_stock_showProductindex'), array('help' => 'wpsg_mod_stock_showProductindex')); ?>
|