subtoolbar: remove adaptive/all_articles view modes from generated feed urls by default
This commit is contained in:
parent
4bd248490f
commit
aa1c2aa4f9
|
@ -4203,8 +4203,15 @@
|
|||
$search_q = "";
|
||||
}
|
||||
|
||||
// Adaptive doesn't really make any sense for generated feeds
|
||||
// All Articles is the default, so no need to insert it either
|
||||
if ($view_mode == "adaptive" || $view_mode == "all_articles")
|
||||
$view_mode = "";
|
||||
else
|
||||
$view_mode = "&view-mode=$view_mode";
|
||||
|
||||
$rss_link = htmlspecialchars(get_self_url_prefix() .
|
||||
"/backend.php?op=rss&id=$feed_id&is_cat=$is_cat&view-mode=$view_mode$search_q");
|
||||
"/backend.php?op=rss&id=$feed_id&is_cat=$is_cat$view_mode$search_q");
|
||||
|
||||
#print "
|
||||
# <a target=\"_blank\"
|
||||
|
|
Loading…
Reference in New Issue