Line 8... |
Line 8... |
8 |
<div class="wpsg_admin_submenu">
|
8 |
<div class="wpsg_admin_submenu">
|
9 |
|
9 |
|
10 |
<div class="list-group">
|
10 |
<div class="list-group">
|
11 |
<span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
|
11 |
<span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
|
12 |
<?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
|
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>
|
13 |
<a class="list-group-item <?php echo (($k == $this->view['subAction'])?'active':''); ?>" href="<?php
|
- |
|
14 |
|
- |
|
15 |
echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $k;
|
- |
|
16 |
|
- |
|
17 |
?>"><?php echo $v['Menutext']; ?></a>
|
14 |
<?php } ?>
|
18 |
<?php } ?>
|
15 |
</div>
|
19 |
</div>
|
16 |
|
20 |
|
17 |
</div>
|
21 |
</div>
|
18 |
|
22 |
|
19 |
<div class="wpsg_admin_content form-horizontal">
|
23 |
<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=loadsavesettings&noheader=1'); ?>">
|
24 |
<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=loadsavesettings&noheader=1'); ?>">
|
21 |
|
25 |
|
- |
|
26 |
<?php \wp_nonce_field('wpsg-save-admin-loadsavesettings'); ?>
|
- |
|
27 |
|
22 |
<div class="panel panel-default">
|
28 |
<div class="panel panel-default">
|
23 |
<div class="panel-heading clearfix">
|
29 |
<div class="panel-heading clearfix">
|
24 |
<h3 class="panel-title"><?php echo __('Einstellungen sichern', 'wpsg'); ?></h3>
|
30 |
<h3 class="panel-title"><?php echo __('Einstellungen sichern', 'wpsg'); ?></h3>
|
25 |
</div>
|
31 |
</div>
|
26 |
<div class="panel-body">
|
32 |
<div class="panel-body">
|
27 |
|
33 |
|
28 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
34 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
29 |
<a href="<?php echo WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=loadsavesettings&noheader=1&wpsg_do=downloadsettings&submit=1'; ?>" title="<?php echo __('Einstellungen als XML Datei downloaden', 'wpsg'); ?>"><?php echo __('Download', 'wpsg'); ?></a>
|
35 |
<a href="<?php
|
- |
|
36 |
|
- |
|
37 |
echo \wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=loadsavesettings&noheader=1&wpsg_do=downloadsettings&submit=1', 'wpsg-save-admin-loadsavesettings-download');
|
- |
|
38 |
|
- |
|
39 |
?>" title="<?php echo __('Einstellungen als XML Datei downloaden', 'wpsg'); ?>"><?php echo __('Download', 'wpsg'); ?></a>
|
30 |
<?php echo wpsg_drawForm_TextEnd(__('Einstellungen speichern', 'wpsg')); ?>
|
40 |
<?php echo wpsg_drawForm_TextEnd(__('Einstellungen speichern', 'wpsg')); ?>
|
31 |
|
41 |
|
32 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
42 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
33 |
<input type="file" name="wpsg_settings" />
|
43 |
<input type="file" name="wpsg_settings" />
|
34 |
<?php echo wpsg_drawForm_TextEnd(__('Einstellungen laden', 'wpsg')); ?>
|
44 |
<?php echo wpsg_drawForm_TextEnd(__('Einstellungen laden', 'wpsg')); ?>
|