예제 #1
0
                        </ul>


                        <!-- Tab panes -->
                        <div class="tab-content">
                            <div class="tab-pane active" id="enterNumbers">
                                <div class="form-group">
                                    <textarea placeholder="Enter one number per line"
                                              class="form-control" name="recipient" id="recipient" style="width:100%" rows="5"></textarea>
                                </div>
                            </div>
                            <div class="tab-pane" id="selectGroup">
                                <div class="form-group">
                                    <p class="help-block">To send to more than one group, hold than the Control Key on your keyboard and click on the group</p>
                                    <?php 
OpenSms_Helper_Html::SelectFor('groupid', $this->data['groups'], null, 'Id', 'Name', ['multiple' => 'multiple', 'class' => 'form-control', 'id' => 'groups', 'size' => '3']);
?>
                                </div>
                            </div>
                            <div class="tab-pane" id="uploadNumbers">
                                <div class="form-group">
                                    <input class="form-control" type="file" id="to_file" name="to_file">
                                    <p class="help-block">Upload a text file with one number per line or an excel 97 to 2003 (xls) file</p>
                                </div>
                            </div>
                        </div>

                        <hr/>

                        <div class="form-group">
                            <label for="message">Message:</label>
예제 #2
0
echo OpenSms::OPEN_TRANSACTION_STATUS_PROCESSING;
?>
</option>
                                <option value="<?php 
echo OpenSms::OPEN_TRANSACTION_STATUS_COMPLETED;
?>
"><?php 
echo OpenSms::OPEN_TRANSACTION_STATUS_COMPLETED;
?>
</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="TransType">Payment Method</label>
                            <?php 
OpenSms_Helper_Html::SelectFor('PaymentMethod', $this->data['payments'], null, 'key', 'label', ['class' => 'form-control']);
?>
                        </div>
                    </div>

                    <div class="box-footer clearfix">
                        <button style="color: #ffffff" name="AddTransaction" class="pull-right btn btn-default btn-success">Add Transaction <i class="fa fa-plus-square"></i></button>
                    </div>

                </form>
            </div>


        </div><!-- /.col -->
    </div><!-- /.row -->
예제 #3
0
        ?>
</td>
                                    <td><?php 
        echo $p->key;
        ?>
</td>
                                    <td><?php 
        echo $p->type;
        ?>
</td>
                                    <td><?php 
        OpenSms_Helper_Html::TextEditorFor($p->key . '[sort_order]', $p->sort_order, ['class' => 'form-control']);
        ?>
</td>
                                    <td><?php 
        OpenSms_Helper_Html::TextEditorFor($p->key . '[value]', $p->value, ['class' => 'form-control']);
        ?>
</td>
                                </tr>

                            <?php 
    }
    ?>

                        </table>

                    </div><!-- /.box-body -->
                </div><!-- /.box -->

                <?php 
}
예제 #4
0
                    <div class="form-group">
                        <label for="TranAmount">Amount</label>
                        <input type="text" class="form-control" id="TranAmount" name="Amount" placeholder="Amount">
                    </div>
                    <div class="form-group">
                        <label for="TranAmount">Unit</label>
                        <input type="number" class="form-control" id="TranAmount" name="Unit" placeholder="Unit">
                    </div>
                    <input type="hidden" value="<?php 
echo OpenSms::OPEN_TRANSACTION_TYPE_CREDIT;
?>
" name="Type"/>
                    <div class="form-group">
                        <label for="TransType">Payment Method</label>
                        <?php 
OpenSms_Helper_Html::SelectFor('PaymentMethod', OpenSms::getPaymentMethods(), null, 'key', 'label', ['class' => 'form-control']);
?>

                    </div>
                </div>

                <div class="box-footer clearfix">
                    <button style="color: #ffffff" name="AddTransaction" class="pull-right btn btn-default btn-success">Add Transaction <i class="fa fa-plus-square"></i></button>
                </div>

            </form>
        </div>


    </div><!-- /.col -->
</div><!-- /.row -->