-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_form.php
73 lines (66 loc) · 2.8 KB
/
config_form.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php echo js_tag('vendor/tinymce/tinymce.min'); ?>
<script type="text/javascript">
jQuery(document).ready(function () {
Omeka.wysiwyg({
selector: '.html-editor'
});
});
</script>
<?php $view = get_view(); ?>
<h2><?php echo __('E-mail composition'); ?></h2>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('email_users_composition_subject_prefix', __('Subject Prefix')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('Text to be placed at the beginning of e-mail subject (optional; e.g.: site name).'); ?>
</p>
<?php echo $view->formText('email_users_composition_subject_prefix', get_option('email_users_composition_subject_prefix')); ?>
</div>
</div>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('email_users_composition_header', __('Text Header')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('Text to be placed before the beginning of e-mail text (optional).'); ?>
</p>
<?php echo $view->formTextarea('email_users_composition_header', get_option('email_users_composition_header'), array('rows' => '10', 'cols' => '60', 'class' => array('html-editor'))); ?>
</div>
</div>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('email_users_composition_footer', __('Text Footer')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('Text to be placed after the end of e-mail text (optional).'); ?>
</p>
<?php echo $view->formTextarea('email_users_composition_footer', get_option('email_users_composition_footer'), array('rows' => '10', 'cols' => '60', 'class' => array('html-editor'))); ?>
</div>
</div>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('email_users_composition_use_html', __('Use HTML')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, HTML code will be allowed for e-mail text.'); ?>
</p>
<?php echo $view->formCheckbox('email_users_composition_use_html', get_option('email_users_composition_use_html'), null, array('1', '0')); ?>
</div>
</div>
<h2><?php echo __('E-mail details'); ?></h2>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('email_users_recipient_count_verbose', __('Recipients Count Verbose')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, information about recipients in Show page will include more details.'); ?>
</p>
<?php echo $view->formCheckbox('email_users_recipient_count_verbose', get_option('email_users_recipient_count_verbose'), null, array('1', '0')); ?>
</div>
</div>