Changeset 18279 for trunk/wp-admin/press-this.php
- Timestamp:
- 06/11/2011 07:37:23 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/press-this.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/press-this.php
r18254 r18279 468 468 } 469 469 ?> 470 <div id="wphead"></div>471 470 <form action="press-this.php?action=post" method="post"> 472 471 <div id="poststuff" class="metabox-holder"> 473 472 <div id="side-info-column"> 474 473 <div class="sleeve"> 475 <h1 id="viewsite"><a href="<?php echo get_option('home'); ?>/" target="_blank"><?php bloginfo('name'); ?> › <?php _e('Press This') ?></a></span></h1>476 477 474 <?php wp_nonce_field('press-this') ?> 478 475 <input type="hidden" name="post_type" id="post_type" value="text"/> … … 484 481 <div class="photolist"></div> 485 482 486 <div id="submitdiv" class="stuffbox"> 483 <div id="submitdiv" class="postbox"> 484 <div class="handlediv" title="<?php _e( 'Click to toggle' ); ?>"><br /></div> 485 <h3 class="hndle"><?php _e('Press This') ?></h3> 487 486 <div class="inside"> 488 <p >487 <p id="publishing-actions"> 489 488 <?php 490 489 submit_button( __( 'Save Draft' ), 'button', 'draft', false, array( 'id' => 'save' ) ); … … 566 565 </div> 567 566 568 <div id="tagsdiv-post_tag" class=" stuffbox">567 <div id="tagsdiv-post_tag" class="postbox"> 569 568 <div class="handlediv" title="<?php _e( 'Click to toggle' ); ?>"> 570 569 <br/> … … 583 582 <div class="tagchecklist"></div> 584 583 </div> 585 <p class="tagcloud-link"><a href="#titlediv" class="tagcloud-link" id="link-post_tag"><?php _e('Choose from the most used tags in Post Tags'); ?></a></p>584 <p class="tagcloud-link"><a href="#titlediv" class="tagcloud-link" id="link-post_tag"><?php _e('Choose from the most used tags'); ?></a></p> 586 585 </div> 587 586 </div> … … 589 588 </div> 590 589 <div class="posting"> 590 591 <div id="wphead"> 592 <img id="header-logo" src="<?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?>" alt="" width="16" height="16" /> 593 <h1 id="site-heading"> 594 <a href="<?php echo get_option('home'); ?>/" target="_blank"> 595 <span id="site-title"><?php bloginfo('name'); ?></span> 596 </a> 597 </h1> 598 </div> 599 591 600 <?php if ( isset($posted) && intval($posted) ) { $post_ID = intval($posted); ?> 592 601 <div id="message" class="updated"><p><strong><?php _e('Your post has been saved.'); ?></strong> <a onclick="window.opener.location.replace(this.href); window.close();" href="<?php echo get_permalink( $post_ID); ?>"><?php _e('View post'); ?></a> | <a href="<?php echo get_edit_post_link( $post_ID ); ?>" onclick="window.opener.location.replace(this.href); window.close();"><?php _e('Edit Post'); ?></a> | <a href="#" onclick="window.close();"><?php _e('Close Window'); ?></a></p></div> … … 602 611 603 612 <div class="postdivrich"> 604 <ul id="actions" class="actions"> 605 <li><?php _e( 'Add:' ); ?></li> 606 <li id="photo_button"> 607 <?php if ( current_user_can('upload_files') ) { ?><a title="<?php _e('Insert an Image'); ?>" href="#"> 608 <img alt="<?php _e('Insert an Image'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-image.gif?ver=20100531' ) ); ?>"/></a> 609 <?php } ?> 610 </li> 611 <li id="video_button"> 612 <a title="<?php _e('Embed a Video'); ?>" href="#"><img alt="<?php _e('Embed a Video'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-video.gif?ver=20100531' ) ); ?>"/></a> 613 </li> 614 <?php if ( user_can_richedit() ) { ?> 615 <li id="switcher"> 616 <?php wp_print_scripts( 'quicktags' ); ?> 617 <?php add_filter('the_editor_content', 'wp_richedit_pre'); ?> 613 <div id="editor-toolbar"> 614 <?php if ( user_can_richedit() ) : 615 wp_print_scripts( 'quicktags' ); 616 add_filter('the_editor_content', 'wp_richedit_pre'); ?> 618 617 <a id="edButtonHTML" onclick="switchEditors.go('content', 'html');"><?php _e('HTML'); ?></a> 619 618 <a id="edButtonPreview" class="active" onclick="switchEditors.go('content', 'tinymce');"><?php _e('Visual'); ?></a> 620 619 <div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('content')" /></div> 621 </li> 622 <?php } ?> 623 </ul> 620 <?php endif; ?> 621 622 <div id="media-buttons"> 623 <?php 624 _e( 'Add:' ); 625 626 if ( current_user_can('upload_files') ) : ?> 627 <a id="photo_button" title="<?php _e('Insert an Image'); ?>" href="#"> 628 <img alt="<?php _e('Insert an Image'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-image.gif?ver=20100531' ) ); ?>"/></a><?php 629 endif; 630 ?><a id="video_button" title="<?php _e('Embed a Video'); ?>" href="#"><img alt="<?php _e('Embed a Video'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-video.gif?ver=20100531' ) ); ?>"/></a> 631 </div> 632 </div> 624 633 <div id="quicktags"></div> 625 634 <div class="editor-container">
Note: See TracChangeset
for help on using the changeset viewer.