forked from friendica/friendica-addons
remove help section if images not allowed
This commit is contained in:
parent
f9862a85d9
commit
84521c8814
|
@ -831,6 +831,7 @@ function retriever_content($a) {
|
|||
$template = Renderer::getMarkupTemplate('/help.tpl', 'addon/retriever/');
|
||||
$a->page['content'] .= Renderer::replaceMacros($template, array(
|
||||
'$config' => $a->getBaseUrl . '/settings/addon',
|
||||
'$allow_images' => Config::get('retriever', 'allow_images'),
|
||||
'$feeds' => $feeds));
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -131,6 +131,7 @@ fails, the plugin will keep trying at progressively longer intervals
|
|||
for up to a month, in case the website is temporarily overloaded or
|
||||
the network is down.
|
||||
</p>
|
||||
{{if $allow_images}}
|
||||
<h3>Retrieving Images</h3>
|
||||
<p>
|
||||
Retriever can also optionally download images and store them in the
|
||||
|
@ -140,6 +141,7 @@ an RSS feed or not. Go to the "Settings" page and
|
|||
click <a href="$config">"Plugin settings"</a>. Then check the "All
|
||||
Photos" box in the "Retriever Settings" section and click "Submit".
|
||||
</p>
|
||||
{{/if}}
|
||||
<h2>Configure Feeds:</h2>
|
||||
<div>
|
||||
{{foreach $feeds as $feed}}
|
||||
|
|
Loading…
Reference in a new issue