Ticket #1324: i18n_and_language_fixes.patch
| File i18n_and_language_fixes.patch, 1.2 KB (added by , 15 years ago) |
|---|
-
bb-admin/includes/functions.bb-admin.php
603 603 $r .= "<div>\n"; 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 ) { 609 609 $selected = ''; -
bb-post.php
18 18 if ( !$post_author = sanitize_user( trim( $_POST['author'] ) ) ) 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!' ) ); 22 22 23 23 if ( !empty( $_POST['url'] ) ) 24 24 $post_url = esc_url( trim( $_POST['url'] ) );