mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 03:01:28 +00:00
subtoolbar: only show mail action if plugin is enabled
This commit is contained in:
@@ -119,8 +119,12 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
}
|
||||
|
||||
global $pluginhost;
|
||||
|
||||
if ($pluginhost->get_plugin("mail")) {
|
||||
$reply .= "<option value=\"emailArticle(false)\">".__('Forward by email').
|
||||
"</option>";
|
||||
}
|
||||
|
||||
$reply .= "<option value=\"0\" disabled=\"1\">".__('Feed:')."</option>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user