Fix button styling inconsistency on settings pages, props sivel, fixes #7975

git-svn-id: http://svn.automattic.com/wordpress/trunk@9369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-10-27 20:41:05 +00:00
parent a36f3d0ed6
commit 17083f0ce8
22 changed files with 56 additions and 62 deletions

View File

@ -217,27 +217,12 @@ ul#widget-list li.widget-list-item h4.widget-title {
color: #666; color: #666;
} }
.submit input,
#login form .submit input,
div.dashboard-widget-submit input,
#edit-slug-buttons a.save {
background-color: #e5e5e5;
color: #246;
border-color: #80b5d0;
}
.button { .button {
border-color: #DCDCDC; border-color: #DCDCDC;
color: #464646; color: #464646;
text-shadow: #FFF 0 1px 0; text-shadow: #FFF 0 1px 0;
} }
.button-primary {
border-color: #21759B;
color: #FFF;
background: #21759B url(../images/button-grad.png) repeat-x scroll left top;
}
.button-secondary { .button-secondary {
border-color: #CFE1EF; border-color: #CFE1EF;
color: #464646; color: #464646;
@ -249,15 +234,22 @@ div.dashboard-widget-submit input,
background: #f2f2f2 url(../images/white-grad.png) repeat-x scroll left top; background: #f2f2f2 url(../images/white-grad.png) repeat-x scroll left top;
} }
.button-primary {
border-color: #21759B;
color: #FFF;
background: #21759B url(../images/button-grad.png) repeat-x scroll left top;
}
.button[disabled], .button:disabled { .button[disabled], .button:disabled {
background-color: #999; background-color: #999;
} }
.submit input:hover, .button:hover, #edit-slug-buttons a.save:hover { .button:hover,
#edit-slug-buttons a.save:hover {
border-color: #535353; border-color: #535353;
} }
.submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover,
#adminmenu a:hover, #adminmenu ul.wp-submenu a:hover, #the-comment-list .comment a:hover, #adminmenu a:hover, #adminmenu ul.wp-submenu a:hover, #the-comment-list .comment a:hover,
#rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover,
#login form .submit input:hover, div.dashboard-widget-submit input:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover,
@ -266,15 +258,16 @@ div.dashboard-widget-submit input,
color: #d54e21; color: #d54e21;
} }
.button-primary:hover {
border-color: #156079;
}
.button-secondary:hover, .button-secondary:hover,
#login form .submit input:hover { #login form .submit input:hover {
border-color: #328ab2; border-color: #328ab2;
} }
.button-primary:hover {
border-color: #156079;
background-image: inherit;
}
#side-info-column #category-tabs .ui-tabs-selected a { #side-info-column #category-tabs .ui-tabs-selected a {
color: #333; color: #333;
} }

View File

@ -48,7 +48,7 @@ foreach ( $authors as $id ) {
</td> </td>
</tr> </tr>
</table> </table>
<p class="submit"><input type="submit" name="submit" value="<?php _e('Download Export File'); ?>" /> <p class="submit"><input type="submit" name="submit" class="button" value="<?php _e('Download Export File'); ?>" />
<input type="hidden" name="download" value="true" /> <input type="hidden" name="download" value="true" />
</p> </p>
</form> </form>

View File

@ -34,7 +34,7 @@ class BunnyTags_Import {
echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>'; echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>';
echo '<form action="admin.php?import=btt&amp;step=1" method="post">'; echo '<form action="admin.php?import=btt&amp;step=1" method="post">';
wp_nonce_field('import-btt'); wp_nonce_field('import-btt');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Import Tags').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Import Tags').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }
@ -104,7 +104,7 @@ class BunnyTags_Import {
echo '<form action="admin.php?import=btt&amp;step='.($precheck? 2:3).'" method="post">'; echo '<form action="admin.php?import=btt&amp;step='.($precheck? 2:3).'" method="post">';
wp_nonce_field('import-btt'); wp_nonce_field('import-btt');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Next').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Next').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }

View File

@ -214,7 +214,7 @@ class Dotclear_Import {
echo '<form action="admin.php?import=dotclear&amp;step=1" method="post">'; echo '<form action="admin.php?import=dotclear&amp;step=1" method="post">';
wp_nonce_field('import-dotclear'); wp_nonce_field('import-dotclear');
$this->db_form(); $this->db_form();
echo '<p class="submit"><input type="submit" name="submit" value="'.attribute_escape(__('Import Categories')).'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.attribute_escape(__('Import Categories')).'" /></p>';
echo '</form></div>'; echo '</form></div>';
} }
@ -631,7 +631,7 @@ class Dotclear_Import {
echo '<form action="admin.php?import=dotclear&amp;step=2" method="post">'; echo '<form action="admin.php?import=dotclear&amp;step=2" method="post">';
wp_nonce_field('import-dotclear'); wp_nonce_field('import-dotclear');
printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Users'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Import Users')));
echo '</form>'; echo '</form>';
} }
@ -644,7 +644,7 @@ class Dotclear_Import {
echo '<form action="admin.php?import=dotclear&amp;step=3" method="post">'; echo '<form action="admin.php?import=dotclear&amp;step=3" method="post">';
wp_nonce_field('import-dotclear'); wp_nonce_field('import-dotclear');
printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Posts'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Import Posts')));
echo '</form>'; echo '</form>';
} }
@ -658,7 +658,7 @@ class Dotclear_Import {
echo '<form action="admin.php?import=dotclear&amp;step=4" method="post">'; echo '<form action="admin.php?import=dotclear&amp;step=4" method="post">';
wp_nonce_field('import-dotclear'); wp_nonce_field('import-dotclear');
printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Comments'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Import Comments')));
echo '</form>'; echo '</form>';
} }
@ -670,7 +670,7 @@ class Dotclear_Import {
echo '<form action="admin.php?import=dotclear&amp;step=5" method="post">'; echo '<form action="admin.php?import=dotclear&amp;step=5" method="post">';
wp_nonce_field('import-dotclear'); wp_nonce_field('import-dotclear');
printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Links'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Import Links')));
echo '</form>'; echo '</form>';
} }
@ -683,7 +683,7 @@ class Dotclear_Import {
echo '<form action="admin.php?import=dotclear&amp;step=6" method="post">'; echo '<form action="admin.php?import=dotclear&amp;step=6" method="post">';
wp_nonce_field('import-dotclear'); wp_nonce_field('import-dotclear');
printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Finish'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Finish')));
echo '</form>'; echo '</form>';
} }

View File

@ -66,7 +66,7 @@ class GM_Import {
</tr> </tr>
</table> </table>
</p> </p>
<p><input type="submit" name="submit" value="<?php _e('Start Importing') ?>" class="button" /></p> <p class="submit"><input type="submit" name="submit" class="button" value="<?php _e('Start Importing') ?>" /></p>
</form> </form>
<?php <?php
$this->footer(); $this->footer();

View File

@ -119,7 +119,7 @@ class JeromesKeyword_Import {
echo '<form action="admin.php?import=jkw&amp;step='.($precheck? 2:6).'" method="post">'; echo '<form action="admin.php?import=jkw&amp;step='.($precheck? 2:6).'" method="post">';
wp_nonce_field('import-jkw'); wp_nonce_field('import-jkw');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Next').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Next').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }
@ -152,7 +152,7 @@ class JeromesKeyword_Import {
} }
echo '<form action="admin.php?import=jkw&amp;step='.($precheck? 4:5).'" method="post">'; echo '<form action="admin.php?import=jkw&amp;step='.($precheck? 4:5).'" method="post">';
wp_nonce_field('import-jkw'); wp_nonce_field('import-jkw');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Next').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Next').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }

View File

@ -45,7 +45,7 @@ class MT_Import {
<input type="hidden" name="upload_type" value="ftp" /> <input type="hidden" name="upload_type" value="ftp" />
<?php _e('Or use <code>mt-export.txt</code> in your <code>/wp-content/</code> directory'); ?></p> <?php _e('Or use <code>mt-export.txt</code> in your <code>/wp-content/</code> directory'); ?></p>
<p class="submit"> <p class="submit">
<input type="submit" value="<?php echo attribute_escape(__('Import mt-export.txt')); ?>" /> <input type="submit" class="button" value="<?php echo attribute_escape(__('Import mt-export.txt')); ?>" />
</p> </p>
</form> </form>
<p><?php _e('The importer is smart enough not to import duplicates, so you can run this multiple times without worry if&#8212;for whatever reason&#8212;it doesn\'t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p> <p><?php _e('The importer is smart enough not to import duplicates, so you can run this multiple times without worry if&#8212;for whatever reason&#8212;it doesn\'t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p>
@ -211,7 +211,7 @@ class MT_Import {
echo '</label></li>'; echo '</label></li>';
} }
echo '<input type="submit" value="'.__('Submit').'">'.'<br />'; echo '<p class="submit"><input type="submit" class="button" value="'.__('Submit').'"></p>'.'<br />';
echo '</form>'; echo '</form>';
echo '</ol></div>'; echo '</ol></div>';

View File

@ -32,7 +32,7 @@ class STP_Import {
echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>'; echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>';
echo '<form action="admin.php?import=stp&amp;step=1" method="post">'; echo '<form action="admin.php?import=stp&amp;step=1" method="post">';
wp_nonce_field('import-stp'); wp_nonce_field('import-stp');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 1').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 1').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }
@ -92,7 +92,7 @@ class STP_Import {
echo '<form action="admin.php?import=stp&amp;step=2" method="post">'; echo '<form action="admin.php?import=stp&amp;step=2" method="post">';
wp_nonce_field('import-stp'); wp_nonce_field('import-stp');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 2').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 2').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }
@ -108,7 +108,7 @@ class STP_Import {
echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag was added!', 'Done! <strong>%s</strong> tags were added!', $tags_added), $tags_added ) . '<br /></p>'; echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag was added!', 'Done! <strong>%s</strong> tags were added!', $tags_added), $tags_added ) . '<br /></p>';
echo '<form action="admin.php?import=stp&amp;step=3" method="post">'; echo '<form action="admin.php?import=stp&amp;step=3" method="post">';
wp_nonce_field('import-stp'); wp_nonce_field('import-stp');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 3').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }

View File

@ -69,7 +69,7 @@ class Textpattern_Import {
echo '<form action="admin.php?import=textpattern&amp;step=1" method="post">'; echo '<form action="admin.php?import=textpattern&amp;step=1" method="post">';
wp_nonce_field('import-textpattern'); wp_nonce_field('import-textpattern');
$this->db_form(); $this->db_form();
echo '<p class="submit"><input type="submit" class="button" name="submit" value="'.attribute_escape(__('Import')).'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.attribute_escape(__('Import')).'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }
@ -504,7 +504,7 @@ class Textpattern_Import {
echo '<form action="admin.php?import=textpattern&amp;step=2" method="post">'; echo '<form action="admin.php?import=textpattern&amp;step=2" method="post">';
wp_nonce_field('import-textpattern'); wp_nonce_field('import-textpattern');
printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Users'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Import Users')));
echo '</form>'; echo '</form>';
} }
@ -517,7 +517,7 @@ class Textpattern_Import {
echo '<form action="admin.php?import=textpattern&amp;step=3" method="post">'; echo '<form action="admin.php?import=textpattern&amp;step=3" method="post">';
wp_nonce_field('import-textpattern'); wp_nonce_field('import-textpattern');
printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Posts'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Import Posts')));
echo '</form>'; echo '</form>';
} }
@ -531,7 +531,7 @@ class Textpattern_Import {
echo '<form action="admin.php?import=textpattern&amp;step=4" method="post">'; echo '<form action="admin.php?import=textpattern&amp;step=4" method="post">';
wp_nonce_field('import-textpattern'); wp_nonce_field('import-textpattern');
printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Comments'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Import Comments')));
echo '</form>'; echo '</form>';
} }
@ -543,7 +543,7 @@ class Textpattern_Import {
echo '<form action="admin.php?import=textpattern&amp;step=5" method="post">'; echo '<form action="admin.php?import=textpattern&amp;step=5" method="post">';
wp_nonce_field('import-textpattern'); wp_nonce_field('import-textpattern');
printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Links'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Import Links')));
echo '</form>'; echo '</form>';
} }
@ -556,7 +556,7 @@ class Textpattern_Import {
echo '<form action="admin.php?import=textpattern&amp;step=6" method="post">'; echo '<form action="admin.php?import=textpattern&amp;step=6" method="post">';
wp_nonce_field('import-textpattern'); wp_nonce_field('import-textpattern');
printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Finish'))); printf('<p class="submit"><input type="submit" name="submit" class="button" value="%s" /></p>', attribute_escape(__('Finish')));
echo '</form>'; echo '</form>';
} }

View File

@ -32,7 +32,7 @@ class UTW_Import {
echo '<p>'.__('To accommodate larger databases for those tag-crazy authors out there, we have made this into an easy 5-step program to help you kick that nasty UTW habit. Just keep clicking along and we will let you know when you are in the clear!').'</p>'; echo '<p>'.__('To accommodate larger databases for those tag-crazy authors out there, we have made this into an easy 5-step program to help you kick that nasty UTW habit. Just keep clicking along and we will let you know when you are in the clear!').'</p>';
echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>'; echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>';
echo '<form action="admin.php?import=utw&amp;step=1" method="post">'; echo '<form action="admin.php?import=utw&amp;step=1" method="post">';
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 1').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 1').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }
@ -119,7 +119,7 @@ class UTW_Import {
echo '<form action="admin.php?import=utw&amp;step=2" method="post">'; echo '<form action="admin.php?import=utw&amp;step=2" method="post">';
wp_nonce_field('import-utw'); wp_nonce_field('import-utw');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 2').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 2').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
} }
@ -155,7 +155,7 @@ class UTW_Import {
echo '<form action="admin.php?import=utw&amp;step=3" method="post">'; echo '<form action="admin.php?import=utw&amp;step=3" method="post">';
wp_nonce_field('import-utw'); wp_nonce_field('import-utw');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 3').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';
@ -174,7 +174,7 @@ class UTW_Import {
echo '<form action="admin.php?import=utw&amp;step=4" method="post">'; echo '<form action="admin.php?import=utw&amp;step=4" method="post">';
wp_nonce_field('import-utw'); wp_nonce_field('import-utw');
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 4').'" /></p>'; echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Step 4').'" /></p>';
echo '</form>'; echo '</form>';
echo '</div>'; echo '</div>';

View File

@ -221,7 +221,7 @@ echo apply_filters('default_avatar_select', $avatar_list);
<?php do_settings_sections('discussion'); ?> <?php do_settings_sections('discussion'); ?>
<p class="submit"> <p class="submit">
<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" /> <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p> </p>
</form> </form>
</div> </div>

View File

@ -207,7 +207,7 @@ endfor;
<?php do_settings_sections('general'); ?> <?php do_settings_sections('general'); ?>
<p class="submit"> <p class="submit">
<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" /> <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p> </p>
</form> </form>

View File

@ -122,7 +122,7 @@ include('admin-header.php');
<?php do_settings_sections('media'); ?> <?php do_settings_sections('media'); ?>
<p class="submit"> <p class="submit">
<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" /> <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p> </p>
</form> </form>

View File

@ -76,7 +76,7 @@ include('admin-header.php');
<?php do_settings_sections('misc'); ?> <?php do_settings_sections('misc'); ?>
<p class="submit"> <p class="submit">
<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" class="button" /> <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p> </p>
</form> </form>

View File

@ -199,7 +199,7 @@ $structures = array(
<?php do_settings_sections('permalink'); ?> <?php do_settings_sections('permalink'); ?>
<p class="submit"> <p class="submit">
<input type="submit" name="submit" class="button" value="<?php _e('Save Changes') ?>" /> <input type="submit" name="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p> </p>
</form> </form>
<?php if ( $permalink_structure && !$usingpi && !$writable ) : ?> <?php if ( $permalink_structure && !$usingpi && !$writable ) : ?>

View File

@ -40,7 +40,7 @@ include('./admin-header.php');
<?php do_settings_sections('privacy'); ?> <?php do_settings_sections('privacy'); ?>
<p class="submit"> <p class="submit">
<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" /> <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p> </p>
</form> </form>

View File

@ -78,7 +78,7 @@ include('admin-header.php');
<?php do_settings_fields('reading', 'default'); ?> <?php do_settings_fields('reading', 'default'); ?>
</table> </table>
<p class="submit"> <p class="submit">
<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" /> <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p> </p>
</form> </form>
</div> </div>

View File

@ -149,7 +149,7 @@ endforeach;
<?php do_settings_sections('writing'); ?> <?php do_settings_sections('writing'); ?>
<p class="submit"> <p class="submit">
<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" /> <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p> </p>
</form> </form>
</div> </div>

View File

@ -181,7 +181,7 @@ if ($allowed_files) :
<?php if ( is_writeable($real_file) ) : ?> <?php if ( is_writeable($real_file) ) : ?>
<p class="submit"> <p class="submit">
<?php <?php
echo "<input type='submit' name='submit' value='" . __('Update File') . "' tabindex='2' />"; echo "<input type='submit' name='submit' class='button' value='" . __('Update File') . "' tabindex='2' />";
?> ?>
</p> </p>
<?php else : ?> <?php else : ?>

View File

@ -390,7 +390,7 @@ if ( $show_password_fields ) :
<p class="submit"> <p class="submit">
<input type="hidden" name="action" value="update" /> <input type="hidden" name="action" value="update" />
<input type="hidden" name="user_id" id="user_id" value="<?php echo $user_id; ?>" /> <input type="hidden" name="user_id" id="user_id" value="<?php echo $user_id; ?>" />
<input type="submit" value="<?php $is_profile_page? _e('Update Profile') : _e('Update User') ?>" name="submit" /> <input type="submit" class="button" value="<?php $is_profile_page? _e('Update Profile') : _e('Update User') ?>" name="submit" />
</p> </p>
</form> </form>
</div> </div>

View File

@ -474,7 +474,7 @@ foreach ( $wp_user_search->get_results() as $userid ) {
</table> </table>
<p class="submit"> <p class="submit">
<?php echo $referer; ?> <?php echo $referer; ?>
<input name="adduser" type="submit" id="addusersub" value="<?php _e('Add User') ?>" /> <input name="adduser" type="submit" id="addusersub" class="button" value="<?php _e('Add User') ?>" />
</p> </p>
</form> </form>

View File

@ -305,7 +305,7 @@ require_once( 'admin-header.php' ); ?>
<p class="submit"> <p class="submit">
<input type="hidden" id='sidebar' name='sidebar' value="<?php echo $sidebar; ?>" /> <input type="hidden" id='sidebar' name='sidebar' value="<?php echo $sidebar; ?>" />
<input type="hidden" id="generated-time" name="generated-time" value="<?php echo time() - 1199145600; // Jan 1, 2008 ?>" /> <input type="hidden" id="generated-time" name="generated-time" value="<?php echo time() - 1199145600; // Jan 1, 2008 ?>" />
<input type="submit" name="save-widgets" value="<?php _e( 'Save Changes' ); ?>" /> <input type="submit" name="save-widgets" class="button" value="<?php _e( 'Save Changes' ); ?>" />
<?php <?php
wp_nonce_field( 'edit-sidebar_' . $sidebar ); wp_nonce_field( 'edit-sidebar_' . $sidebar );
?> ?>
@ -321,3 +321,4 @@ require_once( 'admin-header.php' ); ?>
<?php require_once( 'admin-footer.php' ); ?> <?php require_once( 'admin-footer.php' ); ?>