Line 19... |
Line 19... |
19 |
<div class="wpsg_flex wpsg_flex_justify_content_space_between">
|
19 |
<div class="wpsg_flex wpsg_flex_justify_content_space_between">
|
20 |
<span>
|
20 |
<span>
|
21 |
<?php echo wpsg_translate(__('#2#: Anschreiben ##1#', 'wpsg'), $a['id'], wpsg_formatTimestamp(strtotime($a['cdate']))); ?>: <?php echo ((strlen($a['text']) > 50)?substr($a['text'],0,50).' ...':$a['text']); ?>
|
21 |
<?php echo wpsg_translate(__('#2#: Anschreiben ##1#', 'wpsg'), $a['id'], wpsg_formatTimestamp(strtotime($a['cdate']))); ?>: <?php echo ((strlen($a['text']) > 50)?substr($a['text'],0,50).' ...':$a['text']); ?>
|
22 |
</span>
|
22 |
</span>
|
23 |
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&mod=wpsg_mod_coverletter&noheader=1&action=ajax&order_id=<?php echo $a['order_id']; ?>&cl_id=<?php echo $a['id']; ?>&wpsg_mod_coverletter_get" target="_new">
|
23 |
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&mod=wpsg_mod_coverletter&noheader=1&action=ajax&order_id=<?php echo $a['order_id']; ?>&cl_id=<?php echo $a['id']; ?>&wpsg_mod_coverletter_get" target="_new">
|
24 |
<?php echo __('Download', 'wpsg'); ?>
|
24 |
<?php echo __('Ansehen', 'wpsg'); ?>
|
25 |
</a>
|
25 |
</a>
|
26 |
</div>
|
26 |
</div>
|
27 |
|
27 |
|
28 |
<?php } ?>
|
28 |
<?php } ?>
|
29 |
|
29 |
|
Line 51... |
Line 51... |
51 |
|
51 |
|
52 |
<input type="hidden" name="target" value="1" />
|
52 |
<input type="hidden" name="target" value="1" />
|
53 |
|
53 |
|
54 |
<?php } ?>
|
54 |
<?php } ?>
|
55 |
|
55 |
|
56 |
<?php echo wpsg_drawForm_Textarea('text', __('Text', 'wpsg'),'', ['noLabel' => true, 'fullLabel' => __('Text für das Anschreiben', 'wpsg'), 'style' => 'height:200px']); ?>
|
56 |
<?php echo wpsg_drawForm_Textarea('text', __('Text', 'wpsg'),$this->replaceUniversalPlatzhalter($this->get_option('wpsg_mod_coverletter_text'), $this->view['data']['id']), ['noLabel' => true, 'fullLabel' => __('Text für das Anschreiben', 'wpsg'), 'style' => 'height:200px']); ?>
|
57 |
|
57 |
|
58 |
<br />
|
58 |
<br />
|
59 |
|
59 |
|
60 |
<input type="submit" name="wpsg_mod_coverletter_write" value="<?php echo __("Speichern & Drucken", "wpsg"); ?>" style="float:left;" class="button button-primary" />
|
60 |
<input type="submit" name="wpsg_mod_coverletter_write" value="<?php echo __("Speichern & Drucken", "wpsg"); ?>" style="float:left;" class="button button-primary" />
|
61 |
<input type="submit" name="wpsg_mod_coverletter_preview" onclick="wpsg_form_refresh = false;" value="<?php echo __('Vorschau', 'wpsg'); ?>" style="float:left; margin-left:15px;" class="button" />
|
61 |
<input type="submit" name="wpsg_mod_coverletter_preview" onclick="wpsg_form_refresh = false;" value="<?php echo __('Vorschau', 'wpsg'); ?>" style="float:left; margin-left:15px;" class="button" />
|