Subversion Repositories wpShopGermany4

Rev

Rev 5382 | Rev 5945 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5382 Rev 5825
Line 3... Line 3...
3
	/**
3
	/**
4
	 * Template für die Einstellungen des PDFDownload Moduls
4
	 * Template für die Einstellungen des PDFDownload Moduls
5
	 */
5
	 */
6
 
6
 
7
?>
7
?>
8
<div class="wpsg_admin_box wpsg_mod_downloadplus" id="wpsg_tab">	
-
 
-
 
8
 
9
	<div class="head">
9
<div>
10
		<div class="title">
10
    <ul class="nav nav-tabs" role="tablist">
11
			<div class="tab" id="tab1"><?php echo __('Einstellungen', 'wpsg'); ?></div>
11
        <li role="presentation" class="active"><a href="#tab1" role="tab" data-toggle="tab"><?php echo __('Einstellungen', 'wpsg'); ?></a></li>
12
			<div class="tab" id="tab2"><?php echo __('Textfelder', 'wpsg'); ?></div>
12
        <li role="presentation"><a href="#tab2" role="tab" data-toggle="tab"><?php echo __('Textfelder', 'wpsg'); ?></a></li>
13
			<div class="tab" id="tab3"><?php echo __('Erweitert', 'wpsg'); ?></div>
13
        <li role="presentation"><a href="#tab3" role="tab" data-toggle="tab"><?php echo __('Erweitert', 'wpsg'); ?></a></li>
14
			<div class="tab tabright tabright-last" id="tab4"><?php echo __('Info / Hilfe', 'wpsg'); ?></div>
14
        <li role="presentation" style="float:right;"><a href="#tab4" role="tab" data-toggle="tab"><?php echo __('Info / Hilfe', 'wpsg'); ?></a></li>
15
			<div class="wpsg_clear"></div>
-
 
16
		</div>
15
    </ul>
17
	</div>
-
 
18
	<div class="content">
16
    <div class="tab-content">
19
		
17
 
20
		<div id="tabcontent1" class="tabcontent">		
18
        <div role="tabpanel" class="tab-pane active" id="tab1">
21
		
19
 
22
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_filename', __('Personalisierter Dateiname', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_filename'), array('help' => 'mod_pdfdownload_einstellungen_filename')); ?>
20
            <?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_filename', __('Personalisierter Dateiname', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_filename'), array('help' => 'mod_pdfdownload_einstellungen_filename')); ?>
23
			<?php echo wpsg_drawForm_Select('wpsg_mod_downloadplus_indiv_mode', __('Individualisierung planen', 'wpsg'), array(0 => __('Manuell', 'wpsg'), 1 => __('Nach Zahlung', 'wpsg'), 2 => __('Nach Bestellung', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_indiv_mode'), array('help' => 'mod_pdfdownload_einstellungen_individualisierungsmodus')); ?>
21
			<?php echo wpsg_drawForm_Select('wpsg_mod_downloadplus_indiv_mode', __('Individualisierung planen', 'wpsg'), array(0 => __('Manuell', 'wpsg'), 1 => __('Nach Zahlung', 'wpsg'), 2 => __('Nach Bestellung', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_indiv_mode'), array('help' => 'mod_pdfdownload_einstellungen_individualisierungsmodus')); ?>
24
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_autosend', __('PDFs nach Individualisierung sofort senden', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_autosend'), array('help' => 'mod_pdfdownload_einstellungen_autosend')); ?>
22
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_autosend', __('PDFs nach Individualisierung sofort senden', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_autosend'), array('help' => 'mod_pdfdownload_einstellungen_autosend')); ?>
25
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_shipping', __('Versandart "Versand per Mail" aktiv', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_shipping'), array('help' => 'wpsg_mod_downloadplus_shipping')); ?>
23
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_shipping', __('Versandart "Versand per Mail" aktiv', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_shipping'), array('help' => 'wpsg_mod_downloadplus_shipping')); ?>
26
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_einsplusx', __(' Mehr als ein Produkt im Warenkorb zulassen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_einsplusx'), array('help' => 'wpsg_mod_downloadplus_einsplusx')); ?>
24
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_einsplusx', __(' Mehr als ein Produkt im Warenkorb zulassen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_einsplusx'), array('help' => 'wpsg_mod_downloadplus_einsplusx')); ?>
27
			<?php echo wpsg_drawForm_Select('wpsg_mod_downloadplus_accepted', __('Gültigkeit von Links', 'wpsg'), array(0 => __('Unbegrenzt', 'wpsg'), 1 => __('Nach Downloads', 'wpsg'), 2 => __('Nach Tagen', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_accepted'), array('help' => 'mod_pdfdownload_einstellungen_accepted')); ?>
25
			<?php echo wpsg_drawForm_Select('wpsg_mod_downloadplus_accepted', __('Gültigkeit von Links', 'wpsg'), array(0 => __('Unbegrenzt', 'wpsg'), 1 => __('Nach Downloads', 'wpsg'), 2 => __('Nach Tagen', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_accepted'), array('field_class' => 'wpsg_change', 'help' => 'mod_pdfdownload_einstellungen_accepted')); ?>
-
 
26
 
-
 
27
            <div class="wpsg_mod_downloadplus_accepted wpsg_mod_downloadplus_accepted_2">
28
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_days', __('Gültigkeit in Tagen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_days'), array('help' => 'wpsg_mod_downloadplus_days')); ?> 
28
                <?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_days', __('Gültigkeit in Tagen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_days'), array('help' => 'wpsg_mod_downloadplus_days')); ?>
-
 
29
            </div>
-
 
30
 
-
 
31
            <div class="wpsg_mod_downloadplus_accepted wpsg_mod_downloadplus_accepted_1">
29
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_downloads', __('Anzahl an möglichen Downloads', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_downloads'), array('help' => 'wpsg_mod_downloadplus_downloads')); ?>
32
			    <?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_downloads', __('Anzahl an möglichen Downloads', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_downloads'), array('help' => 'wpsg_mod_downloadplus_downloads')); ?>
-
 
33
            </div>
-
 
34
 
30
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_cleanraiddownloads', __('Abgelaufene Downloads bereinigen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_cleanraiddownloads'), array('help' => 'wpsg_mod_downloadplus_cleanraiddownloads')); ?>
35
            <?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_cleanraiddownloads', __('Abgelaufene Downloads bereinigen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_cleanraiddownloads'), array('help' => 'wpsg_mod_downloadplus_cleanraiddownloads')); ?>
31
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_cleanolddownloads', __('Downloads nach X Tagen löschen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_cleanolddownloads'), array('help' => 'wpsg_mod_downloadplus_cleanolddownloads')); ?>
36
            <?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_cleanolddownloads', __('Downloads nach X Tagen löschen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_cleanolddownloads'), array('help' => 'wpsg_mod_downloadplus_cleanolddownloads')); ?>
32
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_pdfpath', __('Pfad für die PDFs der Produkte', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_pdfpath'), array('hint' => __('Standard: uploads/wpsg_pdfprodukte/', 'wpsg'), 'help' => 'wpsg_mod_downloadplus_pdfpath')); ?>
37
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_pdfpath', __('Pfad für die PDFs der Produkte', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_pdfpath'), array('hint' => __('Standard: uploads/wpsg_pdfprodukte/', 'wpsg'), 'help' => 'wpsg_mod_downloadplus_pdfpath')); ?>
33
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_pdfindivpath', __('Pfad für die Individualisierten PDFs', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_pdfindivpath'), array('hint' => __('Standard: uploads/wpsg_pdfprodukte_order/', 'wpsg'), 'help' => 'wpsg_mod_downloadplus_pdfindivpath')); ?>
38
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_pdfindivpath', __('Pfad für die Individualisierten PDFs', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_pdfindivpath'), array('hint' => __('Standard: uploads/wpsg_pdfprodukte_order/', 'wpsg'), 'help' => 'wpsg_mod_downloadplus_pdfindivpath')); ?>
34
			<?php echo wpsg_drawForm_Select('wpsg_mod_downloadplus_format', __('Auslieferungsformat', 'wpsg'), array(0 => __('Direkt', 'wpsg'), 1 => __('Gezippt (intern)', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_format'), array('help' => 'wpsg_mod_downloadplus_format')); ?>
39
			<?php echo wpsg_drawForm_Select('wpsg_mod_downloadplus_format', __('Auslieferungsformat', 'wpsg'), array(0 => __('Direkt', 'wpsg'), 1 => __('Gezippt (intern)', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_format'), array('help' => 'wpsg_mod_downloadplus_format')); ?>
35
			<?php echo wpsg_drawForm_Select('wpsg_mod_downloadplus_range', __('Anpassung', 'wpsg'), array(0 => __('Gesamtes Dokument', 'wpsg'), 1 => __('Bereich', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_range'), array ('help' => 'wpsg_mod_downloadplus_range')); ?>
40
			<?php echo wpsg_drawForm_Select('wpsg_mod_downloadplus_range', __('Anpassung', 'wpsg'), array(0 => __('Gesamtes Dokument', 'wpsg'), 1 => __('Bereich', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_range'), array ('field_class' => 'wpsg_change', 'help' => 'wpsg_mod_downloadplus_range')); ?>
-
 
41
 
36
			<div class="wpsg_form_field" style="display:none;" id="wpsg_mod_downloadplus_rangefield">
42
            <div class="wpsg_mod_downloadplus_range wpsg_mod_downloadplus_range_1">
37
				<div class="wpsg_form_left">
-
 
38
					<label><?php echo __('Seitenbereich (Von/Bis)', 'wpsg'); ?>:</label>
-
 
39
				</div>
-
 
40
				<div class="wpsg_form_right">
-
 
41
					<input type="text" style="width:100px;" size="5" name="wpsg_mod_downloadplus_range_von" value="<?php echo $this->get_option('wpsg_mod_downloadplus_range_von'); ?>" />&nbsp;-&nbsp;
43
                <?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_range_von', __('Anpassung ab Seite', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_range_von'), array()); ?>
42
					<input type="text" style="width:100px;" size="5" name="wpsg_mod_downloadplus_range_bis" value="<?php echo $this->get_option('wpsg_mod_downloadplus_range_bis'); ?>" />					
44
                <?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_range_bis', __('Anpassung bis Seite', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_range_bis'), array()); ?>
43
				</div>
45
            </div>
44
				<div class="wpsg_clear"></div>
-
 
45
			</div>
46
 
46
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_masterpass', __('Passwort (Um Schutz aufzuheben)', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_masterpass'), array('help' => 'wpsg_mod_downloadplus_masterpass')); ?>
47
            <?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_masterpass', __('Passwort (Um Schutz aufzuheben)', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_masterpass'), array('help' => 'wpsg_mod_downloadplus_masterpass')); ?>
47
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_openpass', __('Passwort (Um Dokument öffnen zu können)', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_openpass'), array('help' => 'wpsg_mod_downloadplus_openpass')); ?>
48
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_openpass', __('Passwort (Um Dokument öffnen zu können)', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_openpass'), array('help' => 'wpsg_mod_downloadplus_openpass')); ?>
48
			<div class="wpsg_form_field">
-
 
49
				<div class="wpsg_form_left">
-
 
50
					<label><?php echo __('Dokumentenberechtigungen', 'wpsg'); ?>:</label>
-
 
51
				</div>
-
 
52
				<div class="wpsg_form_right wpsg_mod_downloadplus_security">
-
 
53
					<p>
-
 
54
						<input type="hidden" value="0" name="wpsg_mod_downloadplus_securitysave" />
-
 
55
						<label><input type="checkbox" value="1" name="wpsg_mod_downloadplus_securitysave" <?php echo (($this->get_option('wpsg_mod_downloadplus_securitysave') == '1')?'checked="checked"':''); ?> />&nbsp;<?php echo __('Speichern erlauben', 'wpsg'); ?></label><br />
-
 
56
						
49
 
57
						<input type="hidden" value="0" name="wpsg_mod_downloadplus_securityprint" />
50
            <?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_securitysave', __('Speichern erlauben', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_securitysave'), array('label' => __('Dokumentenberechtigung', 'wpsg'))); ?>
58
						<label><input type="checkbox" value="1" name="wpsg_mod_downloadplus_securityprint" <?php echo (($this->get_option('wpsg_mod_downloadplus_securityprint') == '1')?'checked="checked"':''); ?> />&nbsp;<?php echo __('Drucken erlauben', 'wpsg'); ?></label><br />
51
            <?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_securityprint', __('Drucken erlauben', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_securityprint')); ?>
59
						
-
 
60
						<input type="hidden" value="0" name="wpsg_mod_downloadplus_securitymod" />
52
            <?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_securitymod', __('Modifizieren erlauben', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_securitymod')); ?>
61
						<label><input type="checkbox" value="1" name="wpsg_mod_downloadplus_securitymod" <?php echo (($this->get_option('wpsg_mod_downloadplus_securitymod') == '1')?'checked="checked"':''); ?> />&nbsp;<?php echo __('Modifizieren erlauben', 'wpsg'); ?></label><br />
53
            <?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_securitynote', __('Bemerkungen erlauben', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_securitynote')); ?>
62
						
54
 
63
						<input type="hidden" value="0" name="wpsg_mod_downloadplus_securitynote" />
-
 
64
						<label><input type="checkbox" value="1" name="wpsg_mod_downloadplus_securitynote" <?php echo (($this->get_option('wpsg_mod_downloadplus_securitynote') == '1')?'checked="checked"':''); ?> />&nbsp;<?php echo __('Bemerkungen erlauben', 'wpsg'); ?></label><br />
55
            <?php echo wpsg_drawForm_TextStart(); ?>
65
					</p>
-
 
66
				</div>
-
 
67
				<div class="wpsg_clear"></div>
-
 
68
			</div>
-
 
69
			<div class="wpsg_form_field">
-
 
70
				<div class="wpsg_form_left">
-
 
71
					<label><?php echo __('Mail für Individualisierungsbericht', 'wpsg'); ?>:</label>
-
 
72
				</div>
-
 
73
				<div class="wpsg_form_right">
-
 
74
					<p><?php echo wpsg_translate(__('Kann <a href="#1#">hier</a> konfiguriert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#pdfdownloadcronmail'); ?></p>
56
            <p><?php echo wpsg_translate(__('Kann <a href="#1#">hier</a> konfiguriert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#pdfdownloadcronmail'); ?></p>
75
					<a rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_individualisierungsbericht" class="wpsg_form_help" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_individualisierungsbericht"></a>
57
			<a rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_individualisierungsbericht" class="wpsg_form_help" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_individualisierungsbericht"></a>
76
				</div>
-
 
77
				<div class="wpsg_clear"></div>
-
 
78
			</div>			
-
 
79
			<div class="wpsg_form_field">
-
 
80
				<div class="wpsg_form_left">
-
 
81
					<label><?php echo __('Mail für Downloads an Kunden', 'wpsg'); ?>:</label>
58
            <?php echo wpsg_drawForm_TextEnd(__('Mail für Individualisierungsbericht', 'wpsg'), array('noP' => true)); ?>
82
				</div>
-
 
83
				<div class="wpsg_form_right">
59
            <?php echo wpsg_drawForm_TextStart(); ?>
84
					<p><?php echo wpsg_translate(__('Kann <a href="#1#">hier</a> konfiguriert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#pdfdownloadfiles'); ?></p>
60
            <p><?php echo wpsg_translate(__('Kann <a href="#1#">hier</a> konfiguriert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#pdfdownloadfiles'); ?></p>
85
					<a rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_kundenmail" class="wpsg_form_help" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_kundenmail"></a>
61
			<a rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_kundenmail" class="wpsg_form_help" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_kundenmail"></a>
86
				</div>
-
 
87
				<div class="wpsg_clear"></div>
-
 
88
			</div>
-
 
89
			<div class="wpsg_form_field">
-
 
90
				<div class="wpsg_form_left">
-
 
91
					<label><?php echo __('Letzte Ausführung des Crons', 'wpsg'); ?>:</label>
62
            <?php echo wpsg_drawForm_TextEnd(__('Mail für Downloads an Kunden', 'wpsg'), array('noP' => true)); ?>
92
				</div>
-
 
93
				<div class="wpsg_form_right">
63
            <?php echo wpsg_drawForm_TextStart(); ?>
94
					<p><?php echo (($this->get_option('wpsg_lastCron') > 0)?wpsg_formatTimestamp($this->get_option('wpsg_lastCron')):__('Noch nicht ausgeführt', 'wpsg')); ?></p>
64
            <p><?php echo (($this->get_option('wpsg_lastCron') > 0)?wpsg_formatTimestamp($this->get_option('wpsg_lastCron')):__('Noch nicht ausgeführt', 'wpsg')); ?></p>
95
					<a rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_einstellungen_cron" class="wpsg_form_help" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_einstellungen_cron"></a>
65
			<a rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_einstellungen_cron" class="wpsg_form_help" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_einstellungen_cron"></a>
96
				</div>
-
 
97
				<div class="wpsg_clear"></div>
66
            <?php echo wpsg_drawForm_TextEnd(__('Letzte Ausführung des Crons', 'wpsg'), array('noP' => true)); ?>
98
			</div>
-
 
99
			
67
 
100
		</div>
68
        </div>
101
		
69
 
102
		<div id="tabcontent2" class="tabcontent">
70
        <div role="tabpanel" class="tab-pane" id="tab2">
-
 
71
 
103
			<table class="wpsg_mod_downloadplus_fieldtable">
72
            <table class="table table-body-striped wpsg_mod_downloadplus_fieldtable">
-
 
73
                <thead>
104
				<tr>
74
                    <tr>
105
					<th class="col_bezeichnung"></th>					
75
                        <th class="col_bezeichnung"></th>
106
					<th class="col_x"><?php echo __('X', 'wpsg'); ?></th>
76
                        <th class="col_x"><?php echo __('X', 'wpsg'); ?></th>
107
					<th class="col_y"><?php echo __('Y', 'wpsg'); ?></th>
77
                        <th class="col_y"><?php echo __('Y', 'wpsg'); ?></th>
108
					<th class="col_align"><?php echo __('Zentriert', 'wpsg'); ?></th>
78
                        <th class="col_align"><?php echo __('Zentriert', 'wpsg'); ?></th>
109
					<th class="col_bg"><?php echo __('Hintergrund', 'wpsg'); ?></th>
79
                        <th class="col_bg"><?php echo __('Hintergrund', 'wpsg'); ?></th>
110
					<th class="col_color"><?php echo __('Farbe', 'wpsg'); ?></th>
80
                        <th class="col_color"><?php echo __('Farbe', 'wpsg'); ?></th>
111
					<th class="col_alpha"><?php echo __('Opaque', 'wpsg'); ?></th>
81
                        <th class="col_alpha"><?php echo __('Opaque', 'wpsg'); ?></th>
112
					<th class="col_angle"><?php echo __('Winkel', 'wpsg'); ?></th>
82
                        <th class="col_angle"><?php echo __('Winkel', 'wpsg'); ?></th>
113
					<th class="col_groesse"><?php echo __('Größe', 'wpsg'); ?></th>
83
                        <th class="col_groesse"><?php echo __('Größe', 'wpsg'); ?></th>
114
					<th class="col_action"></th>
84
                        <th class="col_action"></th>
115
				</tr>
85
                    </tr>
-
 
86
                </thead>
116
				<?php for ($i = 0; $i < 10; $i ++) { ?>
87
				<?php for ($i = 0; $i < 10; $i ++) { ?>
-
 
88
                <tbody>
117
				<tr>
89
                    <tr>
118
					<td><?php echo '#'.($i + 1); ?></td>					
90
                        <td><?php echo '#'.($i + 1); ?></td>
119
					<td>
91
                        <td>
120
						<input type="text" style="width:100%;" name="text[<?php echo $i; ?>][x]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['x']); ?>" />
92
                            <input type="text" style="width:100%;" name="text[<?php echo $i; ?>][x]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['x']); ?>" />
121
					</td>
93
                        </td>
122
					<td>
94
                        <td>
123
						<input type="text" style="width:100%;" name="text[<?php echo $i; ?>][y]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['y']); ?>" />
95
                            <input type="text" style="width:100%;" name="text[<?php echo $i; ?>][y]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['y']); ?>" />
124
					</td>
96
                        </td>
125
					<td class="col_align">
97
                        <td class="col_align">
126
						<input type="hidden" name="text[<?php echo $i; ?>][align]" value="0" />
98
                            <input type="hidden" name="text[<?php echo $i; ?>][align]" value="0" />
127
						<input class="wpsg_hideBarcode" type="checkbox" name="text[<?php echo $i; ?>][align]" value="1" <?php echo (($this->view['arTexte'][$i]['align'] == '1')?'checked="checked"':''); ?> />
99
                            <input class="wpsg_hideBarcode" type="checkbox" name="text[<?php echo $i; ?>][align]" value="1" <?php echo (($this->view['arTexte'][$i]['align'] == '1')?'checked="checked"':''); ?> />
128
					</td>
100
                        </td>
129
					<td class="col_bg">
101
                        <td class="col_bg">
130
						<input type="hidden" name="text[<?php echo $i; ?>][bg]" value="0" />
102
                            <input type="hidden" name="text[<?php echo $i; ?>][bg]" value="0" />
131
						<input class="wpsg_hideBarcode" type="checkbox" name="text[<?php echo $i; ?>][bg]" value="1" <?php echo (($this->view['arTexte'][$i]['bg'] == '1')?'checked="checked"':''); ?> />
103
                            <input class="wpsg_hideBarcode" type="checkbox" name="text[<?php echo $i; ?>][bg]" value="1" <?php echo (($this->view['arTexte'][$i]['bg'] == '1')?'checked="checked"':''); ?> />
132
					</td>
104
                        </td>
133
					<td>
105
                        <td>
134
						<input class="wpsg_hideBarcode" type="text" style="width:100%;" name="text[<?php echo $i; ?>][color]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['color']); ?>" />
106
                            <input class="wpsg_hideBarcode" type="text" style="width:100%;" name="text[<?php echo $i; ?>][color]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['color']); ?>" />
135
					</td>
107
                        </td>
136
					<td>
108
                        <td>
137
						<input class="wpsg_hideBarcode" type="text" style="width:100%;" name="text[<?php echo $i; ?>][alpha]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['alpha']); ?>" />
109
                            <input class="wpsg_hideBarcode" type="text" style="width:100%;" name="text[<?php echo $i; ?>][alpha]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['alpha']); ?>" />
138
					</td>					
110
                        </td>
139
					<td>
111
                        <td>
140
						<input class="wpsg_hideBarcode" type="text" style="width:100%;" name="text[<?php echo $i; ?>][angle]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['angle']); ?>" />
112
                            <input class="wpsg_hideBarcode" type="text" style="width:100%;" name="text[<?php echo $i; ?>][angle]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['angle']); ?>" />
141
					</td>
113
                        </td>
142
					<td>
114
                        <td>
143
						<select name="text[<?php echo $i; ?>][fontsize]" style="width:100%;">
115
                            <select name="text[<?php echo $i; ?>][fontsize]" style="width:100%;">
144
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "4")?'selected="selected"':''); ?> value="4">4</option>
116
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "4")?'selected="selected"':''); ?> value="4">4</option>
145
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "5")?'selected="selected"':''); ?> value="5">5</option>
117
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "5")?'selected="selected"':''); ?> value="5">5</option>
146
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "6")?'selected="selected"':''); ?> value="6">6</option>
118
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "6")?'selected="selected"':''); ?> value="6">6</option>
147
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "7")?'selected="selected"':''); ?> value="7">7</option>
119
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "7")?'selected="selected"':''); ?> value="7">7</option>
148
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "8")?'selected="selected"':''); ?> value="8">8</option>				
120
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "8")?'selected="selected"':''); ?> value="8">8</option>
149
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "9")?'selected="selected"':''); ?> value="9">9</option>
121
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "9")?'selected="selected"':''); ?> value="9">9</option>
150
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "10")?'selected="selected"':''); ?> value="10">10</option>
122
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "10")?'selected="selected"':''); ?> value="10">10</option>
151
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "11")?'selected="selected"':''); ?> value="11">11</option>
123
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "11")?'selected="selected"':''); ?> value="11">11</option>
152
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "12")?'selected="selected"':''); ?> value="12">12</option>
124
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "12")?'selected="selected"':''); ?> value="12">12</option>
153
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "13")?'selected="selected"':''); ?> value="13">13</option>
125
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "13")?'selected="selected"':''); ?> value="13">13</option>
154
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "14")?'selected="selected"':''); ?> value="14">14</option>
126
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "14")?'selected="selected"':''); ?> value="14">14</option>
155
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "16")?'selected="selected"':''); ?> value="16">16</option>
127
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "16")?'selected="selected"':''); ?> value="16">16</option>
156
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "18")?'selected="selected"':''); ?> value="18">18</option>
128
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "18")?'selected="selected"':''); ?> value="18">18</option>
157
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "20")?'selected="selected"':''); ?> value="20">20</option>
129
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "20")?'selected="selected"':''); ?> value="20">20</option>
158
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "22")?'selected="selected"':''); ?> value="22">22</option>
130
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "22")?'selected="selected"':''); ?> value="22">22</option>
159
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "24")?'selected="selected"':''); ?> value="24">24</option>
131
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "24")?'selected="selected"':''); ?> value="24">24</option>
160
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "26")?'selected="selected"':''); ?> value="26">26</option>
132
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "26")?'selected="selected"':''); ?> value="26">26</option>
161
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "28")?'selected="selected"':''); ?> value="28">28</option>
133
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "28")?'selected="selected"':''); ?> value="28">28</option>
162
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "30")?'selected="selected"':''); ?> value="30">30</option>
134
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "30")?'selected="selected"':''); ?> value="30">30</option>
163
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "32")?'selected="selected"':''); ?> value="32">32</option>
135
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "32")?'selected="selected"':''); ?> value="32">32</option>
164
							<option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "34")?'selected="selected"':''); ?> value="34">34</option>
136
                                <option <?php echo (($this->view['arTexte'][$i]['fontsize'] == "34")?'selected="selected"':''); ?> value="34">34</option>
165
						</select>
137
                            </select>
166
					</td>
138
                        </td>
167
					<td>			
139
                        <td>
168
						<label><input type="checkbox" value="1" name="text[<?php echo $i; ?>][aktiv]" <?php echo (($this->view['arTexte'][$i]['aktiv'] == 1)?'checked="checked"':''); ?> />&nbsp;<?php echo __("Aktiv", "wpsg"); ?></label>
-
 
169
						<a style="float:right; position:relative;" class="wpsg_form_help" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_fieldconfig" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_pdfdownload_fieldconfig"></a>
140
                            <input type="checkbox" title="<?php echo __('Hier können Sie die Zeile deaktivieren/aktivieren.', 'wpsg'); ?>" value="1" name="text[<?php echo $i; ?>][aktiv]" <?php echo (($this->view['arTexte'][$i]['aktiv'] == 1)?'checked="checked"':''); ?> />&nbsp
170
					</td>
141
                        </td>
171
				</tr>
142
                    </tr>
172
				<tr>
143
                    <tr>
173
					<td></td>
144
                        <td></td>
174
					<td class="col_freitext_label"><?php echo __('Freitext', 'wpsg'); ?>:</td>
145
                        <td class="col_freitext_label"><?php echo __('Freitext', 'wpsg'); ?>:</td>
175
					<td colspan="7" class="col_freitext">
146
                        <td colspan="6" class="col_freitext">
176
						<input type="text" style="width:100%;" name="text[<?php echo $i; ?>][text]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['text']); ?>" />
147
                            <input type="text" style="width:100%;" name="text[<?php echo $i; ?>][text]" value="<?php echo wpsg_hspc($this->view['arTexte'][$i]['text']); ?>" />
177
					</td>
148
                        </td>
178
					<td>
149
                        <td colspan="2">
179
						<select class="fontselect" name="text[<?php echo $i; ?>][font]" style="width:100%;"> 
150
                            <select class="fontselect" name="text[<?php echo $i; ?>][font]" style="width:100%;">
180
							<?php foreach ($this->view['wpsg_mod_downloadplus']['arFonts'] as $k => $v) { ?>
151
                                <?php foreach ($this->view['wpsg_mod_downloadplus']['arFonts'] as $k => $v) { ?>
181
							<option value="<?php echo wpsg_hspc($k); ?>" <?php echo (($k == $this->view['arTexte'][$i]['font'])?'selected="selected"':''); ?>><?php echo wpsg_hspc($v); ?></option>
152
                                <option value="<?php echo wpsg_hspc($k); ?>" <?php echo (($k == $this->view['arTexte'][$i]['font'])?'selected="selected"':''); ?>><?php echo wpsg_hspc($v); ?></option>
182
							<?php } ?>
153
                                <?php } ?>
183
						</select>
154
                            </select>
184
					</td>
155
                        </td>
185
				</tr>
-
 
186
				<?php if ($i < 9) { ?>
156
                    </tr>
187
				<tr class="wpsg_border_bottom"><td colspan="10"></td></tr>
-
 
188
				<?php } ?>
157
                </tbody>
189
				<?php } ?>
158
				<?php } ?>
190
			</table>
159
			</table>
-
 
160
 
191
		</div>
161
        </div>
192
		
162
 
193
		<div id="tabcontent3" class="tabcontent">
163
        <div role="tabpanel" class="tab-pane" id="tab3">
194
		
164
 
195
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_memorylimit', __('Versuche Speicherlimit hochzusetzen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_memorylimit'), array('help' => 'wpsg_mod_downloadplus_memorylimit')); ?>			
165
            <?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_memorylimit', __('Versuche Speicherlimit hochzusetzen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_memorylimit'), array('help' => 'wpsg_mod_downloadplus_memorylimit')); ?>
196
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_timelimit', __('Versuche die Ausführungszeit hochzusetzen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_timelimit'), array('help' => 'wpsg_mod_downloadplus_timelimit')); ?>
166
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_timelimit', __('Versuche die Ausführungszeit hochzusetzen', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_timelimit'), array('help' => 'wpsg_mod_downloadplus_timelimit')); ?>
197
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_numberformat', __('Format der Downloadnummer', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_numberformat'), array('help' => 'wpsg_mod_downloadplus_numberformat')); ?>
167
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_numberformat', __('Format der Downloadnummer', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_numberformat'), array('help' => 'wpsg_mod_downloadplus_numberformat')); ?>
198
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_startnumber', __('Downloadnummer Startnummer', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_startnumber'), array('help' => 'wpsg_mod_downloadplus_startnumber')); ?>
168
			<?php echo wpsg_drawForm_Input('wpsg_mod_downloadplus_startnumber', __('Downloadnummer Startnummer', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_startnumber'), array('help' => 'wpsg_mod_downloadplus_startnumber')); ?>
199
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_attachement', __('Angepasste Dokumente als Anhang versenden', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_attachement'), array('help' => 'wpsg_mod_downloadplus_attachement')); ?>
169
			<?php echo wpsg_drawForm_Checkbox('wpsg_mod_downloadplus_attachement', __('Angepasste Dokumente als Anhang versenden', 'wpsg'), $this->get_option('wpsg_mod_downloadplus_attachement'), array('help' => 'wpsg_mod_downloadplus_attachement')); ?>
200
					
170
 
201
		</div>
171
        </div>
202
		
172
 
203
		<div id="tabcontent4" class="tabcontent">
173
        <div role="tabpanel" class="tab-pane" id="tab4">
204
		
174
 
205
			<p>
175
            <p>
206
				<?php echo __('Das Downloadplus Modul ist eine erweiterung des Downloadprodukt Moduls und ermöglicht das Individualisieren von PDF Dokumenten.', 'wpsg'); ?>				
176
				<?php echo __('Das Downloadplus Modul ist eine erweiterung des Downloadprodukt Moduls und ermöglicht das Individualisieren von PDF Dokumenten.', 'wpsg'); ?>
207
			</p>
177
			</p>
208
			<p>
178
			<p>
209
				<?php echo __('Weitere Informationen erhalten Sie auf der <a href="http://wpshopgermany.de/?p=1426">Hilfe Seite</a> oder in unserem <a href="http://forum.maennchen1.de">Support Forum</a>.', 'wpsg'); ?>
179
				<?php echo __('Weitere Informationen erhalten Sie auf der <a href="http://wpshopgermany.de/?p=1426">Hilfe Seite</a> oder in unserem <a href="http://forum.maennchen1.de">Support Forum</a>.', 'wpsg'); ?>
210
			</p>
180
			</p>
211
			
181
 
212
			<p>
182
			<p>
213
				<?php echo __('Eintrag in der Crontab:', 'wpsg'); ?>:<br /><br />
183
				<?php echo __('Eintrag in der Crontab:', 'wpsg'); ?>:<br /><br />
214
				<span style="font-weight:bold; font-family:monospace;">
184
				<span style="font-weight:bold; font-family:monospace;">
215
					*/5   *   *   *  *    /usr/bin/php <?php echo WPSG_PATH.DIRECTORY_SEPARATOR; ?>cron.php 
185
					*/5   *   *   *  *    /usr/bin/php <?php echo WPSG_PATH.DIRECTORY_SEPARATOR; ?>cron.php
216
				</span>
186
				</span>
217
			</p>
187
			</p>
218
			<p>
188
			<p>
219
				<?php echo __('HTTP Aufruf des Cron Scriptes:', 'wpsg'); ?><br /><br />
189
				<?php echo __('HTTP Aufruf des Cron Scriptes:', 'wpsg'); ?><br /><br />
220
				<a href="<?php echo WPSG_PLUGIN_URL; ?>/<?php echo WPSG_FOLDERNAME; ?>/cron.php" target="_blank"><?php echo WPSG_PLUGIN_URL; ?>/wpshopgermany/cron.php</a>
190
				<a href="<?php echo WPSG_PLUGIN_URL; ?>/<?php echo WPSG_FOLDERNAME; ?>/cron.php" target="_blank"><?php echo WPSG_PLUGIN_URL; ?>/wpshopgermany/cron.php</a>
221
			</p>		
191
			</p>
222
			
192
 
223
		</div>
193
        </div>
224
		
194
 
225
	</div>
195
    </div>
226
</div>
196
</div>
227
 
197
 
228
<script type="text/javascript">/* <![CDATA[ */
198
<script type="text/javascript">/* <![CDATA[ */
229
 
-
 
230
	function wpsg_mod_downloadplus_switchAccepted()
-
 
231
	{
-
 
232
 
-
 
233
		if (jQuery('#wpsg_mod_downloadplus_accepted').val() == '1')
-
 
234
			jQuery('#wpsg_mod_downloadplus_downloads').parent().parent().show();
-
 
235
		else
-
 
236
			jQuery('#wpsg_mod_downloadplus_downloads').parent().parent().hide();
-
 
237
		
-
 
238
		if (jQuery('#wpsg_mod_downloadplus_accepted').val() == '2')
-
 
239
			jQuery('#wpsg_mod_downloadplus_days').parent().parent().show();
-
 
240
		else
-
 
241
			jQuery('#wpsg_mod_downloadplus_days').parent().parent().hide();
-
 
242
		
-
 
243
	} // function wpsg_mod_downloadplus_switchAccepted()
-
 
244
 
-
 
245
	function wpsg_mod_downloadplus_switchRange()
-
 
246
	{
-
 
247
 
-
 
248
		if (jQuery('#wpsg_mod_downloadplus_range').val() == '1')
-
 
249
			jQuery('#wpsg_mod_downloadplus_rangefield').show();
-
 
250
		else
-
 
251
			jQuery('#wpsg_mod_downloadplus_rangefield').hide();
-
 
252
		
-
 
253
	} // function wpsg_mod_downloadplus_switchRange()
-
 
254
	
-
 
255
	jQuery(document).ready(function() {
-
 
256
 
-
 
257
		jQuery('.wpsg_mod_downloadplus_fieldtable select.fontselect').bind('change', function() {
-
 
258
 
-
 
259
			if (jQuery(this).val() == 'EAN13' || jQuery(this).val() == 'Code128' || jQuery(this).val() == 'UPC_A')
-
 
260
			{
-
 
261
 
-
 
262
				jQuery(this).parents('tr').prev().find('input.wpsg_hideBarcode').hide();
-
 
263
				
-
 
264
			}
-
 
265
			else
-
 
266
			{
-
 
267
			 
-
 
268
				jQuery(this).parents('tr').prev().find('input.wpsg_hideBarcode').show();
-
 
269
				
-
 
270
			}
-
 
271
			
-
 
272
		} ).change();
-
 
273
		 
-
 
274
		jQuery('#wpsg_mod_downloadplus_range').bind('change', function() { wpsg_mod_downloadplus_switchRange(); } );
-
 
275
		jQuery('#wpsg_mod_downloadplus_accepted').bind('change', function() { wpsg_mod_downloadplus_switchAccepted(); } );
-
 
276
 
-
 
277
		wpsg_mod_downloadplus_switchAccepted();
-
 
278
		wpsg_mod_downloadplus_switchRange();
-
 
279
		
-
 
280
		jQuery('#wpsg_tab').wpsg_tab( { 
-
 
281
			'cookiename': 'wpsg_pdfdownload_tab',
-
 
282
			'tab2': function() {
-
 
283
				jQuery('.tablink').show();
-
 
284
			}
-
 
285
		} );
-
 
286
	} );
-
 
287
 
199
 
288
	/* ]]> */</script>
-
 
289
		
-
 
290
200
    jQuery(document).ready(function() {
-
 
201
 
-
 
202
        jQuery('.wpsg_change').on('change', function() {
-
 
203
 
-
 
204
            jQuery('.' + jQuery(this).attr("id")).hide();
-
 
205
            jQuery('.' + jQuery(this).attr("id") + '_' + jQuery(this).val()).show();
-
 
206
 
-
 
207
        } ).change();
-
 
208
 
-
 
209
    } );
-
 
210
 
-
 
211
/* ]]> */</script>
-
 
212
291
213