summaryrefslogtreecommitdiffstats
path: root/wp-admin
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-24 12:40:34 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-24 12:40:34 +0000
commit9384882739906e813f1a05491fd73e47e8105dee (patch)
treea14f52d7e2cb2fcce1ab890932c18358d4c4c973 /wp-admin
parent30d41198c601e5514acad67eb5fbb2e9f6854571 (diff)
downloadwordpress-mu-9384882739906e813f1a05491fd73e47e8105dee.tar.gz
wordpress-mu-9384882739906e813f1a05491fd73e47e8105dee.tar.xz
wordpress-mu-9384882739906e813f1a05491fd73e47e8105dee.zip
WP Merge to revision 4793
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@865 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin')
-rw-r--r--wp-admin/admin-functions.php7
-rw-r--r--wp-admin/edit-form-advanced.php4
-rw-r--r--wp-admin/edit-page-form.php2
-rw-r--r--wp-admin/users.php2
-rw-r--r--wp-admin/wp-admin.css91
5 files changed, 51 insertions, 55 deletions
diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index 03a6887..b274e67 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -1282,7 +1282,7 @@ function parent_dropdown( $default = 0, $parent = 0, $level = 0 ) {
if ( $items ) {
foreach ( $items as $item ) {
- // A page cannot be it's own parent.
+ // A page cannot be its own parent.
if (!empty ( $post_ID ) ) {
if ( $item->ID == $post_ID ) {
continue;
@@ -2203,7 +2203,7 @@ function wp_create_thumbnail( $file, $max_side, $effect = '' ) {
$thumbpath = str_replace( basename( $file ), $thumb, $file );
- // move the thumbnail to it's final destination
+ // move the thumbnail to its final destination
if ( $type[2] == 1 ) {
if (!imagegif( $thumbnail, $thumbpath ) ) {
$error = __( "Thumbnail path invalid" );
@@ -2228,8 +2228,7 @@ function wp_create_thumbnail( $file, $max_side, $effect = '' ) {
if (!empty ( $error ) ) {
return $error;
} else {
- apply_filters( 'wp_create_thumbnail', $thumbpath );
- return $thumbpath;
+ return apply_filters( 'wp_create_thumbnail', $thumbpath );
}
}
diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
index c07ae4c..1426ece 100644
--- a/wp-admin/edit-form-advanced.php
+++ b/wp-admin/edit-form-advanced.php
@@ -107,7 +107,7 @@ addLoadEvent(focusit);
<?php if ( current_user_can('edit_posts') ) : ?>
<fieldset id="posttimestampdiv" class="dbx-box">
-<h3 class="dbx-handle"><?php _e('Post Timestamp'); ?>:</h3>
+<h3 class="dbx-handle"><?php _e('Post Timestamp'); ?></h3>
<div class="dbx-content"><?php touch_time(($action == 'edit')); ?></div>
</fieldset>
<?php endif; ?>
@@ -117,7 +117,7 @@ $authors = get_editable_authors( $current_user->id ); // TODO: ROLE SYSTEM
if ( $authors && count( $authors ) > 1 ) :
?>
<fieldset id="authordiv" class="dbx-box">
-<h3 class="dbx-handle"><?php _e('Post Author'); ?>:</h3>
+<h3 class="dbx-handle"><?php _e('Post Author'); ?></h3>
<div class="dbx-content">
<select name="post_author_override" id="post_author_override">
<?php
diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php
index 6f2cbd1..78e9588 100644
--- a/wp-admin/edit-page-form.php
+++ b/wp-admin/edit-page-form.php
@@ -98,7 +98,7 @@ addLoadEvent(focusit);
<?php if ( $authors = get_editable_authors( $current_user->id ) ) : // TODO: ROLE SYSTEM ?>
<fieldset id="authordiv" class="dbx-box">
-<h3 class="dbx-handle"><?php _e('Page Author'); ?>:</h3>
+<h3 class="dbx-handle"><?php _e('Page Author'); ?></h3>
<div class="dbx-content">
<select name="post_author_override" id="post_author_override">
<?php
diff --git a/wp-admin/users.php b/wp-admin/users.php
index 0b0ca9b..9ebe224 100644
--- a/wp-admin/users.php
+++ b/wp-admin/users.php
@@ -468,7 +468,7 @@ default:
<?php endif; ?>
<form action="" method="get" name="search" id="search">
- <p><input type="text" name="usersearch" id="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" /> <input type="submit" value="<?php _e('Search users &raquo;'); ?>" class="button" /></p>
+ <p><input type="text" name="usersearch" id="usersearch" value="<?php echo attribute_escape($wp_user_search->search_term); ?>" /> <input type="submit" value="<?php _e('Search Users &raquo;'); ?>" class="button" /></p>
</form>
<?php if ( is_wp_error( $wp_user_search->search_errors ) ) : ?>
diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css
index 8d65520..8f396ab 100644
--- a/wp-admin/wp-admin.css
+++ b/wp-admin/wp-admin.css
@@ -201,14 +201,14 @@ textarea, input, select {
background: #f4f4f4;
border: 1px solid #b2b2b2;
color: #000;
- font: 13px Verdana, Arial, Helvetica, sans-serif;
+ font: 13px Verdana, Arial, Helvetica, sans-serif;
margin: 1px;
padding: 3px;
}
#uploading {
border-style: none;
- padding: 0px;
+ padding: 0;
margin-bottom: 16px;
height: 18em;
width: 100%;
@@ -459,7 +459,6 @@ input.disabled, textarea.disabled {
padding: .2em .2em .3em 2em;
}
-
#adminmenu .current, #submenu .current {
font-weight: bold;
text-decoration: none;
@@ -529,23 +528,22 @@ input.disabled, textarea.disabled {
height: 25px;
}
-
#categorydiv input, #poststatusdiv input, #commentstatusdiv input, #pingstatusdiv input {
border: none;
}
#postdiv, #titlediv, #guiddiv {
margin: 0 8px 0 0;
- padding: 0px;
+ padding: 0;
}
#postdivrich {
- margin: 0px;
- padding: 0px;
+ margin: 0;
+ padding: 0;
}
#content {
- margin: 0 0 0 0;
+ margin: 0;
width: 100%;
}
@@ -555,7 +553,7 @@ input.disabled, textarea.disabled {
}
#titlediv input, #guiddiv input {
- margin: 0px;
+ margin: 0;
width: 100%;
}
@@ -579,7 +577,7 @@ input.delete:hover {
#postdivrich #quicktags {
background: #f0f0ee;
- padding: 0px;
+ padding: 0;
border: 1px solid #ccc;
border-bottom: none;
}
@@ -593,11 +591,11 @@ input.delete:hover {
}
#quicktags #ed_toolbar {
- padding: 0px 2px;
+ padding: 0 2px;
}
#ed_toolbar input {
- background: #fff url( images/fade-butt.png ) repeat-x 0px -2px;
+ background: #fff url( images/fade-butt.png ) repeat-x 0 -2px;
margin: 3px 2px 2px;
}
@@ -643,7 +641,7 @@ input.delete:hover {
}
#excerpt, .attachmentlinks {
- margin: 0px;
+ margin: 0;
height: 4em;
width: 100%;
}
@@ -814,7 +812,7 @@ input.delete:hover {
#postcustom table {
border: 1px solid #ccc;
- margin: 0px;
+ margin: 0;
width: 100%;
}
@@ -835,7 +833,7 @@ input.delete:hover {
}
* html #template div {
- margin-right: 0px;
+ margin-right: 0;
}
#template, #template div, #editcat, #addcat {
@@ -967,32 +965,32 @@ input.delete:hover {
Some browsers will disable them when you
set display:none; */
.zerosize {
- height: 0px;
- width: 0px;
- margin: 0px;
- border: 0px;
- padding: 0px;
+ height: 0;
+ width: 0;
+ margin: 0;
+ border: 0;
+ padding: 0;
overflow: hidden;
position: absolute;
}
/* Box stuff */
.dbx-clone {
- position:absolute;
- visibility:hidden;
+ position: absolute;
+ visibility: hidden;
}
.dbx-clone, .dbx-clone .dbx-handle-cursor {
- cursor:move !important;
+ cursor: move !important;
}
.dbx-dummy {
- display:block;
- width:0;
- height:0;
- overflow:hidden;
+ display: block;
+ width: 0;
+ height: 0;
+ overflow: hidden;
}
.dbx-group, .dbx-box, .dbx-handle {
- position:relative;
- display:block;
+ position: relative;
+ display: block;
}
#grabit {
@@ -1000,7 +998,7 @@ set display:none; */
}
* html #themeselect {
- padding: 0px 3px;
+ padding: 0 3px;
height: 22px;
}
@@ -1010,9 +1008,9 @@ to reduce visual discrepancies between it and the clone.
overall, dbx-box is best left as visually unstyled as possible
*****************************************************************/
.dbx-box {
- margin:0;
- padding:0;
- border:none;
+ margin: 0;
+ padding: 0;
+ border: none;
}
/* Can change this */
@@ -1020,7 +1018,7 @@ overall, dbx-box is best left as visually unstyled as possible
margin-bottom: 1em;
}
#moremeta fieldset div {
- margin: 2px 0 0 0px;
+ margin: 2px 0 0 0;
padding: 7px;
}
#moremeta {
@@ -1083,7 +1081,7 @@ overall, dbx-box is best left as visually unstyled as possible
margin: 1em 1em 1em 0;
}
-#your-profile fieldset input {
+#your-profile fieldset input {
width: 100%;
font-size: 20px;
padding: 2px;
@@ -1122,7 +1120,7 @@ overall, dbx-box is best left as visually unstyled as possible
/* handles */
-.dbx-handle {
+.dbx-handle {
background: #2685af;
padding: 6px 1em 2px;
font-size: 12px;
@@ -1157,7 +1155,7 @@ overall, dbx-box is best left as visually unstyled as possible
#advancedstuff div.dbx-content {
margin-left: 8px;
background: url(images/box-bg-right.gif) repeat-y right;
- padding: 10px 10px 15px 0px;
+ padding: 10px 10px 15px 0;
}
#postexcerpt div.dbx-content {
@@ -1190,7 +1188,6 @@ overall, dbx-box is best left as visually unstyled as possible
background: url(images/box-butt-right.gif) no-repeat bottom right;
}
-
/* handle cursors */
.dbx-handle-cursor {
cursor: move;
@@ -1198,22 +1195,22 @@ overall, dbx-box is best left as visually unstyled as possible
/* toggle images */
a.dbx-toggle, a.dbx-toggle:visited {
- display:block;
+ display: block;
overflow: hidden;
background-image: url( images/toggle.gif );
position: absolute;
- top: 0px;
- right: 0px;
+ top: 0;
+ right: 0;
background-repeat: no-repeat;
- border: 0px;
- margin: 0px;
- padding: 0px;
+ border: 0;
+ margin: 0;
+ padding: 0;
}
#moremeta a.dbx-toggle, #moremeta a.dbx-toggle-open:visited {
height: 25px;
width: 27px;
- background-position: 0 0px;
+ background-position: 0 0;
}
#moremeta a.dbx-toggle-open, #moremeta a.dbx-toggle-open:visited {
@@ -1296,7 +1293,7 @@ input #catadd {
}
#edButtons input, #edButtons input:active {
- margin: 0px 2px -1px;
+ margin: 0 2px -1px;
}
#edButtons input.edButtonFore, #edButtons input.edButtonFore:active {
@@ -1305,7 +1302,7 @@ input #catadd {
}
#edButtons input.edButtonBack, #edButtons input.edButtonBack:active {
- background: #fff url( images/fade-butt.png ) repeat-x 0px 15px;
+ background: #fff url( images/fade-butt.png ) repeat-x 0 15px;
border-bottom: 1px solid #ccc;
}