diff --git a/backend.php b/backend.php index f0dc6ae11..5511668cf 100644 --- a/backend.php +++ b/backend.php @@ -161,11 +161,6 @@ module_pref_filters($link); break; // pref-filters - case "pref_labels": - require_once "modules/pref-labels.php"; - module_pref_labels($link); - break; // pref-labels - case "pref_users": require_once "modules/pref-users.php"; module_pref_users($link); diff --git a/classes/pref_labels.php b/classes/pref_labels.php new file mode 100644 index 000000000..5de4443f7 --- /dev/null +++ b/classes/pref_labels.php @@ -0,0 +1,320 @@ +link, "SELECT * FROM ttrss_labels2 WHERE + id = '$label_id' AND owner_uid = " . $_SESSION["uid"]); + + $line = db_fetch_assoc($result); + + print ""; + print ""; + print ""; + + print "
".__("Foreground:")." | ".__("Background:"). + " |
";
+
+ print "";
+ print "";
+
+ print "
+
+ ";
+ print "";
+
+ print " | ";
+
+ print "
+
+ ";
+ print "";
+
+ print " |
".__("Foreground:")." | ".__("Background:"). - " |
";
-
- print "";
- print "";
-
- print "
-
- ";
- print "";
-
- print " | ";
-
- print "
-
- ";
- print "";
-
- print " |