Changeset 1502
- Timestamp:
- 04/28/2008 10:46:00 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
bb-admin/admin-functions.php (modified) (2 diffs)
-
bb-admin/style.css (modified) (1 diff)
-
bb-includes/template-functions.php (modified) (2 diffs)
-
bb-templates/kakumei/login.php (modified) (1 diff)
-
bb-templates/kakumei/register.php (modified) (3 diffs)
-
bb-templates/kakumei/search-form.php (modified) (1 diff)
-
bb-templates/kakumei/style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-admin/admin-functions.php
r1404 r1502 396 396 if ( $show_search ) { 397 397 $r .= "<form action='' method='get' id='search'>\n\t<p>"; 398 $r .= "<label class='hidden' for='usersearch'>" . _e('Search:') . "</label>"; 398 399 $r .= "\t\t<input type='text' name='usersearch' id='usersearch' value='" . wp_specialchars( $this->search_term, 1) . "' />\n"; 399 400 $r .= "\t\t<input type='submit' value='" . __('Search for users »') . "' />\n\t</p>\n"; … … 628 629 <fieldset> 629 630 <table><col /><col style="width: 80%" /> 630 <tr><th scope="row">< ?php _e('Forum Name:'); ?></th>631 <tr><th scope="row"><label for="forum-name"><?php _e('Forum Name:'); ?></label></th> 631 632 <td><input type="text" name="forum_name" id="forum-name" value="<?php if ( $forum_id ) echo attribute_escape( get_forum_name( $forum_id ) ); ?>" tabindex="10" class="widefat" /></td> 632 633 </tr> 633 <tr><th scope="row">< ?php _e('Forum Description:'); ?></th>634 <tr><th scope="row"><label for="forum-desc"><?php _e('Forum Description:'); ?></label></th> 634 635 <td><input type="text" name="forum_desc" id="forum-desc" value="<?php if ( $forum_id ) echo attribute_escape( get_forum_description( $forum_id ) ); ?>" tabindex="11" class="widefat" /></td> 635 636 </tr> 636 <tr id="forum-parent-row"><th scope="row">< ?php _e('Forum Parent:'); ?></th>637 <tr id="forum-parent-row"><th scope="row"><label for="forum_parent"><?php _e('Forum Parent:'); ?></label></th> 637 638 <td><?php bb_forum_dropdown( array('cut_branch' => $forum_id, 'id' => 'forum_parent', 'none' => true, 'selected' => $forum_id ? get_forum_parent( $forum_id ) : 0) ); ?></td> 638 639 </tr> 639 <tr id="forum-position-row"><th scope="row">< ?php _e('Position:'); ?></th>640 <tr id="forum-position-row"><th scope="row"><label for="forum-order"><?php _e('Position:'); ?></label></th> 640 641 <td><input type="text" name="forum_order" id="forum-order" value="<?php if ( $forum_id ) echo get_forum_position( $forum_id ); ?>" tabindex="12" maxlength="10" class="widefat" /></td> 641 642 </tr> -
trunk/bb-admin/style.css
r1460 r1502 543 543 background-color: rgb(200, 250, 200) 544 544 } 545 546 .hidden { 547 display: none; 548 } -
trunk/bb-includes/template-functions.php
r1480 r1502 1604 1604 1605 1605 <tr class="<?php echo $class; ?>"> 1606 <th scope="row">< ?php echo $title; ?></th>1606 <th scope="row"><label for="<?php echo $name; ?>"><?php echo $title; ?></label></th> 1607 1607 <td> 1608 1608 <input name="<?php echo $name; ?>" type="<?php echo $type; ?>" id="<?php echo $name; ?>" value="<?php echo $value; ?>" /> … … 1771 1771 <table> 1772 1772 <tr class="<?php echo $class; ?>"> 1773 <th scope="row" rowspan="2">< ?php _e('New password'); ?></th>1773 <th scope="row" rowspan="2"><label for="pass1"><?php _e('New password'); ?></label></th> 1774 1774 <td><input name="pass1" type="password" id="pass1" autocomplete="off" /></td> 1775 1775 </tr> -
trunk/bb-templates/kakumei/login.php
r1169 r1502 10 10 <?php if ( $user_exists ) : ?> 11 11 <tr valign="top"> 12 <th scope="row">< ?php _e('Username:'); ?></th>13 <td><input name="user_login" type="text" value="<?php echo $user_login; ?>" /></td>12 <th scope="row"><label for="user_login"><?php _e('Username:'); ?></label></th> 13 <td><input name="user_login" id="user_login" type="text" value="<?php echo $user_login; ?>" /></td> 14 14 </tr> 15 15 <tr valign="top" class="error"> 16 <th scope="row">< ?php _e('Password:'); ?></th>17 <td><input name="password" type="password" /><br />16 <th scope="row"><label for="password"><?php _e('Password:'); ?></label></th> 17 <td><input name="password" id="password" type="password" /><br /> 18 18 <?php _e('Incorrect password'); ?></td> 19 19 </tr> 20 20 <?php elseif ( isset($_POST['user_login']) ) : ?> 21 21 <tr valign="top" class="error"> 22 <th scope="row">< ?php _e('Username:'); ?></th>23 <td><input name="user_login" type="text" value="<?php echo $user_login; ?>" /><br />22 <th scope="row"><label for="user_login"><?php _e('Username:'); ?></label></th> 23 <td><input name="user_login" id="user_login" type="text" value="<?php echo $user_login; ?>" /><br /> 24 24 <?php _e('This username does not exist.'); ?> <a href="<?php bb_option('uri'); ?>register.php?user=<?php echo $user_login; ?>"><?php _e('Register it?'); ?></a></td> 25 25 </tr> 26 26 <tr valign="top"> 27 <th scope="row">< ?php _e('Password:'); ?></th>28 <td><input name="password" type="password" /></td>27 <th scope="row"><label for="password"><?php _e('Password:'); ?></label></th> 28 <td><input name="password" id="password" type="password" /></td> 29 29 </tr> 30 30 <?php else : ?> 31 31 <tr valign="top" class="error"> 32 <th scope="row">< ?php _e('Username:'); ?></th>33 <td><input name="user_login" type="text" /><br />32 <th scope="row"><label for="user_login"><?php _e('Username:'); ?></label></th> 33 <td><input name="user_login" id="user_login" type="text" /><br /> 34 34 </tr> 35 35 <tr valign="top"> 36 <th scope="row">< ?php _e('Password:'); ?></th>37 <td><input name="password" type="password" /></td>36 <th scope="row"><label for="password"><?php _e('Password:'); ?></label></th> 37 <td><input name="password" id="password" type="password" /></td> 38 38 </tr> 39 39 <?php endif; ?> 40 40 <tr valign="top"> 41 <th scope="row">< ?php _e('Remember me:'); ?></th>41 <th scope="row"><label for="remember"><?php _e('Remember me:'); ?></label></th> 42 42 <td><input name="remember" type="checkbox" id="remember" value="1"<?php echo $remember_checked; ?> /></td> 43 43 </tr> -
trunk/bb-templates/kakumei/register.php
r1290 r1502 13 13 <?php if ( $user_safe === false ) : ?> 14 14 <tr class="error"> 15 <th scope="row">< ?php _e('Username:'); ?></th>15 <th scope="row"><label for="user_login"><?php _e('Username:'); ?></label></th> 16 16 <td><input name="user_login" type="text" id="user_login" size="30" maxlength="30" /><br /> 17 17 <?php _e('Your username was not valid, please try again'); ?></td> … … 19 19 <?php else : ?> 20 20 <tr class="required"> 21 <th scope="row">< sup class="required">*</sup> <?php _e('Username:'); ?></th>21 <th scope="row"><label for="user_login"><sup class="required">*</sup> <?php _e('Username:'); ?></label></th> 22 22 <td><input name="user_login" type="text" id="user_login" size="30" maxlength="30" value="<?php if (!is_bool($user_login)) echo $user_login; ?>" /></td> 23 23 </tr> … … 25 25 <?php if ( is_array($profile_info_keys) ) : foreach ( $profile_info_keys as $key => $label ) : ?> 26 26 <tr<?php if ( $label[0] ) { echo ' class="required"'; $label[1] = '<sup class="required">*</sup> ' . $label[1]; } ?>> 27 <th scope="row">< ?php echo $label[1]; ?>:</th>27 <th scope="row"><label for="<?php echo $key; ?>"><?php echo $label[1]; ?>:</label></th> 28 28 <td><input name="<?php echo $key; ?>" type="text" id="<?php echo $key; ?>" size="30" maxlength="140" value="<?php echo $$key; ?>" /><?php 29 29 if ( $$key === false ) : -
trunk/bb-templates/kakumei/search-form.php
r1420 r1502 1 1 <form action="<?php bb_option('uri'); ?>search.php" method="get"> 2 <input class="text" type="text" size="14" maxlength="100" name="q" /> 2 <label class="hidden" for="q"><?php _e('Search:'); ?></label> 3 <input class="text" type="text" size="14" maxlength="100" name="q" id="q" /> 3 4 <input class="submit" type="submit" value="<?php echo attribute_escape( __('Search »') ); ?>" /> 4 5 </form> -
trunk/bb-templates/kakumei/style.css
r1487 r1502 619 619 border-color: #c6d9e9; 620 620 } 621 622 .hidden { 623 display: none; 624 }
Note: See TracChangeset
for help on using the changeset viewer.