Subversion Repositories wpShopGermany4

Rev

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

Rev Author Line No. Line
6220 hartmut 1
<?php
2
 
3
	/**
4
	 * Template für die Einstellungen des Bestell Upload Moduls
5
	 */
6
 
7
?>
6227 thomas 8
 
6220 hartmut 9
<br/>
6942 thomas 10
<?php /* Upload pro Produkt oder pro Bestellung */ ?>
11
<?php echo wpsg_drawForm_Select('wpsg_mod_orderupload__mode', __('Upload-typ', 'wpsg'), array(
12
	wpsg_mod_orderupload::MODE_ORDER => __('Upload pro Bestellung', 'wpsg'),
13
	wpsg_mod_orderupload::MODE_PRODUCT => __('Upload pro Produkt', 'wpsg')
14
), $this->get_option('wpsg_mod_orderupload_mode'), array('help' => 'wpsg_mod_orderupload_mode')); ?>
6227 thomas 15
 
16
<?php /* Platzhalter für Dateiname */ ?>
6220 hartmut 17
<?php echo wpsg_drawForm_Input('wpsg_mod_orderupload_filename', __('Neuer Dateiname', 'wpsg'), $this->get_option('wpsg_mod_orderupload_filename'), array('help' => 'wpsg_mod_orderupload_filename')); ?>
6227 thomas 18
 
19
<?php /* erlaubte Dateitypen*/ ?>
6220 hartmut 20
<?php echo wpsg_drawForm_Input('wpsg_mod_orderupload_allowedext', __('Erlaubte Endungen (kommagetrennt)', 'wpsg'), $this->get_option('wpsg_mod_orderupload_allowedext'), array('help' => 'wpsg_mod_orderupload_allowedext')); ?>
6227 thomas 21
 
6220 hartmut 22
<br />
6227 thomas 23
 
24
<?php /* maximale Upload-Größe */?>
25
<?php echo wpsg_drawForm_Input('wpsg_mod_orderupload_maxweight', __('maximale Größe des Uploads (Angaben in MB)', 'wpsg'), $this->get_option('wpsg_mod_orderupload_maxweight'), array('help' => 'wpsg_mod_orderupload_maxweight'));?>
26
<?php echo wpsg_drawForm_Input('wpsg_mod_orderupload_maxweight_text', __('Text bei Überschreiten der max. Uploadgrenze', 'wpsg'), $this->get_option('wpsg_mod_orderupload_maxweight_text'), array('help' => '"wpsg_mod_orderupload_text')); ?>
27
<br />
28
 
29
<?php /* mehrere Dateien */?>
6220 hartmut 30
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_orderupload_multifiles', __('Mehr als eine Datei erlauben', 'wpsg'), $this->get_option('wpsg_mod_orderupload_multifiles'), array('help' => 'wpsg_mod_orderupload_multifiles')); ?>
6227 thomas 31
 
32
<br />
33
 
34
<?php /* Pflichtfeld*/ ?>
35
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_orderupload_optional', __('Upload ist kein Pflichtfeld', 'wpsg'), $this->get_option('wpsg_mod_orderupload_optional'), array('help' => 'wpsg_mod_orderupload_optional')); ?>
36
 
37
<?php /* Anhang an Adminmail */ ?>
6232 hartmut 38
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_orderupload_mail', __('Upload als Anhang an Adminmail', 'wpsg'), $this->get_option('wpsg_mod_orderupload_mail'), array('help' => 'wpsg_mod_orderupload_mail')); ?>
6227 thomas 39
 
40
<?php /* mehrere Anhänge zippen (wenn "mehrere Dateien" und wenn "Adminmail"*/ ?>
41
<div class="wpsg_mod_orderupload_mail_activ" style="display:none;">
42
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_orderupload_zip', __('Datei(en) als Zip anhängen', 'wpsg'), $this->get_option('wpsg_mod_orderupload_zip'), array('help' => 'wpsg_mod_orderupload_zip'));?>
43
</div>
44
 
45
 
46
<script type="text/javascript">/* <![CDATA[ */
47
 
48
	jQuery(document).ready(function() {
49
 
50
		jQuery('#wpsg_mod_orderupload_mail').bind('change', function() {
51
 
52
			if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_orderupload_mail_activ').show();
53
			else jQuery('.wpsg_mod_orderupload_mail_activ').hide();
54
 
55
		} ).change();
56
 
57
	} );
58
 
59
/* ]]> */</script>