diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-01-14 14:55:36 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-01-14 14:55:36 +0000 |
| commit | ad405c7045c6e242080ec9d3ce4c9e586b517c4f (patch) | |
| tree | b41905f4d27f3eaaabd5bad3a39f8d3873540b46 /views/mods/mod_keygen/settings_edit.phtml | |
- Testweise 4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_keygen/settings_edit.phtml')
| -rw-r--r-- | views/mods/mod_keygen/settings_edit.phtml | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/views/mods/mod_keygen/settings_edit.phtml b/views/mods/mod_keygen/settings_edit.phtml new file mode 100644 index 0000000..46fc904 --- /dev/null +++ b/views/mods/mod_keygen/settings_edit.phtml @@ -0,0 +1,119 @@ +<?php
+
+ /**
+ * Template für die Einstellungsseite des keygen Moduls
+ */
+
+?>
+
+<form name="form1" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=<?php echo $_REQUEST['modul']; ?>&noheader=1" method="post" enctype="multipart/form-data">
+
+ <?php echo wpsg_drawForm_Select('wpsg_mod_keygen[wpsg_mod_keygen_anwendung]', __('Anwendung', 'wpsg'), array('wpShopGermany' => __('wpShopGermany', 'wpsg'), 'wpNewsletterGermany' => __('wpNewsletterGermany', 'wpsg')), ((isset($_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_anwendung']))?$_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_anwendung']:'')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_keygen[wpsg_mod_keygen_nr]', __('Schlüsselnummer', 'wpsg'), ((isset($_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_nr']))?$_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_nr']:'')); ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_keygen[wpsg_mod_keygen_lizenz]', __('Lizenz', 'wpsg'), array('1' => 'Light', '2' => 'Pro', '3' => 'Enterprise'), ((isset($_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_lizenz']))?$_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_lizenz']:'1')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_keygen[wpsg_mod_keygen_date]', __('Enddatum (tt.mm.jjjj)', 'wpsg'), ((isset($_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_date']))?$_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_date']:'99.99.9999')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_keygen[wpsg_mod_keygen_maxver]', __('Maximale Versionsnummer', 'wpsg'), ((isset($_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_maxver']))?$_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_maxver']:'9.9.9')); ?>
+
+ <div class="wpsg_form_field">
+ <div class="wpsg_form_left">
+ <label><?php echo __('Module', 'wpsg'); ?>:</label>
+ </div>
+ <div class="wpsg_form_right">
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_rechnungen'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_rechnungen" /> <?php echo __('Rechnungsmodul', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_downloadplus'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_downloadplus" /> <?php echo __('Downloadplus', 'wpsg'); ?>
+ </label><br />
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_statistics'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_statistics" /> <?php echo __('Statistikmodul', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_produktartikel'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_produktartikel" /> <?php echo __('Produktartikel', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_videodownload'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_videodownload" /> <?php echo __('Videodownloadmodul', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_ordercondition'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_ordercondition" /> <?php echo __('Bestellbedingung', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_voucherproduct'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_voucherproduct" /> <?php echo __('Gutscheinprodukt', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_orderupload'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_orderupload" /> <?php echo __('Bestellupload', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_deliverynote'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_deliverynote" /> <?php echo __('Lieferschein', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_abo'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_abo" /> <?php echo __('Abo Produkte', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_shs'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_shs" /> <?php echo __('Internetkasse', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_customergroup'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_customergroup" /> <?php echo __('Kundengruppen', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_packagetracking'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_packagetracking" /> <?php echo __('Paketverfolgung', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_request'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_request" /> <?php echo __('Anfrage Produkte', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_minquantity'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_minquantity" /> <?php echo __('Mindestbestellmenge', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_minrequest'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_minrequest" /> <?php echo __('Mindestbestellwert', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ <label style="line-height:25px;">
+ <input class="checkbox" type="checkbox" name="wpsg_mod_keygen[mods][]" <?php echo ((@$_SESSION['wpsg_mod_keygen']['mods']['wpsg_mod_paypalapi'] == '1')?'checked="checked"':''); ?> value="wpsg_mod_paypalapi" /> <?php echo __('PayPal PLUS', 'wpsg'); ?>
+ </label>
+ <div class="wpsg_clear"></div>
+ </div>
+ </div>
+
+ <input type="hidden" name="aktiv" value="1" />
+ <input type="hidden" name="wpsg_genkey" value="1" />
+
+ <p class="submit"><input type="submit" value="<?php echo __('Key generieren', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>
+
+</form>
+
+<br />
+
+<form name="form1" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=<?php echo $_REQUEST['modul']; ?>&noheader=1" method="post" enctype="multipart/form-data">
+
+ <div class="wpsg_form_field">
+ <div class="wpsg_form_left">
+ <label><?php echo __('Module', 'wpsg'); ?>:</label>
+ </div>
+ <div class="wpsg_form_right">
+ <input type="file" name="testkey" />
+ </div>
+ </div>
+
+ <br />
+
+ <input type="hidden" name="aktiv" value="1" />
+
+ <p class="submit"><input type="submit" value="<?php echo __('Key testen', 'wpsg'); ?>" class="button-primary" id="submit" name="submit">
+
+</form>
|
