git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@83 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
cde051fb78
commit
8792c768f3
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
// Do not delete these lines
|
||||
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
|
||||
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'home-comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
|
||||
die('Please do not load this page directly. Thanks!');
|
||||
|
||||
if (post_password_required()) {
|
||||
@ -73,7 +73,7 @@ $count = 1;
|
||||
<?php if(get_option('comment_registration') && !$user_ID) : ?>
|
||||
<p><?php _e('You must be logged in to post a comment.', 'gp_lang'); ?></p>
|
||||
<?php else : ?>
|
||||
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
|
||||
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform" class="commentform">
|
||||
<?php if ( is_user_logged_in() ) : ?>
|
||||
|
||||
<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php esc_attr_e('Log out of this account'); ?>"><?php _e('Log out »'); ?></a></p>
|
||||
@ -93,7 +93,7 @@ $count = 1;
|
||||
|
||||
<p><textarea name="comment" id="comment" cols="58" rows="5" tabindex="4"></textarea></p>
|
||||
|
||||
<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php esc_attr_e('Submit Comment'); ?>" />
|
||||
<p><input name="submit" type="button" class="submit" id="submit" tabindex="5" value="<?php esc_attr_e('Submit Comment'); ?>" />
|
||||
<?php comment_id_fields(); ?>
|
||||
</p>
|
||||
<?php do_action('comment_form', $post->ID); ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user