Minor update for popup window size.
Plus branding change git-svn-id: http://svn.automattic.com/wordpress/trunk@204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
01a35b5231
commit
9c41f0e153
|
@ -197,7 +197,7 @@ case 'IErightclick':
|
||||||
|
|
||||||
$bookmarklet_tbpb = ($use_trackback) ? '&trackback=1' : '';
|
$bookmarklet_tbpb = ($use_trackback) ? '&trackback=1' : '';
|
||||||
$bookmarklet_tbpb .= ($use_pingback) ? '&pingback=1' : '';
|
$bookmarklet_tbpb .= ($use_pingback) ? '&pingback=1' : '';
|
||||||
$bookmarklet_height= ($use_trackback) ? 340 : 300;
|
$bookmarklet_height= ($use_trackback) ? 590 : 550;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -236,7 +236,7 @@ default:
|
||||||
|
|
||||||
$bookmarklet_tbpb = ($use_trackback) ? '&trackback=1' : '';
|
$bookmarklet_tbpb = ($use_trackback) ? '&trackback=1' : '';
|
||||||
$bookmarklet_tbpb .= ($use_pingback) ? '&pingback=1' : '';
|
$bookmarklet_tbpb .= ($use_pingback) ? '&pingback=1' : '';
|
||||||
$bookmarklet_height= ($use_trackback) ? 340 : 300;
|
$bookmarklet_height= ($use_trackback) ? 480 : 440;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h1 id="wphead"><a href="http://wordpress.org" rel="external"><span>WordPress</span></a></h1>
|
<h1 id="wphead"><a href="http://wordpress.org" rel="external"><span>WordPress</span></a></h1>
|
||||||
|
@ -324,7 +324,7 @@ default:
|
||||||
<?php
|
<?php
|
||||||
if ($is_NS4 || $is_gecko) {
|
if ($is_NS4 || $is_gecko) {
|
||||||
?>
|
?>
|
||||||
<a href="javascript:Q=document.selection?document.selection.createRange().text:document.getSelection();void(window.open('<?php echo $path ?>/wp-admin/b2bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'b2 bookmarklet','scrollbars=no,width=480,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));">WordPress
|
<a href="javascript:Q=document.selection?document.selection.createRange().text:document.getSelection();void(window.open('<?php echo $path ?>/wp-admin/b2bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'WordPress bookmarklet','scrollbars=no,width=480,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));">WordPress
|
||||||
- <?php echo $blogname ?></a>
|
- <?php echo $blogname ?></a>
|
||||||
<?php
|
<?php
|
||||||
} else if ($is_winIE) {
|
} else if ($is_winIE) {
|
||||||
|
|
Loading…
Reference in New Issue