Exemplo n.º 1
0
" style="min-height:0;">
          <h4><?php 
_e("Subscribe");
?>
</h4>
        </div>
        <form class="mw_form" data-form-id="<?php 
print $form_id;
?>
" name="<?php 
print $form_id;
?>
" method="post" >
        
         <?php 
print csrf_form($params['id']);
?>
            <module type="custom_fields" data-id="<?php 
print $params['id'];
?>
" data-for="module"  default-fields="email"   />
            <div class="control-group form-group">
                <?php 
if (get_option('disable_captcha', $params['id']) != 'y') {
    ?>
                    <label class="custom-field-title"><?php 
    _e("Enter Security code");
    ?>
</label>
                    <div class="mw-ui-row-nodrop captcha-holder" style="width: 100%;background: white;border-radius: 3px 0 0 3px">
Exemplo n.º 2
0
      <?php 
        event_trigger('module.comments.form.before', $data);
        ?>
      <form autocomplete="on" id="comments-form-<?php 
        print $data['id'];
        ?>
" class="form-group">
        <?php 
        event_trigger('module.comments.form.start', $data);
        ?>
        <input type="hidden" name="rel_id" value="<?php 
        print $data['rel_id'];
        ?>
">
         <?php 
        print csrf_form();
        ?>
        
        <input type="hidden" name="rel" value="<?php 
        print $data['rel_type'];
        ?>
">
        <input type="hidden" name="module_id" value="<?php 
        print $params['id'];
        ?>
">
        <?php 
        if ($form_title != false) {
            ?>
        <input type="hidden" name="comment_subject" value="<?php 
            print $form_title;