aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/acl_selector.tpl
diff options
context:
space:
mode:
authorOlaf Conradi <olaf@conradi.org>2014-05-02 02:32:52 +0200
committerOlaf Conradi <olaf@conradi.org>2014-05-02 02:32:52 +0200
commit32a34f76df401c9bf90c087047c5a45b04aeeaee (patch)
tree439803352fb8da57b9546d9a607baa7b1dc82ac6 /view/tpl/acl_selector.tpl
parent4c9f5031eb5d59c3e637ac0f41af9721f331580d (diff)
downloadvolse-hubzilla-32a34f76df401c9bf90c087047c5a45b04aeeaee.tar.gz
volse-hubzilla-32a34f76df401c9bf90c087047c5a45b04aeeaee.tar.bz2
volse-hubzilla-32a34f76df401c9bf90c087047c5a45b04aeeaee.zip
Fix unwanted GET {0} requests
Because of image prefetch of browsers the <img src="{0}"> templates cause unwanted /{0} requests to the webserver. Templates are changed to use a data-src attribute.
Diffstat (limited to 'view/tpl/acl_selector.tpl')
-rwxr-xr-xview/tpl/acl_selector.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl
index c98350843..722d541ed 100755
--- a/view/tpl/acl_selector.tpl
+++ b/view/tpl/acl_selector.tpl
@@ -15,7 +15,7 @@
<span id="acl-fields"></span>
</div>
<div class="acl-list-item" rel="acl-template" style="display:none">
- <img src="{0}"><p>{1}</p>
+ <img data-src="{0}"><p>{1}</p>
<button class="acl-button-hide btn btn-xs btn-default"><i class="icon-remove"></i> {{$hide}}</button>
<button class="acl-button-show btn btn-xs btn-default"><i class="icon-ok"></i> {{$show}}</button>
</div>