Exemple #1
0
<br />
                                        <label for="authorEmail"><?php 
            _e('Your e-mail', 'modern');
            ?>
:</label> <?php 
            CommentForm::email_input_text();
            ?>
<br />
                                    <?php 
        }
        ?>
                                    <label for="title"><?php 
        _e('Title', 'modern');
        ?>
:</label><?php 
        CommentForm::title_input_text();
        ?>
<br />
                                    <label for="body"><?php 
        _e('Comment', 'modern');
        ?>
:</label><?php 
        CommentForm::body_input_textarea();
        ?>
<br />
                                    <button type="submit"><?php 
        _e('Send', 'modern');
        ?>
</button>
                                </fieldset>
                            </form>
Exemple #2
0
?>
" />
        <input type="hidden" name="page" value="comments" />
        <input type="hidden" name="id" value="<?php 
echo isset($comment['pk_i_id']) ? $comment['pk_i_id'] : '';
?>
" />
        <div class="form-horizontal">
            <div class="form-row">
                <div class="form-label"><?php 
_e('Title');
?>
</div>
                <div class="form-controls">
                    <?php 
CommentForm::title_input_text($comment);
?>
                </div>
            </div>
            <div class="form-row">
                <div class="form-label"><?php 
_e('Author');
?>
</div>
                <div class="form-controls">
                    <?php 
CommentForm::author_input_text($comment);
?>
                    <?php 
if (isset($comment['fk_i_user_id']) && $comment['fk_i_user_id'] != '') {
    _e("Registered user");