Subversion Repositories wpShopGermany4

Rev

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

Rev Author Line No. Line
3656 daniel 1
<?php
2
 
3
	/**
4
	 * Template für das Anlegen und Bearbeiten einer Kundengruppe im Backend
5
	 */
6
 
7
?>
5751 daniel 8
<div class="wpsg_customergroup wpsg_customergroup_add" id="wpsg-bs">
9
 
10
    <nav class="navbar navbar-default">
11
 
12
		<div class="container-fluid">
13
			<div class="navbar-header">
14
				<a class="navbar-brand" href="#"><?php echo __('wpShopGermany', 'wpsg'); ?></a>
3656 daniel 15
			</div>
5751 daniel 16
			<div class="collapse navbar-collapse" id="bs-customergroup-navbar-collapse-1">
17
				<ul class="nav navbar-nav">
5753 daniel 18
					<li role="presentation" class="wpsg-customergroup-tab-a active"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customergroup&action=index"><?php echo __("Kundengruppenverwaltung", "wpsg"); ?></a></li>
19
					<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'add'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customergroup&action=add"><span class="glyphicon glyphicon-plus"></span><?php echo __("Kundengruppe anlegen/bearbeiten", "wpsg"); ?></a></li>
5751 daniel 20
				</ul>
21
				<ul class="nav navbar-nav navbar-right">
22
 
23
				</ul>
3656 daniel 24
			</div>
25
		</div>
26
 
5751 daniel 27
    </nav>
3656 daniel 28
 
7533 daniel 29
	<div class="wpsg_msg_wrap"><hr class="wp-header-end wpsg-wp-header-end"/></div>
30
 
5751 daniel 31
	<div class="wpsg_clear"></div>
3656 daniel 32
 
5753 daniel 33
	<div class="content form-horizontal">
3656 daniel 34
 
5751 daniel 35
        <form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customergroup&action=save&noheader=1" enctype="multipart/form-data">
36
            <?php echo wpsg_drawForm_AdminboxStart(__('Allgemein', 'wpsg')); ?>
3656 daniel 37
 
5751 daniel 38
                <?php if ($this->view['mode'] == 'edit') { ?>
39
                <input type="hidden" name="edit_id" value="<?php echo $this->view['data']->id; ?>" />
40
                <?php } ?>
3656 daniel 41
 
5751 daniel 42
                <?php $this->callMods('customergroup_edit', array(&$this->view['data'])); ?>
3656 daniel 43
 
5751 daniel 44
                <?php echo wpsg_drawForm_Input('wpsg_mod_kundenverwaltung[name]', __('Name', 'wpsg'), @$this->view['data']->name); ?>
45
                <?php echo wpsg_drawForm_Select('wpsg_mod_kundenverwaltung[calculation]', __('Preisangaben im Shop (Frontend)', 'wpsg'), array(
46
                    -1 => __('Standard', 'wpsg'),
47
                    WPSG_BRUTTO => __('Brutto (inkl. Steuer)', 'wpsg'),
48
                    WPSG_NETTO => __('Netto (zzgl. Steuer)', 'wpsg')
49
                ), @$this->view['data']->calculation); ?>
3656 daniel 50
 
5751 daniel 51
            <?php echo wpsg_drawForm_AdminboxEnd(); ?>
3656 daniel 52
 
5751 daniel 53
            <input type="submit" value="<?php echo __('Kundengruppe speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" />
54
			<input type="submit" value="<?php echo __('Kundengruppe speichern und zur Übersicht', 'wpsg'); ?>" class="button-primary" id="submit_index" name="submit_index" />
3656 daniel 55
 
5751 daniel 56
        </form>
3656 daniel 57
 
5751 daniel 58
    </div>
3656 daniel 59
 
5751 daniel 60
</div>