Changeset 9838 for trunk/wp-admin/press-this.php
- Timestamp:
- 11/21/2008 11:31:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/press-this.php
r9787 r9838 413 413 } 414 414 } 415 416 415 jQuery(document).ready(function() { 417 416 //resize screen 418 top.resizeTo(720-screen.width+screen.availWidth,660-screen.height+screen.availHeight); 417 window.resizeTo(720,570); 418 419 419 jQuery('#photo_button').click(function() { show('photo'); return false; }); 420 420 jQuery('#video_button').click(function() { show('video'); return false; }); … … 449 449 <?php wp_nonce_field('press-this') ?> 450 450 <input type="hidden" name="post_type" id="post_type" value="text"/> 451 451 <input type="hidden" name="autosave" id="autosave" /> 452 452 <!-- This div holds the photo metadata --> 453 453 <div class="photolist"></div> … … 544 544 <textarea name="content" id="content" style="width:100%;" class="mceEditor" rows="15"> 545 545 <?php if ($selection) echo wp_richedit_pre(htmlspecialchars_decode($selection)); ?> 546 <?php if ($url) { echo '<p>'; if($selection) _e('via '); echo "<a href='$url'>$title</a> "; echo '</p>'; } ?>546 <?php if ($url) { echo '<p>'; if($selection) _e('via '); echo "<a href='$url'>$title</a>."; echo '</p>'; } ?> 547 547 </textarea> 548 548 </div>
Note: See TracChangeset
for help on using the changeset viewer.