Ejemplo n.º 1
0
                    <div class="modal-content" id="compose-modal-admin-bar">
                        <div class="modal-header">
                            <h4 class="modal-title"><?php 
_e("Compose Message", mmg()->domain);
?>
</h4>
                        </div>
                        <?php 
$form = new IG_Active_Form($model);
$form->open(array("attributes" => array("class" => "compose-form form-horizontal", "id" => "compose-form-admin-bar")));
?>
                        <div class="modal-body">

                            <div style="margin-bottom: 0"
                                 class="form-group <?php 
echo $model->has_error("send_to") ? "has-error" : null;
?>
">
                                <?php 
$form->label("send_to", array("text" => "Send To", "attributes" => array("class" => "control-label col-sm-2 hidden-xs hidden-sm")));
?>
                                <div class="col-md-10 col-sm-12 col-xs-12">
                                    <?php 
$form->text("send_to", array("attributes" => array("class" => "form-control", "placeholder" => "Send to", 'id' => 'admin-bar-mm-send-to')));
?>
                                    <!--<span
                                class="help-block m-b-none"><?php 
/*_e("Please enter the username, separate by commas", mmg()->domain) */
?>
</span>-->
                                    <span
Ejemplo n.º 2
0
                    <div class="modal-dialog">
                        <div class="modal-content" id="compose-modal">
                            <div class="modal-header">
                                <h4 class="modal-title"><?php 
_e("Compose Message", mmg()->domain);
?>
</h4>
                            </div>
                            <?php 
$form = new IG_Active_Form($model);
$form->open(array("attributes" => array("class" => "compose-form form-horizontal", "id" => "compose-form")));
?>
                            <div class="modal-body">
                                <div style="margin-bottom: 0"
                                     class="form-group <?php 
echo $model->has_error("send_to") ? "has-error" : null;
?>
">
                                    <?php 
$form->label("send_to", array("text" => "Send To", "attributes" => array("class" => "control-label col-sm-2 hidden-xs hidden-sm")));
?>
                                    <div class="col-md-10 col-sm-12 col-xs-12">
                                        <?php 
$form->text("send_to", array("attributes" => array("class" => "form-control", "placeholder" => "Send to")));
?>
                                        <?php 
do_action('mm_compose_form_after_send_to', $form, $model);
?>
                                        <span class="help-block m-b-none error-send_to">
                                        <?php 
$form->error("send_to");
Ejemplo n.º 3
0
                    <?php 
$form = new IG_Active_Form($model);
?>
                    <div class="modal-header">
                        <h4 class="modal-title"><?php 
_e('Estimates', 'artgorae');
?>
</h4>
                    </div>
                    <?php 
$form->open(array("attributes" => array("class" => "form-horizontal compose-form", "id" => "estimates-form")));
?>
                    <div class="modal-body">
                        <div style="margin-bottom: 0"
                             class="form-group <?php 
echo $model->has_error("reply_to") ? "has-error" : null;
?>
">
                            <?php 
$form->label("reply_to", array("text" => __('Price', 'artgorae'), "attributes" => array("class" => "control-label col-sm-2 hidden-xs hidden-sm")));
?>
                            <div class="col-md-10 col-sm-12 col-xs-12">
                                <?php 
$form->number("reply_to", array("attributes" => array("class" => "form-control", "placeholder" => __('10,000', 'artgorae'), "required" => "required")));
?>
                                <?php 
do_action('mm_compose_form_after_reply_to', $form, $model);
?>
                                <span class="help-block m-b-none error-reply_to"><?php 
$form->error("reply_to");
?>