";
- print "
";
batch_edit_cbox("auth_login");
- print "
";
@@ -588,7 +588,7 @@
print "
".__("Options")."
";
print "
";
- print " ";
print " "; batch_edit_cbox("private", "private_l");
@@ -598,25 +598,25 @@
print " "; batch_edit_cbox("rtl_content", "rtl_content_l");
- print "
";
print " "; batch_edit_cbox("include_in_digest", "include_in_digest_l");
- print "
";
print " "; batch_edit_cbox("always_display_enclosures", "always_display_enclosures_l");
if (SIMPLEPIE_CACHE_IMAGES) {
- print "
";
-
+
print " "; batch_edit_cbox("cache_images", "cache_images_l");
}
@@ -624,14 +624,14 @@
print "
";
print "
-
";
-
+
return;
}
@@ -657,7 +657,7 @@
$always_display_enclosures = checkbox_to_sql_bool(
db_escape_string($_POST["always_display_enclosures"]));
- if (get_pref($link, 'ENABLE_FEED_CATS')) {
+ if (get_pref($link, 'ENABLE_FEED_CATS')) {
if ($cat_id && $cat_id != 0) {
$category_qpart = "cat_id = '$cat_id',";
$category_qpart_nocomma = "cat_id = '$cat_id'";
@@ -678,7 +678,7 @@
if ($subop == "editSave") {
- $result = db_query($link, "UPDATE ttrss_feeds SET
+ $result = db_query($link, "UPDATE ttrss_feeds SET
$category_qpart
title = '$feed_title', feed_url = '$feed_link',
update_interval = '$upd_intl',
@@ -709,7 +709,7 @@
$qpart = "";
switch ($k) {
- case "title":
+ case "title":
$qpart = "title = '$feed_title'";
break;
@@ -799,12 +799,12 @@
$filters = load_filters($link, $id, $_SESSION["uid"], 6);
- $result = db_query($link, "SELECT
+ $result = db_query($link, "SELECT
title, content, link, ref_id, author,".
SUBSTRING_FOR_DATE."(updated, 1, 19) AS updated
FROM
- ttrss_user_entries, ttrss_entries
- WHERE ref_id = id AND feed_id = '$id' AND
+ ttrss_user_entries, ttrss_entries
+ WHERE ref_id = id AND feed_id = '$id' AND
owner_uid = " .$_SESSION['uid']."
");
@@ -814,10 +814,10 @@
$tags = get_article_tags($link, $line["ref_id"]);
- $article_filters = get_article_filters($filters, $line['title'],
- $line['content'], $line['link'], strtotime($line['updated']),
+ $article_filters = get_article_filters($filters, $line['title'],
+ $line['content'], $line['link'], strtotime($line['updated']),
$line['author'], $tags);
-
+
$new_score = calculate_article_score($article_filters);
if (!$scores[$new_score]) $scores[$new_score] = array();
@@ -827,11 +827,11 @@
foreach (array_keys($scores) as $s) {
if ($s > 1000) {
- db_query($link, "UPDATE ttrss_user_entries SET score = '$s',
+ db_query($link, "UPDATE ttrss_user_entries SET score = '$s',
marked = true WHERE
ref_id IN (" . join(',', $scores[$s]) . ")");
} else if ($s < -500) {
- db_query($link, "UPDATE ttrss_user_entries SET score = '$s',
+ db_query($link, "UPDATE ttrss_user_entries SET score = '$s',
unread = false WHERE
ref_id IN (" . join(',', $scores[$s]) . ")");
} else {
@@ -847,7 +847,7 @@
if ($subop == "rescoreAll") {
- $result = db_query($link,
+ $result = db_query($link,
"SELECT id FROM ttrss_feeds WHERE owner_uid = " . $_SESSION['uid']);
while ($feed_line = db_fetch_assoc($result)) {
@@ -856,12 +856,12 @@
$filters = load_filters($link, $id, $_SESSION["uid"], 6);
- $tmp_result = db_query($link, "SELECT
+ $tmp_result = db_query($link, "SELECT
title, content, link, ref_id, author,".
SUBSTRING_FOR_DATE."(updated, 1, 19) AS updated
FROM
- ttrss_user_entries, ttrss_entries
- WHERE ref_id = id AND feed_id = '$id' AND
+ ttrss_user_entries, ttrss_entries
+ WHERE ref_id = id AND feed_id = '$id' AND
owner_uid = " .$_SESSION['uid']."
");
@@ -871,8 +871,8 @@
$tags = get_article_tags($link, $line["ref_id"]);
- $article_filters = get_article_filters($filters, $line['title'],
- $line['content'], $line['link'], strtotime($line['updated']),
+ $article_filters = get_article_filters($filters, $line['title'],
+ $line['content'], $line['link'], strtotime($line['updated']),
$line['author'], $tags);
$new_score = calculate_article_score($article_filters);
@@ -884,7 +884,7 @@
foreach (array_keys($scores) as $s) {
if ($s > 1000) {
- db_query($link, "UPDATE ttrss_user_entries SET score = '$s',
+ db_query($link, "UPDATE ttrss_user_entries SET score = '$s',
marked = true WHERE
ref_id IN (" . join(',', $scores[$s]) . ")");
} else {
@@ -917,14 +917,14 @@
+ alt=\"Tiny Tiny RSS\"/>
Subscribe to feed...
";
}
$rc = subscribe_to_feed($link, $feed_url, $cat_id, $auth_login, $auth_pass);
switch ($rc) {
- case 1:
+ case 1:
print_notice(T_sprintf("Subscribed to
%s.", $feed_url));
break;
case 2:
@@ -951,7 +951,7 @@
print "
";
print "
";
print "
";
-
+
print "
";
-
+
$result = db_query($link, "SELECT title,id FROM ttrss_feed_categories
WHERE owner_uid = ".$_SESSION["uid"]."
ORDER BY title");
@@ -1098,34 +1098,34 @@
# print "