Line 39... |
Line 39... |
39 |
<?php echo wpsg_drawForm_Input('wpsg_mod_productindex_productids', __('Produktauswahl (Kommagetrennte IDs)', 'wpsg'), get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_productids', true)); ?>
|
39 |
<?php echo wpsg_drawForm_Input('wpsg_mod_productindex_productids', __('Produktauswahl (Kommagetrennte IDs)', 'wpsg'), get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_productids', true)); ?>
|
40 |
<br />
|
40 |
<br />
|
41 |
</div>
|
41 |
</div>
|
42 |
|
42 |
|
43 |
<?php /* Produktgruppenauswahl*/ ?>
|
43 |
<?php /* Produktgruppenauswahl*/ ?>
|
- |
|
44 |
<?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
|
44 |
<div class="wpsg_mod_productindex_layershow wpsg_mod_productindex_layer_2" style="display:none;">
|
45 |
<div class="wpsg_mod_productindex_layershow wpsg_mod_productindex_layer_2" style="display:none;">
|
45 |
<?php if (sizeof($this->view['wpsg_mod_productindex']['arProductGroups']) <= 0) { ?>
|
46 |
<?php if (sizeof($this->view['wpsg_mod_productindex']['arProductGroups']) <= 0) { ?>
|
46 |
<?php echo wpsg_drawForm_Input('', __('Produktgruppen', 'wpsg'), __('Keine Produktgruppen angelegt.', 'wpsg'), array('text' => true)); ?>
|
47 |
<?php echo wpsg_drawForm_Input('', __('Produktgruppen', 'wpsg'), __('Keine Produktgruppen angelegt.', 'wpsg'), array('text' => true)); ?>
|
47 |
<?php } else { ?>
|
48 |
<?php } else { ?>
|
48 |
<?php echo wpsg_drawForm_Select('wpsg_mod_productindex_groups', __('Produktgruppen', 'wpsg'), $this->view['wpsg_mod_productindex']['arProductGroups'], get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_groups', true), array('multiple' => ((sizeof($this->view['wpsg_mod_productindex']['arProductGroups']) < 5)?sizeof($this->view['wpsg_mod_productindex']['arProductGroups']):5))); ?>
|
49 |
<?php echo wpsg_drawForm_Select('wpsg_mod_productindex_groups', __('Produktgruppen', 'wpsg'), $this->view['wpsg_mod_productindex']['arProductGroups'], get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_groups', true), array('multiple' => ((sizeof($this->view['wpsg_mod_productindex']['arProductGroups']) < 5)?sizeof($this->view['wpsg_mod_productindex']['arProductGroups']):5))); ?>
|
49 |
<?php } ?>
|
50 |
<?php } ?>
|
50 |
<br />
|
51 |
<br />
|
51 |
</div>
|
52 |
</div>
|
- |
|
53 |
<?php } ?>
|
52 |
|
54 |
|
53 |
<?php /* Produktkategorieauswahl */ ?>
|
55 |
<?php /* Produktkategorieauswahl */ ?>
|
- |
|
56 |
<?php if ($this->hasMod('wpsg_mod_produktartikel')) { ?>
|
54 |
<div class="wpsg_mod_productindex_layershow wpsg_mod_productindex_layer_3" style="display:none;">
|
57 |
<div class="wpsg_mod_productindex_layershow wpsg_mod_productindex_layer_3" style="display:none;">
|
55 |
<?php if (sizeof($this->view['wpsg_mod_productindex']['arCategories']) <= 0) { ?>
|
58 |
<?php if (sizeof($this->view['wpsg_mod_productindex']['arCategories']) <= 0) { ?>
|
56 |
<?php echo wpsg_drawForm_Input('', __('Kategorien', 'wpsg'), __('Keine Kategorien angelegt.', 'wpsg'), array('text' => true)); ?>
|
59 |
<?php echo wpsg_drawForm_Input('', __('Kategorien', 'wpsg'), __('Keine Kategorien angelegt.', 'wpsg'), array('text' => true)); ?>
|
57 |
<?php } else { ?>
|
60 |
<?php } else { ?>
|
58 |
<?php echo wpsg_drawForm_Select('wpsg_mod_productindex_categories', __('Kategorien', 'wpsg'), $this->view['wpsg_mod_productindex']['arCategories'], get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_categories', true), array('multiple' => ((sizeof($this->view['wpsg_mod_productindex']['arCategories']) < 5)?sizeof($this->view['wpsg_mod_productindex']['arCategories']):5))); ?>
|
61 |
<?php echo wpsg_drawForm_Select('wpsg_mod_productindex_categories', __('Kategorien', 'wpsg'), $this->view['wpsg_mod_productindex']['arCategories'], get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_categories', true), array('multiple' => ((sizeof($this->view['wpsg_mod_productindex']['arCategories']) < 5)?sizeof($this->view['wpsg_mod_productindex']['arCategories']):5))); ?>
|
59 |
<?php } ?>
|
62 |
<?php } ?>
|
60 |
<br />
|
63 |
<br />
|
61 |
</div>
|
64 |
</div>
|
- |
|
65 |
<?php } ?>
|
62 |
|
66 |
|
63 |
</div>
|
67 |
</div>
|
64 |
|
68 |
|
65 |
<div style="width:50%; float:right;">
|
69 |
<div style="width:50%; float:right;">
|
66 |
|
70 |
|