| 14579 |
anikendra |
1 |
<div class="container">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-3">
|
|
|
4 |
<?php echo $this->Element('adminactions');?>
|
|
|
5 |
</div>
|
|
|
6 |
<div class="col-lg-9">
|
|
|
7 |
<?php echo $this->Form->create('NotificationRule'); ?>
|
|
|
8 |
<fieldset>
|
|
|
9 |
<legend><?php echo __('Admin Edit Notification Rule'); ?></legend>
|
|
|
10 |
<?php
|
|
|
11 |
echo $this->Form->input('id');
|
|
|
12 |
echo $this->Form->input('name');
|
| 15378 |
anikendra |
13 |
echo $this->Form->input('sql',array('type'=>'textarea'));
|
| 14579 |
anikendra |
14 |
echo $this->Form->input('message');
|
|
|
15 |
echo $this->Form->input('url');
|
| 14928 |
anikendra |
16 |
echo $this->Form->input('type', array('type' => 'select'));
|
| 14579 |
anikendra |
17 |
$options = array('active'=>'Active','paused'=>'Paused','deleted'=>'Deleted');
|
|
|
18 |
echo $this->Form->input('status',array('type'=>'select','options'=>$options));
|
| 14928 |
anikendra |
19 |
echo $this->Form->input('popup_display_count',array('disabled'=>true));
|
|
|
20 |
echo $this->Form->input('popup_display_interval',array('disabled'=>true,'label'=>'Popup Display Interval (in minutes)'));
|
|
|
21 |
echo $this->Form->input('popup_type',array('disabled'=>true,'label'=>'Popup Type','type'=>'select','options'=>$popup_types));
|
| 14579 |
anikendra |
22 |
echo $this->Form->input('starttime');
|
|
|
23 |
echo $this->Form->input('endtime');
|
|
|
24 |
?>
|
|
|
25 |
</fieldset>
|
|
|
26 |
<?php echo $this->Form->end(__('Submit')); ?>
|
|
|
27 |
</div>
|
|
|
28 |
</div>
|
|
|
29 |
</div>
|