Make WordPress Core


Ignore:
Timestamp:
03/01/2004 06:13:32 AM (21 years ago)
Author:
saxmatt
Message:

Migration to get_settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post.php

    r949 r956  
    708708
    709709<?php
    710 $bookmarklet_height= ($use_trackback) ? 460 : 420;
     710$bookmarklet_height= (get_settings('use_trackback')) ? 460 : 420;
    711711
    712712if ($is_NS4 || $is_gecko) {
    713713?>
    714714    <a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'WordPress bookmarklet','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));">Press It
    715     - <?php echo $blogname ?></a>
     715    - <?php echo get_settings('blogname'); ?></a>
    716716    <?php
    717717} else if ($is_winIE) {
    718718?>
    719719    <a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">Press it
    720     - <?php echo $blogname ?></a>
     720    - <?php echo get_settings('blogname'); ?></a>
    721721    <script type="text/javascript" language="JavaScript">
    722722<!--
     
    734734?>
    735735    <a href="javascript:void(window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/bookmarklet.php?popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));">Press it
    736     - <?php echo $blogname ?></a>
     736    - <?php echo get_settings('blogname'); ?></a>
    737737    <?php
    738738} else if ($is_macIE) {
    739739?>
    740740    <a href="javascript:Q='';if(top.frames.length==0);void(btw=window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/bookmarklet.php?text='+escape(document.getSelection())+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();">Press it
    741     - <?php echo $blogname ?></a>
     741    - <?php echo get_settings('blogname'); ?></a>
    742742    <?php
    743743}
Note: See TracChangeset for help on using the changeset viewer.