-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtrial.ctp
More file actions
64 lines (56 loc) · 1.9 KB
/
trial.ctp
File metadata and controls
64 lines (56 loc) · 1.9 KB
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
<?php
/**
* システム管理【メール設定-テスト送信】テンプレート
*
* @author Mitsuru Mutaguchi <mutaguchi@opensource-workshop.jp>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
* @copyright Copyright 2014, NetCommons Project
*/
?>
<?php
echo $this->SystemManager->tabs();
echo $this->MessageFlash->description(__d('system_manager', 'When sending mail or sending test e-mail, please press the [Send] button.'));
?>
<div class="panel panel-default">
<?php echo $this->NetCommonsForm->create('TrialMail'); ?>
<div class="panel-body">
<?php echo $this->NetCommonsForm->input('TrialMail.to_address', array(
'type' => 'text',
'label' => __d('system_manager', 'To mail address'),
'required' => true,
//'value' => $user['email']
)); ?>
<?php /*echo $this->NetCommonsForm->input('TrialMail.reply_to', array(
'type' => 'text',
'label' => __d('system_manager', 'Reply to mail address'),
));*/ ?>
<?php echo $this->NetCommonsForm->input('TrialMail.title', array(
'type' => 'text',
'label' => __d('system_manager', 'Mail title'),
'required' => true
)); ?>
<?php echo $this->NetCommonsForm->input('TrialMail.body', array(
'type' => 'textarea',
'label' => __d('system_manager', 'Mail body'),
'required' => true
)); ?>
</div>
<div class="panel-footer text-center">
<?php
echo $this->Button->cancel(
__d('net_commons', 'Close'),
array('controller' => 'mail_server', 'action' => 'edit')
);
echo $this->NetCommonsForm->button(
'<span class="glyphicon glyphicon-envelope" aria-hidden="true"></span> ' . __d('system_manager', 'Send'),
array(
'class' => 'btn btn-primary btn-workflow',
'name' => 'send',
'ng-disabled' => 'sending'
)
);
?>
</div>
<?php echo $this->NetCommonsForm->end(); ?>
</div>