diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 695dea20a..49157dfcc 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -650,33 +650,32 @@ print ""; - print "
-
"; - - print "
"; - - if ($action == "edit") { - print " - "; - } else { - - print " - - "; - - } - - print "
"; - } else { print "

No feed categories defined.

"; } + print "
+
"; + + print "
"; + + if ($action == "edit") { + print " + "; + } else { + + print " + + "; + } + + print "
"; + print ""; return; @@ -972,128 +971,10 @@ } } else { - print "

No feeds defined.

"; +// print "

No feeds defined.

"; } - -/* if (get_pref($link, 'ENABLE_FEED_CATS')) { - - print "

Edit Categories

"; - - print "
-   -
"; - - $result = db_query($link, "SELECT title,id FROM ttrss_feed_categories - WHERE owner_uid = ".$_SESSION["uid"]." - ORDER BY title"); - - if (db_num_rows($result) != 0) { - - print "
"; - - print "

"; - - print " - - "; - - $lnum = 0; - - while ($line = db_fetch_assoc($result)) { - - $class = ($lnum % 2) ? "even" : "odd"; - - $cat_id = $line["id"]; - - $edit_cat_id = $_GET["id"]; - - if ($subop == "editCat" && $cat_id != $edit_cat_id) { - $class .= "Grayed"; - $this_row_id = ""; - } else { - $this_row_id = "id=\"FCATR-$cat_id\""; - } - - print ""; - - $edit_title = htmlspecialchars(db_unescape_string($line["title"])); - - if (!$edit_cat_id || $subop != "editCat") { - - print ""; - - print ""; - - } else if ($cat_id != $edit_cat_id) { - - print ""; - - print ""; - - } else { - - print ""; - - print ""; - - } - - print ""; - - ++$lnum; - } - - print "
- Select: - All, - None - "; - - print "
 Title
" . - $edit_title . "$edit_title"; - - print ""; - print ""; - print ""; - - print "
"; - - print "

"; - - print "

"; - - if ($subop == "editCat") { - print "Edit category:  - - "; - } else { - - print " - Selection:  - - "; - - } - - } else { - print "

No feed categories defined.

"; - } - } */ - print "

Import OPML

File: