Line 3... |
Line 3... |
3 |
/**
|
3 |
/**
|
4 |
* Template für die Einstellungen des Bestell Upload Moduls
|
4 |
* Template für die Einstellungen des Bestell Upload Moduls
|
5 |
*/
|
5 |
*/
|
6 |
|
6 |
|
7 |
?>
|
7 |
?>
|
- |
|
8 |
|
8 |
<br/>
|
9 |
<br/>
|
- |
|
10 |
|
- |
|
11 |
<?php /* Platzhalter für Dateiname */ ?>
|
9 |
<?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')); ?>
|
12 |
<?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')); ?>
|
- |
|
13 |
|
- |
|
14 |
<?php /* erlaubte Dateitypen*/ ?>
|
10 |
<?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')); ?>
|
15 |
<?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')); ?>
|
- |
|
16 |
|
11 |
<br />
|
17 |
<br />
|
- |
|
18 |
|
- |
|
19 |
<?php /* maximale Upload-Größe */?>
|
- |
|
20 |
<?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'));?>
|
- |
|
21 |
<?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')); ?>
|
- |
|
22 |
<br />
|
- |
|
23 |
|
- |
|
24 |
<?php /* mehrere Dateien */?>
|
12 |
<?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')); ?>
|
25 |
<?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')); ?>
|
13 |
<?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')); ?>
|
- |
|
14 |
|
26 |
|
- |
|
27 |
<br />
|
- |
|
28 |
|
- |
|
29 |
<?php /* Pflichtfeld*/ ?>
|
- |
|
30 |
<?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')); ?>
|
- |
|
31 |
|
- |
|
32 |
<?php /* Anhang an Adminmail */ ?>
|
- |
|
33 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_orderupload_mail', __('Upload an Anhang an Adminmail', 'wpsg'), $this->get_option('wpsg_mod_orderupload_mail'), array('help' => 'wpsg_mod_orderupload_mail')); ?>
|
- |
|
34 |
|
- |
|
35 |
<?php /* mehrere Anhänge zippen (wenn "mehrere Dateien" und wenn "Adminmail"*/ ?>
|
- |
|
36 |
<div class="wpsg_mod_orderupload_mail_activ" style="display:none;">
|
- |
|
37 |
<?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'));?>
|
- |
|
38 |
</div>
|
- |
|
39 |
|
- |
|
40 |
|
- |
|
41 |
<script type="text/javascript">/* <![CDATA[ */
|
- |
|
42 |
|
- |
|
43 |
jQuery(document).ready(function() {
|
- |
|
44 |
|
- |
|
45 |
jQuery('#wpsg_mod_orderupload_mail').bind('change', function() {
|
- |
|
46 |
|
- |
|
47 |
if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_orderupload_mail_activ').show();
|
- |
|
48 |
else jQuery('.wpsg_mod_orderupload_mail_activ').hide();
|
- |
|
49 |
|
- |
|
50 |
} ).change();
|
- |
|
51 |
|
- |
|
52 |
} );
|
- |
|
53 |
|
- |
|
54 |
/* ]]> */</script>
|
- |
|
55 |
|
15 |
|
56 |
|