2766 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Darstellungsoptionen des Shops
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
<div class="wpsg_admin_submenu">
|
|
|
9 |
|
5439 |
daniel |
10 |
<div class="list-group">
|
7094 |
florian |
11 |
<span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
|
|
|
12 |
<?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
|
|
|
13 |
<a class="list-group-item <?php echo (($k == $this->view['subAction'])?'active':''); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a>
|
2766 |
daniel |
14 |
<?php } ?>
|
7094 |
florian |
15 |
</div>
|
|
|
16 |
|
2766 |
daniel |
17 |
</div>
|
7094 |
florian |
18 |
|
5439 |
daniel |
19 |
<div class="wpsg_admin_content form-horizontal">
|
2766 |
daniel |
20 |
<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=presentation&noheader=1'); ?>">
|
7538 |
daniel |
21 |
|
|
|
22 |
<?php \wp_nonce_field('wpsg-save-admin-presentation'); ?>
|
|
|
23 |
|
7094 |
florian |
24 |
<div class="panel panel-default">
|
|
|
25 |
<div class="panel-heading clearfix">
|
|
|
26 |
<h3 class="panel-title"><?php echo __('Darstellung', 'wpsg'); ?></h3>
|
|
|
27 |
</div>
|
|
|
28 |
<div class="panel-body">
|
|
|
29 |
|
|
|
30 |
<?php echo wpsg_drawForm_Select('wpsg_form_validation', __('Formular Validierung', 'wpsg'), array(
|
|
|
31 |
'0' => __('Serverseitig', 'wpsg'),
|
|
|
32 |
'1' => __('Serverseitig + Javascript V1', 'wpsg'),
|
|
|
33 |
'2' => __('Serverseitig + Javascript V2', 'wpsg')
|
|
|
34 |
), $this->get_option('wpsg_form_validation')); ?>
|
|
|
35 |
|
7175 |
thomas |
36 |
<br />
|
|
|
37 |
|
7660 |
karl |
38 |
<?php echo wpsg_drawForm_Checkbox('wpsg_imagehandler_basketimage', __('Produktbild im Warenkorb anzeigen', 'wpsg'), $this->get_option('wpsg_imagehandler_basketimage'), array('help' => 'wpsg_imagehandler_basketimage')); ?>
|
|
|
39 |
<?php echo wpsg_drawForm_Checkbox('wpsg_imagehandler_overviewimage', __('Produktbild in Bestellzusammenfassung anzeigen', 'wpsg'), $this->get_option('wpsg_imagehandler_overviewimage'), array('help' => 'wpsg_imagehandler_overviewimage')); ?>
|
7175 |
thomas |
40 |
|
|
|
41 |
<br />
|
|
|
42 |
|
6438 |
daniel |
43 |
<?php $this->callMods('admin_presentation'); ?>
|
7094 |
florian |
44 |
|
7175 |
thomas |
45 |
<br />
|
|
|
46 |
|
7660 |
karl |
47 |
<?php echo wpsg_drawForm_Checkbox('wpsg_showMwstAlways', __('MwSt. Spalte auch bei einem Satz zeigen', 'wpsg'), $this->get_option('wpsg_showMwstAlways'), array('help' => 'wpsg_showMwstAlways')); ?>
|
|
|
48 |
<?php echo wpsg_drawForm_Checkbox('wpsg_showArticelnumber', __('Artikelnummer im Produkttemplate anzeigen', 'wpsg'), $this->get_option('wpsg_showArticelnumber'), array('help' => 'wpsg_showArticelnumber')); ?>
|
|
|
49 |
<?php echo wpsg_drawForm_Checkbox('wpsg_hideBasketCountrySelect', __('Länderauswahl im Warenkorb verbergen', 'wpsg'), $this->get_option('wpsg_hideBasketCountrySelect'), array('help' => 'wpsg_hideBasketCountrySelect')); ?>
|
7086 |
florian |
50 |
|
7094 |
florian |
51 |
<br />
|
7086 |
florian |
52 |
|
7176 |
thomas |
53 |
<?php echo wpsg_drawForm_Checkbox('wpsg_alternativeProductDetailDesign', __('Alternatives Design für die Produktverwaltung aktivieren', 'wpsg'), $this->get_option('wpsg_alternativeProductDetailDesign'), array('help' => 'wpsg_alternativeProductDetailDesign')); ?>
|
|
|
54 |
<?php echo wpsg_drawForm_Checkbox('wpsg_alternativeOrderDesign', __('Alternatives Design für die Bestellansichtsseite aktivieren', 'wpsg'), $this->get_option('wpsg_alternativeOrderDesign'), array('help' => 'wpsg_alternativeOrderDesign')); ?>
|
7086 |
florian |
55 |
|
7094 |
florian |
56 |
</div>
|
5439 |
daniel |
57 |
</div>
|
7094 |
florian |
58 |
|
2766 |
daniel |
59 |
<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
|
|
|
60 |
|
|
|
61 |
</form>
|
|
|
62 |
</div>
|