summaryrefslogtreecommitdiffstats
path: root/wp-admin/link-import.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-04-04 16:44:15 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-04-04 16:44:15 +0000
commit7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc (patch)
treec6fd23b598f3994eddb18cb1c0f2e8d95ff054fa /wp-admin/link-import.php
parentf650f48c048bfbbb2ae702b6425d87e39358d748 (diff)
downloadwordpress-mu-7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc.tar.gz
wordpress-mu-7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc.tar.xz
wordpress-mu-7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc.zip
Merged with WordPress 2.5, unstable, only for testing
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1218 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/link-import.php')
-rw-r--r--wp-admin/link-import.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/wp-admin/link-import.php b/wp-admin/link-import.php
index 8dd2866..741a4dd 100644
--- a/wp-admin/link-import.php
+++ b/wp-admin/link-import.php
@@ -3,9 +3,8 @@
// Copyright (C) 2002 Mike Little -- mike@zed1.com
require_once('admin.php');
-$parent_file = 'link-manager.php';
+$parent_file = 'edit.php';
$title = __('Import Blogroll');
-$this_file = 'link-import.php';
$step = $_POST['step'];
if (!$step) $step = 0;
@@ -30,12 +29,12 @@ switch ($step) {
<div style="width: 70%; margin: auto; height: 8em;">
<input type="hidden" name="step" value="1" />
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
-<div style="width: 48%; float: left;">
+<div style="width: 48%;" class="alignleft">
<h3><?php _e('Specify an OPML URL:'); ?></h3>
<input type="text" name="opml_url" size="50" style="width: 90%;" value="http://" />
</div>
-<div style="width: 48%; float: left;">
+<div style="width: 48%;" class="alignleft">
<h3><?php _e('Or choose from your local disk:'); ?></h3>
<input id="userfile" name="userfile" type="file" size="30" />
</div>
@@ -54,7 +53,7 @@ foreach ($categories as $category) {
?>
</select></p>
-<p class="submit"><input type="submit" name="submit" value="<?php _e('Import OPML File &raquo;') ?>" /></p>
+<p class="submit"><input type="submit" name="submit" value="<?php _e('Import OPML File') ?>" /></p>
</form>
</div>
@@ -123,7 +122,7 @@ else
} // end else
if ( ! $blogrolling )
- apply_filters( 'wp_delete_file', $opml_url);
+ do_action( 'wp_delete_file', $opml_url);
@unlink($opml_url);
?>
</div>