Ticket #21897: 21897.5.diff
File 21897.5.diff, 2.5 KB (added by , 13 years ago) |
---|
-
wp-includes/comment-template.php
1521 1521 $req = get_option( 'require_name_email' ); 1522 1522 $aria_req = ( $req ? " aria-required='true'" : '' ); 1523 1523 $fields = array( 1524 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ).1524 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . 1525 1525 '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>', 1526 'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ).1526 'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . 1527 1527 '<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>', 1528 1528 'url' => '<p class="comment-form-url"><label for="url">' . __( 'Website' ) . '</label>' . 1529 1529 '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>', -
wp-content/themes/twentyeleven/style.css
2123 2123 font-weight: bold; 2124 2124 left: 75%; 2125 2125 position: absolute; 2126 top: 45px;2127 2126 z-index: 1; 2128 2127 } 2129 2128 #respond .comment-notes, -
wp-content/themes/twentytwelve/style.css
1215 1215 #respond form label { 1216 1216 display: block; 1217 1217 line-height: 1.714285714; 1218 position: relative; 1218 1219 } 1219 1220 #respond form input[type="text"], 1220 1221 #respond form textarea { … … 1236 1237 } 1237 1238 .required { 1238 1239 color: red; 1240 position: absolute; 1241 left: -10px; 1239 1242 } 1240 label ~ span.required {1241 display: block;1242 float: left;1243 margin: -18px 0 0 -16px;1244 margin: -1.285714286rem 0 0 -1.142857143rem;1245 }1246 1243 1247 1244 1248 1245 /* =Front page template