diff --git a/opml.php b/opml.php index 89634025c..9f76797b6 100644 --- a/opml.php +++ b/opml.php @@ -15,7 +15,7 @@ require_once "db.php"; require_once "db-prefs.php"; -// $_SESSION["uid"] = PLACEHOLDER_UID; // FIXME: placeholder + $owner_uid = $_SESSION["uid"]; $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); @@ -75,109 +75,120 @@ print "
"; } - function startElement($parser, $name, $attrs) { + if ($op == "Import") { - if ($name == "OUTLINE") { - if ($name == "OUTLINE") { + print " +
+ + +