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:
Matt Mullenweg
2003-12-08 03:46:42 +00:00
parent 7b41c10271
commit e142ebce29
8 changed files with 118 additions and 157 deletions

View File

@@ -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&#8217; 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
&nbsp;or&nbsp;<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>
&nbsp;or&nbsp;
<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 />