| Line 63... |
Line 63... |
| 63 |
<h3>Enter message</h3>
|
63 |
<h3>Enter message</h3>
|
| 64 |
<?php //echo $this->Form->create('User',array('action'=>'push')); ?>
|
64 |
<?php //echo $this->Form->create('User',array('action'=>'push')); ?>
|
| 65 |
<?php echo $this->Form->input('name',array('label'=>'Campaign Name','required'=>true));?>
|
65 |
<?php echo $this->Form->input('name',array('label'=>'Campaign Name','required'=>true));?>
|
| 66 |
<?php echo $this->Form->input('title');?>
|
66 |
<?php echo $this->Form->input('title');?>
|
| 67 |
<?php echo $this->Form->input('message');?>
|
67 |
<?php echo $this->Form->input('message');?>
|
| - |
|
68 |
<?php echo $this->Form->input('notification_long_text',array('type'=>'textarea','id'=>'notification_long_text'));?>
|
| 68 |
<?php echo $this->Form->input('type',array('type'=>'select','options' => array('url'=>'Url','native'=>'Native','update'=>'Update')));?>
|
69 |
<?php echo $this->Form->input('type',array('type'=>'select','options' => array('url'=>'Url','native'=>'Native','update'=>'Update')));?>
|
| 69 |
<?php echo $this->Form->input('url');?>
|
70 |
<?php echo $this->Form->input('url');?>
|
| 70 |
<?php echo $this->Form->input('expiresat',array('type'=>'datetime'));?>
|
71 |
<?php echo $this->Form->input('expiresat',array('type'=>'datetime'));?>
|
| 71 |
<?php echo $this->Form->input('sendsms',array('type'=>'checkbox'));?>
|
72 |
<?php echo $this->Form->input('sendsms',array('type'=>'checkbox'));?>
|
| 72 |
<?php $notitype=array("GENERAL_NOTIFICATION"=>"GENERAL_NOTIFICATION","BATCH_CREDIT"=>"BATCH_CREDIT");
|
73 |
<?php $notitype=array("GENERAL_NOTIFICATION"=>"GENERAL_NOTIFICATION","BATCH_CREDIT"=>"BATCH_CREDIT");
|
| 73 |
echo $this->Form->input('notification_type', array('options'=>$notitype, 'selected'=>'GENERAL_NOTIFICATION'));?>
|
74 |
echo $this->Form->input('notification_type', array('options'=>$notitype, 'selected'=>'GENERAL_NOTIFICATION'));?>
|
| 74 |
<?php echo $this->Form->input('messagetext', array('size'=>130,'maxlength'=>130,'placeholder'=>' Max Length 130 Character(s)'));?>
|
75 |
<?php echo $this->Form->input('messagetext', array('size'=>130,'maxlength'=>130,'placeholder'=>' Max Length 130 Character(s)'));?>
|
| 75 |
<button type="submit" class="btn btn-success btn-block notifyusers">Send</button>
|
76 |
<button type="submit" class="btn btn-success btn-block notifyusers">Send</button>
|
| 76 |
</div>
|
77 |
</div>
|
| 77 |
<?php echo $this->Form->end();?>
|
78 |
<?php echo $this->Form->end();?>
|
| 78 |
</div>
|
- |
|
| 79 |
|
79 |
</div>
|
| - |
|
80 |
|