Changeset 1205
- Timestamp:
- 04/28/2004 07:49:27 PM (22 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 1 deleted
- 6 edited
-
admin-functions.php (modified) (4 diffs)
-
admin-header.php (modified) (1 diff)
-
edit.php (modified) (4 diffs)
-
menu.php (modified) (1 diff)
-
menu.txt (deleted)
-
post.php (modified) (1 diff)
-
wp-admin.css (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r1201 r1205 219 219 if (!$meta) return; 220 220 ?> 221 <table id='meta-list' width='98%'>221 <table id='meta-list' cellpadding="3"> 222 222 <tr> 223 223 <th><?php _e('Key') ?></th> … … 231 231 echo " 232 232 <tr $style> 233 <td valign='top'><input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' value='{$entry['meta_key']}' /></td>234 <td><textarea name='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols=' 40'>{$entry['meta_value']}</textarea></td>235 <td align='center' ><input name='updatemeta' type='submit' class='updatemeta' tabindex='6' value='" . __('Update') ."' /></td>236 <td align='center' ><input name='deletemeta[{$entry['meta_id']}]' type='submit' class='deletemeta' tabindex='6' value='" . __('Delete') ."' /></td>233 <td valign='top'><input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /></td> 234 <td><textarea name='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td> 235 <td align='center' width='10%'><input name='updatemeta' type='submit' class='updatemeta' tabindex='6' value='" . __('Update') ."' /></td> 236 <td align='center' width='10%'><input name='deletemeta[{$entry['meta_id']}]' type='submit' class='deletemeta' tabindex='6' value='" . __('Delete') ."' /></td> 237 237 </tr> 238 238 "; … … 266 266 ?> 267 267 <h3><?php _e('Add a new custom field to this post:') ?></h3> 268 <table width="100%"cellspacing="3" cellpadding="3">268 <table cellspacing="3" cellpadding="3"> 269 269 <tr> 270 270 <th colspan="2"><?php _e('Key') ?></th> 271 271 <th><?php _e('Value') ?></th> 272 <th></th>273 272 </tr> 274 273 <tr valign="top"> 275 <td align="right" ><select id="metakeyselect" name="metakeyselect" tabindex="7">274 <td align="right" width="18%"><select id="metakeyselect" name="metakeyselect" tabindex="7"> 276 275 <option value="#NONE#">- Select -</option> 277 276 <?php … … 280 279 } 281 280 ?> 282 </select> or </td><td><input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" /></td> 281 </select> or </td> 282 <td><input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" /></td> 283 283 <td><textarea id="metavalue" name="metavalue" rows="3" cols="25" tabindex="7"></textarea></td> 284 <td></td>285 284 </tr> 286 285 -
trunk/wp-admin/admin-header.php
r1200 r1205 134 134 </head> 135 135 <body> 136 <h1 id="wphead"><a href="http://wordpress.org" rel="external" title="<?php _e('Visit WordPress.org') ?>"><?php _e('WordPress') ?></a></h1> 136 <div id="wphead"> 137 <h1><a href="http://wordpress.org" rel="external" title="<?php _e('Visit WordPress.org') ?>"><?php _e('WordPress') ?></a></h1> 138 </div> 137 139 138 140 <?php -
trunk/wp-admin/edit.php
r1204 r1205 1 un<?php1 <?php 2 2 require_once('../wp-includes/wp-l10n.php'); 3 3 … … 45 45 <form name="viewarc" action="" method="get" style="float: left; width: 20em;"> 46 46 <fieldset> 47 <legend><?php _e('Show Posts From Month of ...') ?></legend>47 <legend><?php _e('Show Posts From Month of...') ?></legend> 48 48 49 49 <?php … … 68 68 </fieldset> 69 69 </form> 70 <form name="searchform" action="" method="get" >70 <form name="searchform" action="" method="get" style="float: left; width: 20em; margin-left: 3em;"> 71 71 <fieldset> 72 72 <legend><?php _e('Show Posts That Contain...') ?></legend> … … 76 76 </form> 77 77 78 <br clear="both" />78 <br style="clear:both;" /> 79 79 80 80 <table width="100%" cellpadding="3" cellspacing="3"> -
trunk/wp-admin/menu.php
r1203 r1205 20 20 ); 21 21 22 $self = str_replace('/wp-admin/', '', $PHP_SELF);22 $self = preg_replace('|.*/wp-admin/|i', '', $_SERVER['PHP_SELF']); 23 23 foreach ($menu as $item) { 24 24 $class = ''; 25 25 26 26 // 0 = name, 1 = user_level, 2 = file 27 if ((substr($self, - 20) == substr($item[1], -20) && empty($parent_file)) || ($parent_file && ($item[2] == $parent_file))) $class = ' class="current"';27 if ((substr($self, -10) == substr($item[2], -10) && empty($parent_file)) || ($parent_file && ($item[2] == $parent_file))) $class = ' class="current"'; 28 28 29 29 if ($user_level >= $item[1]) { -
trunk/wp-admin/post.php
r1197 r1205 237 237 <h2><?php _e('Post Preview (updated when post is saved)'); ?></h2> 238 238 <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__("Permanent Link: %s"), the_title()); ?>"><?php the_title(); ?></a></h3> 239 <div class="meta"><?php printf(__("Filed under: %s"), the_category()); ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>239 <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(','); ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div> 240 240 241 241 <div class="storycontent"> -
trunk/wp-admin/wp-admin.css
r1197 r1205 36 36 37 37 body { 38 background -color: #fff;38 background: #fff; 39 39 color: #000; 40 40 margin: 0; … … 49 49 border: 1px solid #ddd; 50 50 padding: 2px; 51 }52 53 fieldset.options {54 padding: 1em;55 }56 57 fieldset.options legend {58 font-size: 16px;59 51 } 60 52 … … 74 66 } 75 67 68 fieldset legend a { 69 border-bottom: none; 70 } 71 76 72 fieldset span.cat-nest { 77 73 display: block; 78 74 margin-left: 10px; 75 } 76 77 fieldset.options { 78 padding: 1em; 79 } 80 81 fieldset.options legend { 82 font-size: 16px; 79 83 } 80 84 … … 156 160 } 157 161 158 .submit {162 .submit, #quicktags, .editform th, #postcustomsubmit { 159 163 text-align: right; 160 164 } 161 165 166 .unapproved { 167 color: #888; 168 } 169 170 .unapproved a:link { 171 color: #b9bcff; 172 } 173 174 .unapproved a:visited { 175 color: #696dff; 176 } 177 178 .unapproved a:hover { 179 color: #009ef0; 180 } 181 162 182 .updated { 163 background -color: #f0f8ff;183 background: #f0f8ff; 164 184 border: 1px solid #69c; 165 185 margin: 5px 5% 10px; 166 186 padding: 0 1em 0 1em; 167 }168 169 .unapproved {170 color: #888;171 }172 173 .unapproved a:link {174 color: #b9bcff;175 }176 177 .unapproved a:visited {178 color: #696dff;179 }180 181 .unapproved a:hover {182 color: #009ef0;183 187 } 184 188 … … 191 195 .wrap h2 { 192 196 margin: 6px 0; 197 } 198 199 #adminmenu { 200 border-bottom: 2px solid #707070; 201 margin: 2px 2px 0 2px; 202 padding: 0 2px; 193 203 } 194 204 … … 207 217 } 208 218 219 #adminmenu a:hover, .current { 220 background: #eaeaea; 221 border: 1px solid #9d9d9d; 222 color: #171717; 223 } 224 225 #adminmenu li, #adminmenu2 li { 226 display: inline; 227 line-height: 2.0em; 228 list-style: none; 229 text-align: center; 230 } 231 232 #adminmenu2 { 233 background: #707070; 234 border-bottom: none; 235 height: 20px; 236 margin: 0 2px; 237 padding: 0; 238 } 239 240 #adminmenu2 .current { 241 background: #fff; 242 color: #000; 243 } 244 209 245 #adminmenu2 a { 210 246 border: none; … … 216 252 text-decoration: none; 217 253 } 254 255 #adminmenu2 a { 256 font-size: 12px; 257 } 258 218 259 #adminmenu2 a:hover { 219 background-color: #f0f0f0; 220 color: black; 221 } 222 #adminmenu2 .current { 223 background-color: #fff; 260 background: #f0f0f0; 224 261 color: #000; 225 262 } 226 263 227 #adminmenu a:hover, .current {228 background: #eaeaea;229 border: 1px solid #9d9d9d;230 color: #171717;231 }232 233 #adminmenu li, #adminmenu2 li {234 display: inline;235 line-height: 2.0em;236 list-style: none;237 text-align: center;238 }239 240 #adminmenu {241 border-bottom: 2px solid #707070;242 margin: 2px 2px 0 2px;243 padding: 0 2px;244 }245 246 #adminmenu2 {247 margin: 0 2px;248 padding: 0;249 border-bottom: none;250 background-color: #707070;251 height: 20px;252 }253 264 #adminmenu2 li { 254 265 line-height: 1.7em; 255 }256 257 #adminmenu2 a {258 font-size: 12px;259 266 } 260 267 … … 328 335 #postcustom { 329 336 border: 1px solid #aaa; 330 margin: 0.25em; 331 padding: 0.25em; 332 width: 98%; 337 padding: .5em; 338 width: 97%; 339 } 340 341 #postcustom .updatemeta, #postcustom .deletemeta { 342 margin: auto; 343 width: 5em; 333 344 } 334 345 … … 340 351 border: 1px solid #ccc; 341 352 margin: .5em; 342 width: 100%;343 344 } 353 width: 98%; 354 } 355 345 356 346 357 #postcustom table input, #postcustom table textarea { 347 width: 97%; 348 } 349 350 #postcustom td, #postcustom th { 351 color: #000; 352 margin: 0.2em; 353 padding: .3em; 354 } 355 356 #postcustom .updatemeta, #postcustom .deletemeta { 357 width: 90%; 358 margin: auto; 359 } 360 361 fieldset legend a { 362 border-bottom: none; 363 } 364 #postcustomvals { 365 float: right; 366 width: 49%; 367 } 368 369 #save { 370 width: 13em; 358 width: 95%; 371 359 } 372 360 … … 379 367 } 380 368 381 #poststuff textarea { 369 #content { 370 margin-left: 1%; 382 371 width: 97%; 383 margin-left:1%;384 385 372 } 386 373 … … 407 394 } 408 395 409 #quicktags, .editform th, #postcustomsubmit {410 text-align: right;411 }412 413 396 #quicktags { 414 397 margin-right: 1%; 398 } 399 400 #save { 401 width: 13em; 415 402 } 416 403 … … 427 414 #wphead { 428 415 background: url(../wp-images/header-shadow.png) #f2f2f2 repeat-x bottom; 429 height: 44px;430 margin: 0;431 416 padding: 4px 0 0 5px; 432 417 } 433 418 434 419 #wphead a { 435 background: url(../wp-images/wp-small.png) no-repeat;436 420 border-bottom: none; 437 421 display: block; … … 441 425 width: 200px; 442 426 } 427 428 #wphead h1 { 429 background: url(../wp-images/wp-small.png) no-repeat; 430 height: 44px; 431 margin: 0; 432 }
Note: See TracChangeset
for help on using the changeset viewer.