Changeset 2531
- Timestamp:
- 08/26/2010 05:22:51 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
bb-admin/includes/functions.bb-admin.php (modified) (2 diffs)
-
bb-includes/class.bb-query.php (modified) (2 diffs)
-
bb-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-admin/includes/functions.bb-admin.php
r2428 r2531 604 604 $r .= "\t\t<label for='userrole'>" . __('Role') . "</label>"; 605 605 $r .= "\t\t<div><select name='userrole[]' id='userrole'>\n"; 606 $r .= "\t\t\t<option value=''> All</option>\n";606 $r .= "\t\t\t<option value=''>" . _x( 'All', 'user roles' ) . "</option>\n"; 607 607 608 608 foreach ( $roles as $role => $display ) { … … 980 980 } 981 981 ?> 982 <fieldset class="submit">982 <fieldset class="submit"> 983 983 <?php if ( $forum_id ) : ?> 984 <input type="hidden" name="forum_id" value="<?php echo $forum_id; ?>" />984 <input type="hidden" name="forum_id" value="<?php echo $forum_id; ?>" /> 985 985 <?php endif; ?> 986 <?php bb_nonce_field( 'order-forums', 'order-nonce' ); ?> 987 <?php bb_nonce_field( $action . '-forum' ); ?> 988 <input type="hidden" name="action" value="<?php echo $action; ?>" /> 989 <input class="submit" type="submit" name="submit" value="<?php echo $submit; ?>" /> 986 <?php bb_nonce_field( 'order-forums', 'order-nonce' ); ?> 987 <?php bb_nonce_field( $action . '-forum' ); ?> 988 <input type="hidden" name="action" value="<?php echo $action; ?>" /> 989 <input class="submit" type="submit" name="submit" value="<?php echo $submit; ?>" /> 990 </fieldset> 990 991 </fieldset> 991 992 </form> -
trunk/bb-includes/class.bb-query.php
r2525 r2531 958 958 } 959 959 960 $stati = apply_filters( 'bb_query_form_post_status', array( 'all' => _ _('All'), '0' => __('Normal'), '1' => __('Deleted') ), $this->type );960 $stati = apply_filters( 'bb_query_form_post_status', array( 'all' => _x( 'All', 'post status' ), '0' => __('Normal'), '1' => __('Deleted') ), $this->type ); 961 961 962 962 if ( $topic_status ) { … … 991 991 $r .= "\t<div><label for=\"topic-open\">" . __('Open?') . "</label>\n"; 992 992 $r .= "\t\t<div><select name='open' id='topic-open'>\n"; 993 foreach ( array( 'all' => _ _('All'), '1' => _x( 'Open', 'posting status' ), '0' => __('Closed') ) as $status => $label ) {993 foreach ( array( 'all' => _x( 'All', 'posting status' ), '1' => _x( 'Open', 'posting status' ), '0' => __('Closed') ) as $status => $label ) { 994 994 $label = esc_html( $label ); 995 995 $selected = (string) $status == (string) $q_open ? " selected='selected'" : ''; -
trunk/bb-post.php
r2511 r2531 19 19 bb_die( __( 'You need to submit your name!' ) ); 20 20 elseif ( !$post_email = sanitize_email( trim( $_POST['email'] ) ) ) 21 bb_die( __( 'You need to submit a valid email id!' ) );21 bb_die( __( 'You need to submit a valid email address!' ) ); 22 22 23 23 if ( !empty( $_POST['url'] ) )
Note: See TracChangeset
for help on using the changeset viewer.