1067 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die verwaltung der Seiten im Backend
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
<div class="wpsg_admin_submenu">
|
|
|
9 |
|
5455 |
thomas |
10 |
<div class="list-group">
|
|
|
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>
|
1067 |
daniel |
14 |
<?php } ?>
|
5455 |
thomas |
15 |
</div>
|
1067 |
daniel |
16 |
|
|
|
17 |
</div>
|
|
|
18 |
|
5532 |
daniel |
19 |
<div class="wpsg_admin_content form-horizontal">
|
|
|
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=seiten&noheader=1'); ?>">
|
|
|
21 |
|
7558 |
daniel |
22 |
<?php wp_nonce_field('wpsg-admin-seiten'); ?>
|
|
|
23 |
|
5532 |
daniel |
24 |
<?php echo wpsg_drawForm_AdminboxStart(__('Seitenkonfiguration', 'wpsg')); ?>
|
1067 |
daniel |
25 |
|
5799 |
thomas |
26 |
<?php if ($this->hasMod('wpsg_mod_request') == '1') { ?>
|
|
|
27 |
<?php echo wpsg_drawForm_Select('wpsg_page_request', __('Anfrageliste', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_request'), array('help' => 'wpsg_page_request')); ?>
|
|
|
28 |
<?php } ?>
|
|
|
29 |
|
5707 |
daniel |
30 |
<?php echo wpsg_drawForm_Select('wpsg_page_basket', __('Warenkorbseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_basket'), array('help' => 'wpsg_page_basket')); ?>
|
7379 |
thomas |
31 |
<?php echo wpsg_drawForm_Select('wpsg_page_basket_more', __('"Weiter shoppen" - Seite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_basket_more'), array('help' => 'wpsg_page_basket_more')); ?>
|
6613 |
thomas |
32 |
<?php echo wpsg_drawForm_Select('wpsg_page_product', __('Produktdetailseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_product'), array('help' => 'wpsg_page_product')); ?>
|
5707 |
daniel |
33 |
<?php echo wpsg_drawForm_Select('wpsg_page_versand', __('Versandkosten', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_versand'), array('help' => 'wpsg_page_versand')); ?>
|
|
|
34 |
<?php echo wpsg_drawForm_Select('wpsg_page_agb', __('AGB', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_agb'), array('help' => 'wpsg_page_agb')); ?>
|
|
|
35 |
<?php echo wpsg_drawForm_Select('wpsg_page_datenschutz', __('Datenschutz', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_datenschutz'), array('help' => 'wpsg_page_datenschutz')); ?>
|
|
|
36 |
<?php echo wpsg_drawForm_Select('wpsg_page_widerrufsbelehrung', __('Widerrufsbelehrung', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_widerrufsbelehrung'), array('help' => 'wpsg_page_widerrufsbelehrung')); ?>
|
5799 |
thomas |
37 |
<?php // echo wpsg_drawForm_Input('wpsg_page_onlinedisputeresolution', __('Online Streitbeilegung', 'wpsg'), $this->get_option('wpsg_page_onlinedisputeresolution'), array('help' => 'wpsg_page_onlinedisputeresolution')); ?>
|
5707 |
daniel |
38 |
<?php echo wpsg_drawForm_Select('wpsg_page_impressum', __('Impressum', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_impressum'), array('help' => 'wpsg_page_impressum')); ?>
|
1067 |
daniel |
39 |
|
5532 |
daniel |
40 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
|
|
41 |
|
|
|
42 |
<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
</form>
|
1067 |
daniel |
47 |
</div>
|