diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-06-20 11:51:37 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-06-20 11:51:37 +0000 |
| commit | 2d8f1b8de0310d2fe6db6a6e7448e099f9a8a901 (patch) | |
| tree | 061e4630b294dcac7defdfc0ecb3acb3f676cef5 /views/admin/form/emailconf.phtml | |
| parent | ef9544e477984efd73405c6847bd938a0a4ccfc8 (diff) | |
- Länderverwaltung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5562 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/form/emailconf.phtml')
| -rw-r--r-- | views/admin/form/emailconf.phtml | 50 |
1 files changed, 33 insertions, 17 deletions
diff --git a/views/admin/form/emailconf.phtml b/views/admin/form/emailconf.phtml index 9ec6b63..6c13bfa 100644 --- a/views/admin/form/emailconf.phtml +++ b/views/admin/form/emailconf.phtml @@ -5,7 +5,7 @@ <?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_absender', __('Absender', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_absender')); ?>
<?php if ($this->view['field_to'] === true) { ?>
- <?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_empfaenger', __('Empfänger', 'wpsg'), $GLOBALS['wpsg_sc']->get_option('wpsg_'.$key.'_empfaenger')); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_empfaenger', __('Empfänger', 'wpsg'), $GLOBALS['wpsg_sc']->get_option('wpsg_'.$this->view['field_key'].'_empfaenger')); ?>
<?php } ?>
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_cc', __('CC', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_cc')); ?>
@@ -21,24 +21,40 @@ </div>
<br />
- <?php } ?>
-
- <?php
-
- // RTE
- ob_start();
- wp_editor($this->get_option('wpsg_'.$this->view['field_key'].'_text'), 'wpsg_'.$this->view['field_key'].'_text');
- $rte_content = ob_get_contents();
- ob_end_clean();
+ <?php } ?>
- ?>
-
- <div class="wpsg_form_field">
- <div class="wpsg_form_left"><label><?php echo __('Text unter der E-Mail', 'wpsg'); ?></label></div>
- <div class="wpsg_form_right"></div><div class="wpsg_clear"></div>
- </div>
+ <div class="modal fade" tabindex="-1" role="dialog" id="modal<?php echo $this->view['field_key']; ?>">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
+ <h4 class="modal-title"><?php echo __('Text im Footer der Mail bearbeiten', 'wpsg'); ?></h4>
+ </div>
+ <div class="modal-body">
+
+ <?php
+
+ // RTE
+ ob_start();
+ wp_editor($this->get_option('wpsg_'.$this->view['field_key'].'_text'), 'wpsg_'.$this->view['field_key'].'_text');
+ $rte_content = ob_get_contents();
+ ob_end_clean();
+
+ echo $rte_content;
+
+ ?>
+
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Schließen', 'wpsg'); ?></button>
+ </div>
+ </div><!-- /.modal-content -->
+ </div><!-- /.modal-dialog -->
+ </div><!-- /.modal -->
- <?php echo $rte_content; ?>
+ <?php echo wpsg_drawForm_TextStart(); ?>
+ <a href="#" data-toggle="modal" data-target="#modal<?php echo $this->view['field_key']; ?>"><?php echo __('Text anzeigen/bearbeiten', 'wpsg'); ?></a>
+ <?php echo wpsg_drawForm_TextEnd(__('Text unter der E-Mail', 'wpsg')); ?>
<?php if (wpsg_isSizedString($notice)) { ?>
|
