$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 class="help-block m-b-none error-send_to"><?php $form->error("send_to"); ?> </span> </div> <div class="clearfix"></div> </div> <div style="margin-bottom: 0"
<?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"); ?> </span> </div> <div class="clearfix"></div> </div> <div style="margin-bottom: 0" class="form-group <?php echo $model->has_error("subject") ? "has-error" : null;
<div class="message-me-has-subject hide"> <?php $form->hidden('subject'); ?> </div> <div class="message-me-no-subject hide"> <div class="form-group <?php echo $model->has_error("subject") ? "has-error" : null; ?> "> <?php $form->label("subject", array("text" => "Subject", "attributes" => array("class" => "col-lg-2 control-label"))); ?> <div class="col-lg-10"> <?php $form->text("subject", array("attributes" => array("class" => "form-control", "disabled" => "disabled"))); ?> <span class="help-block m-b-none error-subject"><?php $form->error("subject"); ?> </span> </div> <div class="clearfix"></div> </div> </div> <?php $form->hidden('send_to', array('attributes' => array('class' => 'message-me-send-to'))); ?> <div style="margin-bottom: 0" class="form-group <?php
$form->hidden('subject'); ?> <?php } else { ?> <div class="form-group <?php echo $model->has_error("subject") ? "has-error" : null; ?> "> <?php $form->label("subject", array("text" => "Subject", "attributes" => array("class" => "col-lg-2 control-label"))); ?> <div class="col-lg-10"> <?php $form->text("subject", array("attributes" => array("class" => "form-control mm-wysiwyg"))); ?> <span class="help-block m-b-none error-subject"><?php $form->error("subject"); ?> </span> </div> <div class="clearfix"></div> </div> <?php } ?> <?php $form->hidden('send_to'); ?>
<span class="help-block m-b-none error-file"><?php $form->error("file"); ?> </span> <div class="clearfix"></div> </div> <div style="margin-bottom: 0" class="form-group <?php echo $model->has_error("url") ? "has-error" : null; ?> "> <?php $form->label("url", array("text" => "Url", "attributes" => array("class" => "control-label hidden-xs hidden-sm"))); ?> <?php $form->text("url", array("attributes" => array("class" => "form-control input-sm", "placeholder" => __("Url", ig_uploader()->domain)))); ?> <span class="help-block m-b-none error-url"><?php $form->error("url"); ?> </span> <div class="clearfix"></div> </div> <div style="margin-bottom: 0" class="form-group <?php echo $model->has_error("content") ? "has-error" : null; ?> "> <?php $form->label("content", array("text" => "Content", "attributes" => array("class" => "control-label hidden-xs hidden-sm"))); ?>
</div> <?php $form->open(array("attributes" => array("class" => "form-horizontal compose-form", "id" => "reply-form"))); ?> <div class="modal-body"> <div style="margin-bottom: 0" class="form-group <?php echo $model->has_error("subject") ? "has-error" : null; ?> "> <?php $form->label("subject", array("text" => "Subject", "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("subject", array("attributes" => array("class" => "form-control", "placeholder" => "Subject"))); ?> <span class="help-block m-b-none error-subject"><?php $form->error("subject"); ?> </span> </div> <div class="clearfix"></div> </div> <div class="form-group <?php echo $model->has_error("content") ? "has-error" : null; ?> "> <?php /*$form->label("content", array("text" => "Content", "attributes" => array("class" => "col-lg-2 control-label"))) */
?> </span> </div> <div class="clearfix"></div> </div> <div class="form-group <?php echo $model->has_error("per_page") ? "has-error" : null; ?> "> <?php $form->label("per_page", array("text" => "Per Page", "attributes" => array("class" => "col-lg-2 control-label"))); ?> <div class="col-lg-10"> <?php $form->text("per_page", array("attributes" => array("class" => "form-control"))); ?> <span class="help-block m-b-none error-per_page"><?php $form->error("per_page"); ?> </span> </div> <div class="clearfix"></div> </div> <?php wp_nonce_field('mm_settings', '_mmnonce'); ?> <div class="row"> <div class="col-md-10 col-md-offset-2"> <button type="submit" class="btn btn-primary"><?php