Make WordPress Core


Ignore:
Timestamp:
02/27/2006 04:57:30 AM (19 years ago)
Author:
ryan
Message:

Bookmark/link rework. #2499

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-add.php

    r3422 r3570  
    22require_once('admin.php');
    33
    4 $title = __('Add Link');
     4$title = __('Add Bookmark');
    55$this_file = 'link-manager.php';
    66$parent_file = 'link-manager.php';
     
    2727
    2828$xfn_js = true;
     29$editing = true;
    2930require('admin-header.php');
    3031?>
    3132
    3233<?php if ($_GET['added']) : ?>
    33 <div id="message" class="updated fade"><p><?php _e('Link added.'); ?></p></div>
     34<div id="message" class="updated fade"><p><?php _e('Bookmark added.'); ?></p></div>
    3435<?php endif; ?>
    3536
     
    4041
    4142<div class="wrap">
    42 <?php printf(__('<p>You can drag <a href="%s" title="Link add bookmarklet">Link This</a> to your toolbar and when you click it a window will pop up that will allow you to add whatever site you&#8217;re on to your links! Right now this only works on Mozilla or Netscape, but we&#8217;re working on it.</p>'), "javascript:void(linkmanpopup=window.open('" . get_settings('siteurl') . "/wp-admin/link-add.php?action=popup&amp;linkurl='+escape(location.href)+'&amp;name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?>
     43<?php printf(__('<p>You can drag <a href="%s" title="Bookmark add bookmarklet">Link This</a> to your toolbar and when you click it a window will pop up that will allow you to add whatever site you&#8217;re on to your bookmarks! Right now this only works on Mozilla or Netscape, but we&#8217;re working on it.</p>'), "javascript:void(linkmanpopup=window.open('" . get_settings('siteurl') . "/wp-admin/link-add.php?action=popup&amp;linkurl='+escape(location.href)+'&amp;name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?>
    4344</div>
    4445
Note: See TracChangeset for help on using the changeset viewer.