Changeset 8071
- Timestamp:
- 06/11/2008 05:45:50 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/press-this.css
r8067 r8071 1 1 body { 2 2 font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 3 color: #333; 3 4 margin: 0px; 4 5 padding: 0px; … … 214 215 215 216 div#categories h2 { 217 color: #333; 216 218 font-size: 12px; 217 margin: 0;219 margin: .5em 0 0 1em; 218 220 padding: 0; 219 221 } … … 222 224 overflow: auto; 223 225 padding: 1em; 224 height: 20em;226 height: 15em; 225 227 } 226 228 … … 244 246 245 247 #tagchecklist { 246 margin-left: 10px; 248 padding-left: 1em; 249 margin-bottom: 1em; 247 250 font-size: 12px; 248 251 overflow: auto; … … 250 253 251 254 #tagchecklist strong { 252 margin-left: -8px;253 position: absolute;255 position: absolute; 256 font-size: .75em; 254 257 } 255 258 256 259 #tagchecklist span { 257 margin-right: 25px; 260 margin-right: .5em; 261 margin-left: 10px; 258 262 display: block; 259 263 float: left; … … 370 374 #jaxtag { 371 375 clear: both; 376 padding-left: 1em; 372 377 } 373 378 -
trunk/wp-admin/press-this.php
r8067 r8071 58 58 } 59 59 60 function tag_div() { ?>61 <p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" /></p>62 <div id="tagchecklist"></div>63 <?php }64 60 65 61 function category_div() { ?> 66 62 <div id="categories"> 67 63 <div class="submitbox" id="submitpost"> 68 <div id="previewview"> <h2><?php _e('Categories') ?></h2></div>64 <div id="previewview"></div> 69 65 <div class="inside"> 66 <h2><?php _e('Categories') ?></h2> 70 67 <div id="categories-all"> 71 68 <ul id="categorychecklist" class="list:category categorychecklist form-no-clear"> … … 73 70 </ul> 74 71 </div> 72 <h2><?php _e('Tags') ?></h2> 73 <p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" /></p> 74 <div id="tagchecklist"></div> 75 75 76 </div> 76 77 <p class="submit"> … … 158 159 159 160 function get_images_from_uri($uri) { 161 if(preg_match('/\.(jpg|png|gif)/', $uri)) return "'".$uri."'"; 160 162 $content = wp_remote_fopen($uri); 161 163 $host = parse_url($uri); … … 180 182 } 181 183 return "'" . implode("','", $sources) . "'"; 182 } 184 } 185 183 186 184 187 echo 'new Array('.get_images_from_uri($url).')'; … … 252 255 <small><?php _e('Click images to select:') ?></small> 253 256 <div class="titlewrap"> 254 <div id="img_container"> Loading Images...</div>257 <div id="img_container"></div> 255 258 </div> 256 259 <?php die; } … … 423 426 <?php } ?> 424 427 jQuery('#extra_fields').show(); 428 jQuery('#extra_fields').prepend('<h2 id="waiting"><img src="images/loading.gif" alt="" /> Loading...</h2>'); 425 429 jQuery('#extra_fields').load('<?php echo clean_url($_SERVER['PHP_SELF']).'/?ajax=photo&u='.attribute_escape($url); ?>'); 426 jQuery('#extra_fields').prepend('<h2><img src="images/loading.gif" alt="" /> Loading...</h2>');427 430 jQuery.ajax({ 428 431 type: "GET", … … 432 435 dataType : "script", 433 436 success : function() { 437 jQuery('#waiting').innerHTML(''); 434 438 } 435 439 }); … … 491 495 </div> 492 496 </div> 493 <?php tag_div(); ?>497 494 498 </div> 495 499 <?php category_div(); ?>
Note: See TracChangeset
for help on using the changeset viewer.