Subversion Repositories wpShopGermany4

Rev

Rev 5439 | Go to most recent revision | 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) { ?>
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&amp;subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a>
1701 daniel 14
		<?php } ?>
5439 daniel 15
	</div>
1701 daniel 16
 
17
</div>
18
 
5439 daniel 19
<div class="wpsg_admin_content form-horizontal">
1701 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=loadsavesettings&noheader=1'); ?>">
5439 daniel 21
 
22
		<div class="panel panel-default">
23
  			<div class="panel-heading clearfix">
6319 hartmut 24
          		<h3 class="panel-title"><?php echo __('Einstellungen sichern', 'wpsg'); ?></h3>
5439 daniel 25
        	</div>
26
  			<div class="panel-body">
27
 
28
				<?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>
30
				<?php echo wpsg_drawForm_TextEnd(__('Einstellungen speichern', 'wpsg')); ?>
31
 
32
				<?php echo wpsg_drawForm_TextStart(); ?>
33
				<input type="file" name="wpsg_settings" />
34
				<?php echo wpsg_drawForm_TextEnd(__('Einstellungen laden', 'wpsg')); ?>
35
 
1701 daniel 36
			</div>
37
		</div>
5439 daniel 38
 
1701 daniel 39
		<p class="submit"><input type="submit" value="<?php echo __('Einstellungen übernehmen', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
5439 daniel 40
 
1701 daniel 41
		<p class="wpsg_hinweis">
42
			<?php echo __('Derzeit werden nur die Einstellungen gespeichert. Produkte/Kunden/Bestellungen etc. sind nicht enthalten!', 'wpsg'); ?>
43
		</p>
5439 daniel 44
 
1701 daniel 45
	</form>
46
</div>