Esempio n. 1
0
        if ($req) {
            echo "aria-required='true'";
        }
        ?>
 /></div>
    <div id="guest_url"><label for="url"><span><?php 
        _e('URL', 'tcd-w');
        ?>
</span></label><input type="text" name="url" id="url" value="<?php 
        echo $comment_author_url;
        ?>
" size="22" tabindex="3" /></div>
    <?php 
        if (function_exists('cs_print_smilies')) {
            echo '<div id="custom_smilies">';
            cs_print_smilies();
            echo "</div>\n";
        }
        ?>
   </div>

   <?php 
    }
    ?>

   <div id="comment_textarea">
    <textarea name="comment" id="comment" cols="50" rows="10" tabindex="4"></textarea>
   </div>

   <?php 
    if (function_exists('show_subscription_checkbox')) {
    function widget($args, $instance)
    {
        extract($args);
        $title = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base);
        echo $before_widget;
        ?>
            <div id="X_Share-Detail" class="xt-share-detail">
                <?php 
        get_the_share_detail_template();
        ?>
                <div class="well well-small">
                    <?php 
        xt_load_template('xt-share_comments');
        ?>
                    <textarea id="comment" class="input-xxlarge" style="width:705px;"></textarea>
                    <div class="clearfix">
                        <?php 
        if (function_exists('cs_print_smilies')) {
            cs_print_smilies();
        }
        ?>
                        <a href="javascript:;" class="btn btn-small btn-primary" id="X_Share-comment-submit" data-id="<?php 
        the_share_id();
        ?>
" data-url="<?php 
        echo esc_url(get_the_share_url());
        ?>
">评 论</a>
                    </div>
                </div>
            </div>
            <?php 
        echo $after_widget;
    }
Esempio n. 3
0
function csm_comment_form()
{
    cs_print_smilies();
}