Subversion Repositories wpShopGermany4

Rev

Rev 6319 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1701 daniel 1
<?php
2
 
3
	/**
4
	 * Template für den Menüpunkt "Backup/Restore"
5
	 */
6
 
7
?>
8
<div class="wpsg_admin_submenu">
9
 
5439 daniel 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) { ?>
7539 daniel 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&amp;subaction=<?php echo $k;
16
 
17
		?>"><?php echo $v['Menutext']; ?></a>
1701 daniel 18
		<?php } ?>
5439 daniel 19
	</div>
1701 daniel 20
 
21
</div>
22
 
5439 daniel 23
<div class="wpsg_admin_content form-horizontal">
1701 daniel 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'); ?>">
7539 daniel 25
 
26
		<?php \wp_nonce_field('wpsg-save-admin-loadsavesettings'); ?>
27
 
5439 daniel 28
		<div class="panel panel-default">
29
  			<div class="panel-heading clearfix">
6319 hartmut 30
          		<h3 class="panel-title"><?php echo __('Einstellungen sichern', 'wpsg'); ?></h3>
5439 daniel 31
        	</div>
32
  			<div class="panel-body">
33
 
34
				<?php echo wpsg_drawForm_TextStart(); ?>
7539 daniel 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>
5439 daniel 40
				<?php echo wpsg_drawForm_TextEnd(__('Einstellungen speichern', 'wpsg')); ?>
41
 
42
				<?php echo wpsg_drawForm_TextStart(); ?>
43
				<input type="file" name="wpsg_settings" />
44
				<?php echo wpsg_drawForm_TextEnd(__('Einstellungen laden', 'wpsg')); ?>
45
 
1701 daniel 46
			</div>
47
		</div>
5439 daniel 48
 
1701 daniel 49
		<p class="submit"><input type="submit" value="<?php echo __('Einstellungen übernehmen', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
5439 daniel 50
 
1701 daniel 51
		<p class="wpsg_hinweis">
52
			<?php echo __('Derzeit werden nur die Einstellungen gespeichert. Produkte/Kunden/Bestellungen etc. sind nicht enthalten!', 'wpsg'); ?>
53
		</p>
5439 daniel 54
 
1701 daniel 55
	</form>
56
</div>