";
print "";
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 8041b8cc1..bb3670c25 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -138,7 +138,7 @@
$feed_icon = "";
}
- print "
";
@@ -148,26 +148,35 @@
print "
";
print "
";
- print "
";
+ print "".__("Feed")."
";
+ print "";
- print "
".__('Title:')." | ";
- print " |
";
+ /* Title */
+
+ print "";
+
+ /* Feed URL */
$feed_url = db_fetch_result($result, 0, "feed_url");
$feed_url = htmlspecialchars(db_fetch_result($result,
0, "feed_url"));
-
- print "".__('Feed URL:')." | ";
- print " |
";
+
+ print "
";
+
+ print __('URL:') . " ";
+ print "";
+
+ /* Category */
if (get_pref($link, 'ENABLE_FEED_CATS')) {
$cat_id = db_fetch_result($result, 0, "cat_id");
- print "".__('Category:')." | ";
- print "";
+ print " ";
+
+ print __('Place in category:') . " ";
$parent_feed = db_fetch_result($result, 0, "parent_feed");
@@ -177,25 +186,14 @@
$disabled = "";
}
- print_feed_cat_select($link, "cat_id", $cat_id, "class=\"iedit\" $disabled");
-
- print " | ";
- print "
";
-
+ print_feed_cat_select($link, "cat_id", $cat_id, $disabled);
}
- $update_interval = db_fetch_result($result, 0, "update_interval");
+ /* Link to */
- print "".__('Update Interval:')." | ";
+ print "
";
- print "";
-
- print_select_hash("update_interval", $update_interval, $update_intervals,
- "class=\"iedit\"");
-
- print " | ";
-
- print "
".__('Link to:')." | ";
+ print __('Link to feed:') . " ";
$tmp_result = db_query($link, "SELECT COUNT(id) AS count
FROM ttrss_feeds WHERE parent_feed = '$feed_id'");
@@ -210,7 +208,7 @@
$disabled = "";
}
- print " |
";
+
+
+ print "";
+
+ print "".__("Updating")."
";
+ print "";
+
+ /* Update Interval */
+
+ $update_interval = db_fetch_result($result, 0, "update_interval");
+
+ print_select_hash("update_interval", $update_interval, $update_intervals);
+
+ /* Update method */
+
+ if (ALLOW_SELECT_UPDATE_METHOD) {
+ $update_method = db_fetch_result($result, 0, "update_method");
+
+ print " " . __('using') . " ";
+ print_select_hash("update_method", $update_method, $update_methods);
+ }
+
+ /* Purge intl */
+
+ print "
";
$purge_interval = db_fetch_result($result, 0, "purge_interval");
- print "
".__('Article purging:')." | ";
+ print __('Article purging:') . " ";
- print "";
+ print_select_hash("purge_interval", $purge_interval, $purge_intervals);
- print_select_hash("purge_interval", $purge_interval, $purge_intervals,
- "class=\"iedit\"");
-
- print " | ";
-
- if (ALLOW_SELECT_UPDATE_METHOD) {
-
- $update_method = db_fetch_result($result, 0, "update_method");
-
- print "
".__('Update using:')." | ";
-
- print "";
-
- print_select_hash("update_method", $update_method, $update_methods,
- "class=\"iedit\"");
-
- print " | ";
- }
+ print "";
+ print "".__("Authentication")."
";
+ print "";
$auth_login = htmlspecialchars(db_fetch_result($result, 0, "auth_login"));
- print "
".__('Login:')." | ";
- print " |
";
+ print __('Login:') . " ";
+ print "";
+
+ print " " . __("Password:") . " ";
$auth_pass = htmlspecialchars(db_fetch_result($result, 0, "auth_pass"));
- print "".__('Password:')." | ";
- print " |
";
+ value=\"$auth_pass\">";
- $private = sql_bool_to_bool(db_fetch_result($result, 0, "private"));
+ print "";
+ print "".__("Options")."
";
+ print "";
- if ($private) {
- $checked = "checked";
- } else {
- $checked = "";
- }
+ print "
";
- print "
".__('Options:')." | ";
- print "";
+ print " ";
$rtl_content = sql_bool_to_bool(db_fetch_result($result, 0, "rtl_content"));
@@ -302,8 +307,8 @@
$checked = "";
}
- print " ";
+ print " ";
$hidden = sql_bool_to_bool(db_fetch_result($result, 0, "hidden"));
@@ -313,8 +318,8 @@
$checked = "";
}
- print " ";
+ print " ";
$include_in_digest = sql_bool_to_bool(db_fetch_result($result, 0, "include_in_digest"));
@@ -324,9 +329,9 @@
$checked = "";
}
- print " ";
+ $checked> ";
$cache_images = sql_bool_to_bool(db_fetch_result($result, 0, "cache_images"));
@@ -344,18 +349,18 @@
$label_class = "class='insensitive'";
}
- print "
|
";
- print "
";
+ print "