mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
New admin styling and improved navigation.
git-svn-id: https://develop.svn.wordpress.org/trunk@590 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,34 +1,11 @@
|
||||
<?php
|
||||
// $Id$
|
||||
//
|
||||
// Links
|
||||
// Copyright (C) 2002 Mike Little -- mike@zed1.com
|
||||
//
|
||||
// This is an add-on to b2 weblog / news publishing tool
|
||||
// b2 is copyright (c)2001, 2002 by Michel Valdrighi - m@tidakada.com
|
||||
//
|
||||
// **********************************************************************
|
||||
// Copyright (C) 2002 Mike Little
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation; either version 2 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful, but
|
||||
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
// Mike Little (mike@zed1.com)
|
||||
// *****************************************************************
|
||||
|
||||
require_once('../wp-config.php');
|
||||
include_once("../wp-links/links.php");
|
||||
|
||||
$parent_file = 'linkmanager.php';
|
||||
$title = 'Import Blogroll';
|
||||
$this_file = 'links.import.php';
|
||||
|
||||
@@ -44,8 +21,15 @@ switch ($step) {
|
||||
if ($user_level < get_settings('links_minadminlevel'))
|
||||
die ("Cheatin’ uh?");
|
||||
|
||||
$opmltype='blogrolling'; // default.
|
||||
$opmltype = 'blogrolling'; // default.
|
||||
?>
|
||||
|
||||
<ul id="adminmenu2">
|
||||
<li><a href="linkmanager.php" >Manage Links</a></li>
|
||||
<li><a href="linkcategories.php">Link Categories</a></li>
|
||||
<li class="last"><a href="links.import.php" class="current">Import Blogroll</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="wrap">
|
||||
|
||||
<h3>On this page you can import your blogroll.</h3>
|
||||
@@ -65,8 +49,14 @@ switch ($step) {
|
||||
Your OPML code:<?php echo gethelp_link($this_file,'opml_code');?> <input type="text" name="opml_url" size="65" />
|
||||
</li>
|
||||
<li>Did you use
|
||||
<input type="radio" name="opmltype" value="blogrolling" <?php echo(($opmltype == 'blogrolling') ? 'checked="checked"' : ''); ?>>blogrolling.com
|
||||
or <input type="radio" name="opmltype" value="blo.gs" <?php echo(($link_target == 'blo.gs') ? 'checked="checked"' : ''); ?>>blo.gs ?
|
||||
<label>
|
||||
<input type="radio" name="opmltype" value="blogrolling" <?php echo(($opmltype == 'blogrolling') ? 'checked="checked"' : ''); ?>>
|
||||
blogrolling.com</label>
|
||||
or
|
||||
<label>
|
||||
<input type="radio" name="opmltype" value="blo.gs" <?php echo(($link_target == 'blo.gs') ? 'checked="checked"' : ''); ?>>
|
||||
blo.gs</label>
|
||||
?
|
||||
</li>
|
||||
|
||||
<li>Now select a category you want to put these links in.<br />
|
||||
|
||||
Reference in New Issue
Block a user