Subversion Repositories wpShopGermany4

Rev

Rev 5401 | Rev 7003 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3652 daniel 1
<?php
2
 
3
	/**
4
	 * Template für die allgemeinen Shopdaten
5
	 */
6
 
5401 daniel 7
?>
8
 
3652 daniel 9
<div class="wpsg_admin_submenu">
5401 daniel 10
 
11
	<div class="list-group">
12
		<span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
13
		<?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
14
		<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>
15
		<?php } ?>
3652 daniel 16
	</div>
17
 
18
</div>
19
 
5401 daniel 20
<div class="wpsg_admin_content form-horizontal">
3652 daniel 21
	<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;subaction=<?php echo $_REQUEST['subaction']; ?>&amp;noheader=1">
22
 
5401 daniel 23
  		<div class="panel panel-default">
24
  			<div class="panel-heading clearfix">
25
          		<h3 class="panel-title"><?php echo __('Allgemeine Angaben', 'wpsg'); ?></h3>
26
        	</div>
27
  			<div class="panel-body">
28
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_name', __('Name des Shops / Firma', 'wpsg'), $this->get_option('wpsg_shopdata_name'), array('help' => 'wpsg_shopdata_name')); ?>
29
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_owner', __('Inhaber des Shops', 'wpsg'), $this->get_option('wpsg_shopdata_owner'), array('help' => 'wpsg_shopdata_owner')); ?>
30
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_tel', __('Telefonnummer', 'wpsg'), $this->get_option('wpsg_shopdata_tel'), array('help' => 'wpsg_shopdata_tel')); ?>
31
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_fax', __('Faxnummer', 'wpsg'), $this->get_option('wpsg_shopdata_fax'), array('help' => 'wpsg_shopdata_fax')); ?>
32
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_email', __('E-Mail', 'wpsg'), $this->get_option('wpsg_shopdata_email'), array('help' => 'wpsg_shopdata_email')); ?>
33
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_taxnr', __('Steuernummer', 'wpsg'), $this->get_option('wpsg_shopdata_taxnr'), array('help' => 'wpsg_shopdata_taxnr')); ?>
34
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_ustidnr', __('USt-IdNr.', 'wpsg'), $this->get_option('wpsg_shopdata_ustidnr'), array('help' => 'wpsg_shopdata_ustidnr')); ?>
35
			</div>
36
		</div>
3652 daniel 37
 
5401 daniel 38
		<div class="panel panel-default">
39
  			<div class="panel-heading clearfix">
40
          		<h3 class="panel-title"><?php echo __('Anschrift', 'wpsg'); ?></h3>
41
        	</div>
42
  			<div class="panel-body">
3652 daniel 43
 
5401 daniel 44
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_street', __('Straße', 'wpsg'), $this->get_option('wpsg_shopdata_street'), array('help' => 'wpsg_shopdata_street')); ?>
45
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_zip', __('Postleitzahl', 'wpsg'), $this->get_option('wpsg_shopdata_zip'), array('help' => 'wpsg_shopdata_zip')); ?>
46
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_city', __('Ort', 'wpsg'), $this->get_option('wpsg_shopdata_city'), array('help' => 'wpsg_shopdata_city')); ?>
47
 
48
			</div>
49
		</div>
3652 daniel 50
 
5401 daniel 51
		<div class="panel panel-default">
52
  			<div class="panel-heading clearfix">
53
          		<h3 class="panel-title"><?php echo __('Bankdaten', 'wpsg'); ?></h3>
54
        	</div>
55
  			<div class="panel-body">
3652 daniel 56
 
5401 daniel 57
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_bank_name', __('Name der Bank', 'wpsg'), $this->get_option('wpsg_shopdata_bank_name'), array('help' => 'wpsg_shopdata_bank_name')); ?>
58
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_bank_owner', __('Kontoinhaber', 'wpsg'), $this->get_option('wpsg_shopdata_bank_owner'), array('help' => 'wpsg_shopdata_bank_owner')); ?>
59
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_bank_iban', __('IBAN Nummer', 'wpsg'), $this->get_option('wpsg_shopdata_bank_iban'), array('help' => 'wpsg_shopdata_bank_iban')); ?>
60
				<?php echo wpsg_drawForm_Input('wpsg_shopdata_bank_bic', __('BIC Nummer', 'wpsg'), $this->get_option('wpsg_shopdata_bank_bic'), array('help' => 'wpsg_shopdata_bank_bic')); ?>
61
 
62
			</div>
63
		</div>
3652 daniel 64
 
65
		<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
66
 
67
  	</form>
5439 daniel 68
 
5401 daniel 69
</div>