]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/link-import.php
Wordpress 2.5.1
[autoinstalls/wordpress.git] / wp-admin / link-import.php
index 927531731596f9460a3688ef67b7624b385cccc2..f2183f6bf9c47b215e1bbd73fbf76f2028e24036 100644 (file)
@@ -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>