Ticket #5940: 5940.diff
| File 5940.diff, 34.8 KB (added by , 19 years ago) |
|---|
-
wp-content/themes/default/functions.php
157 157 kUpdate(ColorPicker_targetInput.id); 158 158 } 159 159 function PopupWindow_populate(contents) { 160 contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" value="<?php echo attribute_escape(__('Close Color Picker')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>';160 contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Close Color Picker')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>'; 161 161 this.contents = contents; 162 162 this.populated = false; 163 163 } … … 386 386 <div id="jsForm"> 387 387 <form style="display:inline;" method="post" name="hicolor" id="hicolor" action="<?php echo attribute_escape($_SERVER['REQUEST_URI']); ?>"> 388 388 <?php wp_nonce_field('kubrick-header'); ?> 389 <input type="button" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color')); ?>"></input>390 <input type="button" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color')); ?>"></input>391 <input type="button" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color')); ?>"></input>392 <input type="button" name="revert" value="<?php echo attribute_escape(__('Revert')); ?>" onclick="kRevert()" />393 <input type="button" value="<?php echo attribute_escape(__('Advanced')); ?>" onclick="toggleAdvanced()" />389 <input type="button" class="button-secondary" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color')); ?>"></input> 390 <input type="button" class="button-secondary" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color')); ?>"></input> 391 <input type="button" class="button-secondary" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color')); ?>"></input> 392 <input type="button" class="button-secondary" name="revert" value="<?php echo attribute_escape(__('Revert')); ?>" onclick="kRevert()" /> 393 <input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Advanced')); ?>" onclick="toggleAdvanced()" /> 394 394 <input type="hidden" name="action" value="save" /> 395 395 <input type="hidden" name="fontdisplay" id="fontdisplay" value="<?php echo attribute_escape(kubrick_header_display()); ?>" /> 396 396 <input type="hidden" name="fontcolor" id="fontcolor" value="<?php echo attribute_escape(kubrick_header_color()); ?>" /> 397 397 <input type="hidden" name="uppercolor" id="uppercolor" value="<?php echo attribute_escape(kubrick_upper_color()); ?>" /> 398 398 <input type="hidden" name="lowercolor" id="lowercolor" value="<?php echo attribute_escape(kubrick_lower_color()); ?>" /> 399 399 <input type="hidden" name="headerimage" id="headerimage" value="<?php echo attribute_escape(kubrick_header_image()); ?>" /> 400 <p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header »')); ?>" onclick="cp.hidePopup('prettyplease')" /></p>400 <p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header')); ?>" onclick="cp.hidePopup('prettyplease')" /></p> 401 401 </form> 402 402 <div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;"> </div> 403 403 <div id="advanced"> … … 406 406 <label for="advfontcolor"><?php _e('Font Color (CSS):'); ?> </label><input type="text" id="advfontcolor" onchange="advUpdate(this.value, 'fontcolor')" value="<?php echo attribute_escape(kubrick_header_color()); ?>" /><br /> 407 407 <label for="advuppercolor"><?php _e('Upper Color (HEX):');?> </label><input type="text" id="advuppercolor" onchange="advUpdate(this.value, 'uppercolor')" value="#<?php echo attribute_escape(kubrick_upper_color()); ?>" /><br /> 408 408 <label for="advlowercolor"><?php _e('Lower Color (HEX):'); ?> </label><input type="text" id="advlowercolor" onchange="advUpdate(this.value, 'lowercolor')" value="#<?php echo attribute_escape(kubrick_lower_color()); ?>" /><br /> 409 <input type="button" name="default" value="<?php echo attribute_escape(__('Select Default Colors')); ?>" onclick="kDefaults()" /><br />410 <input type="button" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display')); ?>"></input><br />409 <input type="button" class="button-secondary" name="default" value="<?php echo attribute_escape(__('Select Default Colors')); ?>" onclick="kDefaults()" /><br /> 410 <input type="button" class="button-secondary" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display')); ?>"></input><br /> 411 411 </form> 412 412 </div> 413 413 </div> -
wp-admin/users.php
149 149 <?php echo '<label for="delete_option1">'.__('Attribute all posts and links to:')."</label> $user_dropdown"; ?></li> 150 150 </ul> 151 151 <input type="hidden" name="action" value="dodelete" /> 152 <p class="submit"><input type="submit" name="submit" value="<?php _e('Confirm Deletion'); ?>" class="button " /></p>152 <p class="submit"><input type="submit" name="submit" value="<?php _e('Confirm Deletion'); ?>" class="button-secondary" /></p> 153 153 <?php else : ?> 154 154 <p><?php _e('There are no valid users selected for deletion.'); ?></p> 155 155 <?php endif; ?> … … 293 293 <?php endif; ?> 294 294 295 295 <div style="float: left"> 296 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button " />296 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" /> 297 297 <?php wp_nonce_field('bulk-users'); ?> 298 298 </div> 299 299 -
wp-admin/edit-link-categories.php
82 82 ?> 83 83 84 84 <div style="float: left"> 85 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button " />85 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" /> 86 86 <?php wp_nonce_field('bulk-link-categories'); ?> 87 87 </div> 88 88 -
wp-admin/wp-admin.css
17 17 font-size: 16px; 18 18 } 19 19 20 #import-upload-form {21 margin: auto;22 background: #eee;23 padding: 1em;24 }25 26 20 .form-invalid { 27 21 background-color: #FF9999 !important; 28 22 } … … 131 125 margin: 1.5em 0; 132 126 } 133 127 134 .submit input, . submit input:focus, .button, .button:focus{128 .submit input, .button, .button-secondary { 135 129 font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 136 color: #246;137 130 padding: 4px 6px; 138 background: #e5e5e5;139 131 border: none; 132 font-size: 13px; 140 133 -moz-border-radius: 2px; 141 134 -khtml-border-radius: 2px; 142 135 -webkit-border-radius: 2px; 143 136 border-radius: 2px; 137 color: #246; 138 background: #e5e5e5; 144 139 } 145 140 146 .submit input:hover, .button:hover { 141 .button-secondary { 142 background: #cee1ef; 143 } 144 145 .submit input:hover, .button:hover, .button-secondary:hover { 147 146 color: #d54e21; 148 147 } 149 148 … … 154 153 padding: none; 155 154 } 156 155 157 .editform th, #postcustomsubmit {158 text-align: right;159 }160 161 156 .submit a{ 162 157 color: #fff; 163 158 } … … 511 506 margin: 0 6px; 512 507 } 513 508 514 .tablenav .button,515 div.nav .button,516 .niceblue tr .button {517 padding: 4px 6px;518 background: #cee1ef;519 }520 521 509 .tablenav .dots { 522 510 background-color: #e4f2fd; 523 511 border-color: #e4f2fd; … … 604 592 #user_info { 605 593 position: absolute; 606 594 right: 15%; 607 top: 9px;595 top: 11px; 608 596 color: #ccc; 609 font-size: 1 2px;597 font-size: 11px; 610 598 } 611 599 612 600 #user_info p { … … 618 606 color: #fff; 619 607 } 620 608 609 #user_info a:hover { 610 text-decoration: underline; 611 } 612 621 613 #wphead { 622 614 border-top: 30px solid #464646; 623 615 background: #e4f2fd; … … 646 638 #wphead h1 { 647 639 font: normal 36px Georgia, "Times New Roman", Times, serif; 648 640 color: #555; 649 padding: 1 5px 170px 18px 15px;641 padding: 11px 170px 16px 12px; 650 642 margin: 0; 651 643 margin-right: 15%; 652 644 } … … 657 649 margin: 0; 658 650 list-style: none; 659 651 position: absolute; 660 top: 5px;652 top: 7px; 661 653 left: 0; 662 font-size: 1 2px;663 padding-left: 12px;654 font-size: 11px; 655 padding-left: 9px; 664 656 } 665 657 666 658 #dashmenu a { … … 670 662 margin-right: 8px; 671 663 } 672 664 673 #dashmenu a :hover, #dashmenu a.current, #dashmenu a.current:hover{665 #dashmenu a.current { 674 666 background: #e4f2fd; 675 667 color: #555; 676 668 -moz-border-radius-topleft: 3px; … … 683 675 border-top-right-radius: 3px; 684 676 } 685 677 678 #dashmenu a:hover { 679 color: #fff; 680 } 681 682 #dashmenu a.current:hover { 683 color: #555; 684 } 685 686 686 #adminmenu { 687 687 margin: 0; 688 688 list-style: none; 689 689 background-color: #e4f2fd; 690 690 border-bottom: 1px solid #c6d9e9; 691 padding-left: 1 5px;691 padding-left: 11px; 692 692 } 693 693 694 694 /* Because we don't want visited on these links */ … … 698 698 699 699 #adminmenu a { 700 700 font-size: 16px; 701 padding: 6px 7px 6px 7px;702 line-height: 200%;701 padding: 6px 7px; 702 line-height: 195%; 703 703 } 704 704 705 #adminmenu a :hover, #adminmenu a.current, #adminmenu a.current:hover{705 #adminmenu a.current { 706 706 background: #fff; 707 707 color: #d54e21; 708 708 border: 1px solid #c6d9e9; 709 font-weight: bold; 709 border-bottom: 2px solid #fff; 710 font-weight: normal; 710 711 padding: 6px; 711 712 -moz-border-radius-topleft: 4px; 712 713 -khtml-border-top-left-radius: 4px; … … 719 720 } 720 721 721 722 #adminmenu a:hover { 722 border-bottom: 0; 723 font-weight: normal; 723 color: #d54e21; 724 724 } 725 725 726 #adminmenu a.current, #adminmenu a.current:hover {727 border-bottom: 2px solid #fff;728 }729 730 726 #sidemenu { 731 margin: 0 ;727 margin: 0 -3px 0 0; 732 728 color: #999; 733 729 list-style: none; 734 730 position: absolute; … … 758 754 759 755 #adminmenu li a #awaiting-mod { 760 756 position: absolute; 761 margin-left: -1.2em; 762 margin-top: -0.2em; 757 margin-left: -0.2em; 763 758 font-size: 0.7em; 764 759 background-image: url(images/comment-stalk.gif); 765 760 background-repeat: no-repeat; … … 839 834 #submenu { 840 835 margin: 0; 841 836 list-style: none; 842 padding: 12px 0 15px 0;837 padding: 7px 0 15px 0; 843 838 } 844 839 845 840 #submenu a { … … 867 862 min-height: 100%; 868 863 } 869 864 #wpcontent{ 870 padding-bottom: 65px;865 padding-bottom: 95px; 871 866 } 872 867 #footer { 873 868 clear: both; … … 877 872 background: #464646 url('images/logo-ghost.png') no-repeat 20px 10px; 878 873 color: #999; 879 874 position: relative; 880 //margin-top: -75px;875 margin-top: -75px; 881 876 } 882 877 883 878 #footer a { … … 1002 997 border-bottom: 1px solid #ccc; 1003 998 padding: 2px; 1004 999 margin-bottom: 10px; 1005 }1006 1007 #poststuff .postarea {1008 1000 margin-right: 8px; 1009 1001 } 1010 1002 -
wp-admin/includes/template.php
945 945 <input type="hidden" name="max_file_size" value="<?php echo $bytes; ?>" /> 946 946 </p> 947 947 <p class="submit"> 948 <input type="submit" value="<?php _e( 'Upload file and import' ); ?>" />948 <input type="submit" class="button" value="<?php _e( 'Upload file and import' ); ?>" /> 949 949 </p> 950 950 </form> 951 951 <?php -
wp-admin/edit-tags.php
144 144 ?> 145 145 146 146 <div style="float: left"> 147 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button " />147 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" /> 148 148 <?php wp_nonce_field('bulk-tags'); ?> 149 149 </div> 150 150 -
wp-admin/edit-page-form.php
120 120 </div> 121 121 122 122 <p class="submit"> 123 <input type="submit" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />123 <input type="submit" name="save" class="button" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" /> 124 124 <?php 125 125 if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) { 126 126 ?> 127 127 <?php if ( current_user_can('publish_pages') ) : ?> 128 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />128 <input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" /> 129 129 <?php else : ?> 130 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />130 <input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" /> 131 131 <?php endif; ?> 132 132 <?php 133 133 } -
wp-admin/edit-link-form.php
74 74 </div> 75 75 76 76 <p class="submit"> 77 <input type="submit" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />77 <input type="submit" class="button" name="save" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" /> 78 78 </p> 79 79 <?php do_action('submitlink_box'); ?> 80 80 </div> -
wp-admin/upload.php
138 138 ?> 139 139 140 140 <div style="float: left"> 141 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button " />141 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" /> 142 142 <?php wp_nonce_field('bulk-media'); ?> 143 143 <?php 144 144 … … 170 170 </select> 171 171 <?php } ?> 172 172 173 <input type="submit" id="post-query-submit" value="<?php _e('Filter »'); ?>" class="button " />173 <input type="submit" id="post-query-submit" value="<?php _e('Filter »'); ?>" class="button-secondary" /> 174 174 175 175 </div> 176 176 -
wp-admin/import/wp-cat2tag.php
68 68 </script> 69 69 <?php 70 70 echo '<form name="formlist" id="formlist" action="admin.php?import=wp-cat2tag&step=2" method="post"> 71 <p><input type="button" value="' . __('Check All') . '"' . ' onClick="this.value=check_all_rows()"></p>';71 <p><input type="button" class="button-secondary" value="' . __('Check All') . '"' . ' onClick="this.value=check_all_rows()"></p>'; 72 72 wp_nonce_field('import-cat2tag'); 73 73 echo '<ul style="list-style:none">'; 74 74 … … 90 90 91 91 echo '</ul>'; 92 92 93 echo '<p class="submit"><input type="submit" name="submit" value="' . __('Convert Tags') . '" /></p>';93 echo '<p class="submit"><input type="submit" name="submit" class="button" value="' . __('Convert Tags') . '" /></p>'; 94 94 95 95 echo '</form>'; 96 96 } -
wp-admin/import/jkw.php
20 20 echo '<p><strong>'.__('Don’t be stupid - backup your database before proceeding!').'</strong></p>'; 21 21 echo '<form action="admin.php?import=jkw&step=1" method="post">'; 22 22 wp_nonce_field('import-jkw'); 23 echo '<p class="submit"><input type="submit" name="submit" value="'.__('Import Version 1.x').'" /></p>';23 echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Import Version 1.x').'" /></p>'; 24 24 echo '</form>'; 25 25 echo '<form action="admin.php?import=jkw&step=3" method="post">'; 26 26 wp_nonce_field('import-jkw'); 27 echo '<p class="submit"><input type="submit" name="submit" value="'.__('Import Version 2.0a').'" /></p>';27 echo '<p class="submit"><input type="submit" name="submit" class="button" value="'.__('Import Version 2.0a').'" /></p>'; 28 28 echo '</form>'; 29 29 echo '</div>'; 30 30 } -
wp-admin/import/dotclear.php
640 640 641 641 function db_form() 642 642 { 643 echo '<table class=" editform">';643 echo '<table class="niceblue">'; 644 644 printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('DotClear Database User:')); 645 645 printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:')); 646 646 printf('<tr><th><label for="dbname">%s</label></th><td><input type="text" name="dbname" id="dbname" /></td></tr>', __('DotClear Database Name:')); -
wp-admin/import/blogger.php
20 20 <div class='wrap'><h2>$title</h2><p>$welcome</p><p>$prereqs</p><p>$stepone</p> 21 21 <form action='$auth_url' method='get'> 22 22 <p class='submit' style='text-align:left;'> 23 <input type='submit' value='$auth' />23 <input type='submit' class='button' value='$auth' /> 24 24 <input type='hidden' name='scope' value='http://www.blogger.com/feeds/' /> 25 25 <input type='hidden' name='session' value='1' /> 26 26 <input type='hidden' name='secure' value='0' /> … … 178 178 $init .= "blogs[$i]=new blog($i,'$blogtitle','{$blog['mode']}'," . $this->get_js_status($i) . ');'; 179 179 $pstat = "<div class='ind' id='pind$i'> </div><div id='pstat$i' class='stat'>$pdone/{$blog['total_posts']}</div>"; 180 180 $cstat = "<div class='ind' id='cind$i'> </div><div id='cstat$i' class='stat'>$cdone/{$blog['total_comments']}</div>"; 181 $rows .= "<tr id='blog$i'><td class='blogtitle'>$blogtitle</td><td class='bloghost'>{$blog['host']}</td><td class='bar'>$pstat</td><td class='bar'>$cstat</td><td class='submit'><input type='submit' id='submit$i' value='$value' /><input type='hidden' name='blog' value='$i' /></td></tr>\n";181 $rows .= "<tr id='blog$i'><td class='blogtitle'>$blogtitle</td><td class='bloghost'>{$blog['host']}</td><td class='bar'>$pstat</td><td class='bar'>$cstat</td><td class='submit'><input type='submit' class='button' id='submit$i' value='$value' /><input type='hidden' name='blog' value='$i' /></td></tr>\n"; 182 182 } 183 183 184 184 echo "<div class='wrap'><h2>$title</h2><noscript>$noscript</noscript><table cellpadding='5px'><thead><td>$name</td><td>$url</td><td>$posts</td><td>$comments</td><td>$action</td></thead>\n$rows</table></form></div>"; … … 618 618 foreach ( $blog['authors'] as $i => $author ) 619 619 $rows .= "<tr><td><label for='authors[$i]'>{$author[0]}</label></td><td><select name='authors[$i]' id='authors[$i]'>" . $this->get_user_options($author[1]) . "</select></td></tr>"; 620 620 621 return "<div class='wrap'><h2>$heading</h2><h3>$blogtitle</h3><p>$directions</p><form action='index.php?import=blogger&noheader=true&saveauthors=1' method='post'><input type='hidden' name='blog' value='$importing_blog' /><table cellpadding='5'><thead><td>$mapthis</td><td>$tothis</td></thead>$rows<tr><td></td><td class='submit'><input type='submit' class=' authorsubmit' value='$submit' /></td></tr></table></form></div>";621 return "<div class='wrap'><h2>$heading</h2><h3>$blogtitle</h3><p>$directions</p><form action='index.php?import=blogger&noheader=true&saveauthors=1' method='post'><input type='hidden' name='blog' value='$importing_blog' /><table cellpadding='5'><thead><td>$mapthis</td><td>$tothis</td></thead>$rows<tr><td></td><td class='submit'><input type='submit' class='button authorsubmit' value='$submit' /></td></tr></table></form></div>"; 622 622 } 623 623 624 624 function get_user_options($current) { … … 788 788 $restart = __('Restart'); 789 789 $message = __('We have saved some information about your Blogger account in your WordPress database. Clearing this information will allow you to start over. Restarting will not affect any posts you have already imported. If you attempt to re-import a blog, duplicate posts and comments will be skipped.'); 790 790 $submit = __('Clear account information'); 791 echo "<div class='wrap'><h2>$restart</h2><p>$message</p><form method='post' action='?import=blogger&noheader=true'><p class='submit' style='text-align:left;'><input type='submit' value='$submit' name='restart' /></p></form></div>";791 echo "<div class='wrap'><h2>$restart</h2><p>$message</p><form method='post' action='?import=blogger&noheader=true'><p class='submit' style='text-align:left;'><input type='submit' class='button' value='$submit' name='restart' /></p></form></div>"; 792 792 } 793 793 } 794 794 … … 821 821 position: relative; 822 822 text-align: center; 823 823 } 824 .submit {825 text-align: center !important;826 }827 824 </style> 828 825 <?php 829 826 } -
wp-admin/import/textpattern.php
46 46 echo '<form action="admin.php?import=textpattern&step=1" method="post">'; 47 47 wp_nonce_field('import-textpattern'); 48 48 $this->db_form(); 49 echo '<p class="submit"><input type="submit" name="submit" value="'.attribute_escape(__('Import Categories')).'" /></p>';49 echo '<p class="submit"><input type="submit" class="button" name="submit" value="'.attribute_escape(__('Import')).'" /></p>'; 50 50 echo '</form>'; 51 51 echo '</div>'; 52 52 } … … 481 481 482 482 echo '<form action="admin.php?import=textpattern&step=2" method="post">'; 483 483 wp_nonce_field('import-textpattern'); 484 printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Users')));484 printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Users'))); 485 485 echo '</form>'; 486 486 487 487 } … … 494 494 495 495 echo '<form action="admin.php?import=textpattern&step=3" method="post">'; 496 496 wp_nonce_field('import-textpattern'); 497 printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Posts')));497 printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Posts'))); 498 498 echo '</form>'; 499 499 } 500 500 … … 508 508 509 509 echo '<form action="admin.php?import=textpattern&step=4" method="post">'; 510 510 wp_nonce_field('import-textpattern'); 511 printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Comments')));511 printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Comments'))); 512 512 echo '</form>'; 513 513 } 514 514 … … 520 520 521 521 echo '<form action="admin.php?import=textpattern&step=5" method="post">'; 522 522 wp_nonce_field('import-textpattern'); 523 printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Import Links')));523 printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Import Links'))); 524 524 echo '</form>'; 525 525 } 526 526 … … 533 533 534 534 echo '<form action="admin.php?import=textpattern&step=6" method="post">'; 535 535 wp_nonce_field('import-textpattern'); 536 printf('<input type="submit" name="submit" value="%s" />', attribute_escape(__('Finish')));536 printf('<input type="submit" class="button" name="submit" value="%s" />', attribute_escape(__('Finish'))); 537 537 echo '</form>'; 538 538 } 539 539 … … 575 575 576 576 function db_form() 577 577 { 578 echo '<table class=" editform">';578 echo '<table class="niceblue">'; 579 579 printf('<tr><th scope="row"><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('Textpattern Database User:')); 580 580 printf('<tr><th scope="row"><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('Textpattern Database Password:')); 581 581 printf('<tr><th scope="row"><label for="dbname">%s</label></th><td><input type="text" id="dbname" name="dbname" /></td></tr>', __('Textpattern Database Name:')); -
wp-admin/import/greymatter.php
36 36 <input type="hidden" name="step" value="1" /> 37 37 <?php wp_nonce_field('import-greymatter'); ?> 38 38 <h3><?php _e('Second step: GreyMatter details:') ?></h3> 39 < p><table cellpadding="0">39 <table class="niceblue"> 40 40 <tr> 41 41 <td><?php _e('Path to GM files:') ?></td> 42 42 <td><input type="text" style="width:300px" name="gmpath" value="/home/my/site/cgi-bin/greymatter/" /></td> … … 46 46 <td><input type="text" style="width:300px" name="archivespath" value="/home/my/site/cgi-bin/greymatter/archives/" /></td> 47 47 </tr> 48 48 <tr> 49 <td colspan="2"><br /><?php _e("This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td>50 </tr>51 <tr>52 49 <td><?php _e("Last entry's number:") ?></td> 53 <td><input type="text" name="lastentry" value="00000001" /></td> 50 <td><input type="text" name="lastentry" value="00000001" /><br /> 51 <?php _e("This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td> 54 52 </tr> 55 53 </table> 56 54 </p> 57 <p>< ?php _e("When you're ready, click OK to start importing: ") ?><input type="submit" name="submit" value="<?php _e('OK') ?>" class="search" /></p>55 <p><input type="submit" name="submit" value="<?php _e('Start Importing') ?>" class="button" /></p> 58 56 </form> 59 <p> </p>60 57 <?php 61 58 $this->footer(); 62 59 } -
wp-admin/edit-form-advanced.php
46 46 $pings .= '</ul>'; 47 47 } 48 48 49 $saveasdraft = '<input name="save" type="submit" id="save" tabindex="3" value="' . attribute_escape( __('Save and Continue Editing') ) . '" />';49 $saveasdraft = '<input name="save" type="submit" id="save" class="button" tabindex="3" value="' . attribute_escape( __('Save and Continue Editing') ) . '" />'; 50 50 51 51 ?> 52 52 … … 155 155 </div> 156 156 157 157 <p class="submit"> 158 <input type="submit" name="save" id="save-post" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" />158 <input type="submit" name="save" id="save-post" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" class="button" /> 159 159 <?php 160 160 if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) { 161 161 ?> 162 162 <?php if ( current_user_can('publish_posts') ) : ?> 163 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />163 <input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" /> 164 164 <?php else : ?> 165 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" />165 <input name="publish" type="submit" class="button" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" /> 166 166 <?php endif; ?> 167 167 <?php 168 168 } -
wp-admin/edit-link-category-form.php
37 37 <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea></td> 38 38 </tr> 39 39 </table> 40 <p class="submit"><input type="submit" name="submit" value="<?php echo $submit_text ?>" /></p>40 <p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p> 41 41 <?php do_action('edit_link_category_form', $category); ?> 42 42 </form> 43 43 </div> -
wp-admin/edit-tag-form.php
33 33 <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape($tag->slug); ?>" size="40" /></td> 34 34 </tr> 35 35 </table> 36 <p class="submit"><input type="submit" name="submit" value="<?php echo $submit_text ?>" /></p>36 <p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p> 37 37 <?php do_action('edit_tag_form', $tag); ?> 38 38 </form> 39 39 </div> -
wp-admin/admin-header.php
46 46 <div id="wpwrap"> 47 47 <div id="wpcontent"> 48 48 <div id="wphead"> 49 <h1><?php bloginfo('name'); ?> <span id="viewsite"><a href="<?php echo get_option('home') . '/'; ?>"><?php _e('Visit Site') ?></a></span></h1>49 <h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo get_option('home') . '/'; ?>"><?php _e('Visit Site') ?></a></span></h1> 50 50 </div> 51 51 <div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a> | <?php printf(__('<a href="%s">Help</a>'), 'http://codex.wordpress.org/') ?> | <?php printf(__('<a href="%s">Forums</a>'), 'http://wordpress.org/support/') ?></p></div> 52 52 -
wp-admin/edit.php
135 135 ?> 136 136 137 137 <div style="float: left"> 138 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button " />138 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" /> 139 139 <?php wp_nonce_field('bulk-posts'); ?> 140 140 <?php 141 141 … … 168 168 <?php } ?> 169 169 170 170 <?php wp_dropdown_categories('show_option_all='.__('View all categories').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?> 171 <input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button " />171 <input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" /> 172 172 173 173 </div> 174 174 -
wp-admin/edit-category-form.php
43 43 <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->description); ?></textarea></td> 44 44 </tr> 45 45 </table> 46 <p class="submit"><input type="submit" name="submit" value="<?php echo $submit_text ?>" /></p>46 <p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p> 47 47 <?php do_action('edit_category_form', $category); ?> 48 48 </form> 49 49 </div> -
wp-admin/css/global.css
4 4 5 5 a:hover, .subsubsub a:hover, .subsubsub a.current:hover { color: #d54e21; } 6 6 7 a:focus, a:active { 8 border: none; 9 -moz-outline: none; 10 outline: none; 11 } 12 7 13 body { 8 14 background: #ffffff; 9 15 color: #333333; … … 93 99 clear: both; 94 100 color: #666666; 95 101 font: 24px Georgia, "Times New Roman", Times, serif; 96 margin: 0 0 0 -5px;102 margin: 5px 0 0 -4px; 97 103 padding: 0; 98 padding-bottom: 5px;104 padding-bottom: 7px; 99 105 } -
wp-admin/link-manager.php
89 89 <div class="tablenav"> 90 90 91 91 <div style="float: left"> 92 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button " />92 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" /> 93 93 <?php 94 94 $categories = get_terms('link_category', "hide_empty=1"); 95 95 $select_cat = "<select name=\"cat_id\">\n"; … … 109 109 echo $select_order; 110 110 111 111 ?> 112 <input type="submit" id="post-query-submit" value="<?php _e('Filter »'); ?>" class="button" />112 <input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" /> 113 113 114 114 </div> 115 115 -
wp-admin/widgets.php
193 193 <option value='<?php echo $show_value; ?>'<?php selected( $show_value, $show ); ?>><?php echo wp_specialchars( $show_text ); ?></option> 194 194 <?php endforeach; ?> 195 195 </select> 196 <input type="submit" value="<?php _e('Show' ); ?>" class="button " />196 <input type="submit" value="<?php _e('Show' ); ?>" class="button-secondary" /> 197 197 <p class="pagenav"> 198 198 <?php echo $page_links; ?> 199 199 </p> … … 210 210 <option value='<?php echo $sidebar_id; ?>'<?php selected( $sidebar_id, $sidebar ); ?>><?php echo wp_specialchars( $registered_sidebar['name'] ); ?></option> 211 211 <?php endforeach; ?> 212 212 </select> 213 <input type="submit" value="<?php _e(' Go' ); ?>" class="button" />213 <input type="submit" value="<?php _e('Show' ); ?>" class="button-secondary" /> 214 214 </div> 215 215 216 216 </div> -
wp-admin/edit-pages.php
107 107 <div class="tablenav"> 108 108 109 109 <div style="float: left"> 110 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button " />110 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" /> 111 111 <?php wp_nonce_field('bulk-pages'); ?> 112 112 </div> 113 113 -
wp-admin/categories.php
134 134 <div class="tablenav"> 135 135 136 136 <div style="float: left"> 137 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button " />137 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" /> 138 138 <?php wp_nonce_field('bulk-categories'); ?> 139 139 </div> 140 140