diff options
author | Mario <mario@mariovavti.com> | 2020-11-14 21:28:50 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-14 21:28:50 +0000 |
commit | b63c5f27853aded30c492bdb94a680e5a9c9648b (patch) | |
tree | 0d5036dec62e5a3b4abdb34df6993e7634dddf5e /view/tpl | |
parent | 685c569eaf094fd7f354bd3fa8026ecefadfa590 (diff) | |
download | volse-hubzilla-b63c5f27853aded30c492bdb94a680e5a9c9648b.tar.gz volse-hubzilla-b63c5f27853aded30c492bdb94a680e5a9c9648b.tar.bz2 volse-hubzilla-b63c5f27853aded30c492bdb94a680e5a9c9648b.zip |
Polling fallback to server sent events. Polling is the default. SSE must be enabled in /admin/site > Advanced > Enable SSE Notifications if desired.
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/admin_site.tpl | 1 | ||||
-rwxr-xr-x | view/tpl/head.tpl | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index 5e10e6eea..8d32ba9a4 100755 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -95,6 +95,7 @@ </div> <h3>{{$advanced}}</h3> + {{include file="field_checkbox.tpl" field=$sse_enabled}} {{include file="field_input.tpl" field=$imagick_path}} {{include file="field_input.tpl" field=$proxy}} {{include file="field_input.tpl" field=$proxyuser}} diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index bd4cf3747..0d212e029 100755 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -9,6 +9,7 @@ {{$plugins}} <script> var updateInterval = {{$update_interval}}; + var sse_enabled = {{$sse_enabled}}; var localUser = {{if $local_channel}}{{$local_channel}}{{else}}false{{/if}}; var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}}; var justifiedGalleryActive = false; |