Ejemplo n.º 1
0
        ks_tags('<img localsrc="77" alt="" /><font size="-1">' . __('Tags') . ':', '</font><br />');
        if (ks_option('ks_separate_comments')) {
            ks_comments_link(NULL, __('No Comments/Pings', 'ktai_style'), __('One Comment/Ping', 'ktai_style'), __('% Comments and Pings', 'ktai_style'));
        } else {
            ks_comments_link();
        }
        ks_comments_post_link(NULL, '<br />');
        edit_post_link('<font color="' . $ks_settings['edit_color'] . '">' . __('Edit post') . '</font>', '<div><img localsrc="104" alt="" />', '</div>');
        ?>
</div>
		<hr color="<?php 
        echo $ks_settings['hr_color'];
        ?>
" />
		<?php 
        ks_previous_post_link('<div align="left"><img localsrc="7" alt="&laquo; ">*.%link</div>');
        ks_next_post_link('<div align="right">#.%link<img localsrc="8" alt=" &raquo;"></div>');
    } else {
        // ks_is_comment()
        echo '<div ' . $ks_settings['h2_style'] . '><h2>' . sprintf(__('Comments for <a href="%1$s"><span style="%2$s">%3$s</span></a>', 'ktai_style'), get_permalink(), $ks_settings['h2_a_color'], get_the_title()) . '</h2></div>';
        comments_template();
    }
} else {
    ?>
	<h2><?php 
    _e('Not Found', 'ktai_style');
    ?>
</h2></div>
	<p><?php 
    _e('Sorry, no posts matched your criteria.');
    ?>
Ejemplo n.º 2
0
        the_time();
        ?>
</div>
		<hr />
		<?php 
        if (ks_option('ks_separate_comments')) {
            ks_comments_link('', __('No Comments/Pings', 'ktai_style'), __('One Comment/Ping', 'ktai_style'), __('% Comments and Pings', 'ktai_style'));
        } else {
            ks_comments_link();
        }
        ks_comments_post_link(NULL, ' ', '', '');
        edit_post_link('<font color="' . $ks_settings['edit_color'] . '">' . __('Edit post') . '</font>', '<br /><img localsrc="112" alt="" />', '');
        ?>
		<hr />
		<div><?php 
        ks_previous_post_link(__('*.Prev:%link', 'ktai_style'));
        ks_next_post_link('<br />' . __('#.Next:%link', 'ktai_style'));
        ?>
</div>
	<?php 
    } else {
        // ks_is_comment()
        $title = '<font color="' . $ks_settings['title_color'] . '">' . get_the_title() . '</font>';
        if (!$post->post_password) {
            echo '[<a href="' . apply_filters('the_permalink', get_permalink()) . '">' . $title . '</a>]<br />';
        } else {
            echo '[' . $title . ']<br />';
            ks_back_to_post('');
        }
        comments_template();
    }