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/>
|
6227 |
thomas |
10 |
|
|
|
11 |
<?php /* Platzhalter für Dateiname */ ?>
|
6220 |
hartmut |
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')); ?>
|
6227 |
thomas |
13 |
|
|
|
14 |
<?php /* erlaubte Dateitypen*/ ?>
|
6220 |
hartmut |
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')); ?>
|
6227 |
thomas |
16 |
|
6220 |
hartmut |
17 |
<br />
|
6227 |
thomas |
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 */?>
|
6220 |
hartmut |
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')); ?>
|
6227 |
thomas |
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 */ ?>
|
6232 |
hartmut |
33 |
<?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 |
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>
|