From 5c062aaec410ca1d5275a4a7079dadddb82c3097 Mon Sep 17 00:00:00 2001 From: Treer Date: Sun, 3 Jul 2016 22:21:48 +1000 Subject: force immediate avatar update --- view/tpl/force_image_reload.tpl | 72 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 view/tpl/force_image_reload.tpl (limited to 'view/tpl') diff --git a/view/tpl/force_image_reload.tpl b/view/tpl/force_image_reload.tpl new file mode 100644 index 000000000..839bd22b5 --- /dev/null +++ b/view/tpl/force_image_reload.tpl @@ -0,0 +1,72 @@ +{{* +Force the browser to reload an image from the server instead of the cache. +based on an answer from http://stackoverflow.com/a/22429796/3343347 + +Usage: Set $imgUrl to the src url you want to be re-fetched from the server + +*}} + + -- cgit v1.2.3 From 233cfc29d6e68f8a8453fab2ebb733ab35fa4b67 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 7 Jul 2016 17:23:52 -0700 Subject: hide the redeliver option one level down since it should rarely be needed by folks outside of shared hosting. --- view/tpl/dreport.tpl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/dreport.tpl b/view/tpl/dreport.tpl index 7d5524a6a..8aa5e2cd1 100644 --- a/view/tpl/dreport.tpl +++ b/view/tpl/dreport.tpl @@ -1,7 +1,14 @@
{{if $table == 'item'}} - + {{/if}}

{{$title}}

-- cgit v1.2.3