]> git.mxchange.org Git - friendica.git/commitdiff
Site settings: some settings are disabled when the worker is active
authorMichael Vogel <icarus@dabo.de>
Sat, 2 Jul 2016 21:08:33 +0000 (23:08 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 2 Jul 2016 21:08:33 +0000 (23:08 +0200)
view/templates/admin_site.tpl

index f22319b695ec7029a7fde8ddcc261569edd24ee6..7a6e4fd356f3c8c2ff9e05a72c00a83521913cad 100644 (file)
        {{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}}