| 1217 | | $label = 'pwbox-'.(empty($post->ID) ? rand() : $post->ID); |
| 1218 | | $output = '<form action="' . get_option('siteurl') . '/wp-pass.php" method="post"> |
| 1219 | | <p>' . __("This post is password protected. To view it please enter your password below:") . '</p> |
| 1220 | | <p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__("Submit") . '" /></p> |
| | 1217 | $label = 'pwbox-' . ( empty( $post->ID ) ? rand() : $post->ID ); |
| | 1218 | $output = '<form class="post-password-form" action="' . get_option( 'siteurl' ) . '/wp-pass.php" method="post"> |
| | 1219 | <p>' . __( 'This post is password protected. To view it please enter your password below:' ) . '</p> |
| | 1220 | <p><label for="' . $label . '">' . __( 'Password:' ) . ' <input class="post-password-input" name="post_password" id="' . $label . '" type="password" size="20" /></label> <input class="post-password-submit" type="submit" name="Submit" value="' . esc_attr__( 'Submit' ) . '" /></p> |