Changeset 1099 for trunk/wp-admin/link-import.php
- Timestamp:
- 04/19/2004 06:13:26 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-import.php
r956 r1099 33 33 <div class="wrap"> 34 34 35 <h 3>Import your blogroll from another system </h3>35 <h2>Import your blogroll from another system </h2> 36 36 <!-- <form name="blogroll" action="link-import.php" method="get"> --> 37 37 <form enctype="multipart/form-data" action="link-import.php" method="post" name="blogroll"> … … 87 87 <div class="wrap"> 88 88 89 <h 3>Importing...</h3>89 <h2>Importing...</h2> 90 90 <?php 91 91 $cat_id = $HTTP_POST_VARS['cat_id']; … … 123 123 if ('http' == substr($titles[$i], 0, 4)) 124 124 $titles[$i] = ''; 125 $query = "INSERT INTO $tablelinks (link_url, link_name, link_target, link_category, link_description, link_owner )126 VALUES('{$urls[$i]}', '".addslashes($names[$i])."', '', $cat_id, '".addslashes($descriptions[$i])."', $user_ID )\n";125 $query = "INSERT INTO $tablelinks (link_url, link_name, link_target, link_category, link_description, link_owner, link_rss) 126 VALUES('{$urls[$i]}', '".addslashes($names[$i])."', '', $cat_id, '".addslashes($descriptions[$i])."', $user_ID, {$feeds[$i]})\n"; 127 127 $result = $wpdb->query($query); 128 128 echo "<p>Inserted <strong>{$names[$i]}</strong></p>";
Note: See TracChangeset
for help on using the changeset viewer.