From: Michael Vogel Date: Sat, 2 Jul 2016 21:08:33 +0000 (+0200) Subject: Site settings: some settings are disabled when the worker is active X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2ef50cb7e6f51f032ed676a78af64e0bc9130b29;p=friendica.git Site settings: some settings are disabled when the worker is active --- diff --git a/view/templates/admin_site.tpl b/view/templates/admin_site.tpl index f22319b695..7a6e4fd356 100644 --- a/view/templates/admin_site.tpl +++ b/view/templates/admin_site.tpl @@ -120,8 +120,10 @@ {{include file="field_input.tpl" field=$proxy}} {{include file="field_input.tpl" field=$proxyuser}} {{include file="field_input.tpl" field=$timeout}} - {{include file="field_input.tpl" field=$delivery_interval}} - {{include file="field_input.tpl" field=$poll_interval}} + {{if NOT $worker.2}} + {{include file="field_input.tpl" field=$delivery_interval}} + {{include file="field_input.tpl" field=$poll_interval}} + {{/if}} {{include file="field_input.tpl" field=$maxloadavg}} {{include file="field_input.tpl" field=$maxloadavg_frontend}} {{include file="field_input.tpl" field=$optimize_max_tablesize}}