aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-06-27 12:08:26 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commit6132d64748dfc6806ed25f71d2e078a5ed29d071 (patch)
tree0b6bdaf5106d7c27daff0cfb2c541dba362e9d1e /tpl
parent764d34a7d347d653414e5f5c632e02499edaef04 (diff)
downloadShaarli-6132d64748dfc6806ed25f71d2e078a5ed29d071.tar.gz
Shaarli-6132d64748dfc6806ed25f71d2e078a5ed29d071.tar.zst
Shaarli-6132d64748dfc6806ed25f71d2e078a5ed29d071.zip
Process thumbnail synchronize page through Slim controllers
Diffstat (limited to 'tpl')
-rw-r--r--tpl/default/configure.html4
-rw-r--r--tpl/default/linklist.html2
-rw-r--r--tpl/default/picwall.html2
-rw-r--r--tpl/default/tools.html2
-rw-r--r--tpl/vintage/configure.html2
5 files changed, 6 insertions, 6 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html
index fa1f7aa6..bb2564af 100644
--- a/tpl/default/configure.html
+++ b/tpl/default/configure.html
@@ -35,7 +35,7 @@
35 <div class="form-label"> 35 <div class="form-label">
36 <label for="titleLink"> 36 <label for="titleLink">
37 <span class="label-name">{'Home link'|t}</span><br> 37 <span class="label-name">{'Home link'|t}</span><br>
38 <span class="label-desc">{'Default value'|t}: {$base_path}</span> 38 <span class="label-desc">{'Default value'|t}: {$base_path}/</span>
39 </label> 39 </label>
40 </div> 40 </div>
41 </div> 41 </div>
@@ -289,7 +289,7 @@
289 {if="! $gd_enabled"} 289 {if="! $gd_enabled"}
290 {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t} 290 {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t}
291 {elseif="$thumbnails_enabled"} 291 {elseif="$thumbnails_enabled"}
292 <a href="{$base_path}/?do=thumbs_update">{'Synchronize thumbnails'|t}</a> 292 <a href="{$base_path}/admin/thumbnails">{'Synchronize thumbnails'|t}</a>
293 {/if} 293 {/if}
294 </span> 294 </span>
295 </label> 295 </label>
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index b0a5fdf2..8c1c2036 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -140,7 +140,7 @@
140 <div class="thumbnail"> 140 <div class="thumbnail">
141 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} 141 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
142 <a href="{$value.real_url}" aria-hidden="true" tabindex="-1"> 142 <a href="{$value.real_url}" aria-hidden="true" tabindex="-1">
143 <img data-src="{$value.thumbnail}#" class="b-lazy" 143 <img data-src="{$base_path}/{$value.thumbnail}#" class="b-lazy"
144 src="" 144 src=""
145 alt="" width="{$thumbnails_width}" height="{$thumbnails_height}" /> 145 alt="" width="{$thumbnails_width}" height="{$thumbnails_height}" />
146 </a> 146 </a>
diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html
index 1e97b366..3b5fccc3 100644
--- a/tpl/default/picwall.html
+++ b/tpl/default/picwall.html
@@ -9,7 +9,7 @@
9{if="count($linksToDisplay)===0 && $is_logged_in"} 9{if="count($linksToDisplay)===0 && $is_logged_in"}
10 <div class="pure-g pure-alert pure-alert-warning page-single-alert"> 10 <div class="pure-g pure-alert pure-alert-warning page-single-alert">
11 <div class="pure-u-1 center"> 11 <div class="pure-u-1 center">
12 {'There is no cached thumbnail. Try to <a href="{$base_path}/do=thumbs_update">synchronize them</a>.'|t} 12 {'There is no cached thumbnail. Try to <a href="{$base_path}/admin/thumbnails">synchronize them</a>.'|t}
13 </div> 13 </div>
14 </div> 14 </div>
15{/if} 15{/if}
diff --git a/tpl/default/tools.html b/tpl/default/tools.html
index 31f33a09..2cb08e38 100644
--- a/tpl/default/tools.html
+++ b/tpl/default/tools.html
@@ -47,7 +47,7 @@
47 47
48 {if="$thumbnails_enabled"} 48 {if="$thumbnails_enabled"}
49 <div class="tools-item"> 49 <div class="tools-item">
50 <a href="{$base_path}/?do=thumbs_update" title="{'Synchronize all link thumbnails'|t}"> 50 <a href="{$base_path}/admin/thumbnails" title="{'Synchronize all link thumbnails'|t}">
51 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Synchronize thumbnails'|t}</span> 51 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Synchronize thumbnails'|t}</span>
52 </a> 52 </a>
53 </div> 53 </div>
diff --git a/tpl/vintage/configure.html b/tpl/vintage/configure.html
index d04c69a9..c5861aae 100644
--- a/tpl/vintage/configure.html
+++ b/tpl/vintage/configure.html
@@ -159,7 +159,7 @@
159 {if="! $gd_enabled"} 159 {if="! $gd_enabled"}
160 {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t} 160 {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t}
161 {elseif="$thumbnails_enabled"} 161 {elseif="$thumbnails_enabled"}
162 <a href="{$base_path}/?do=thumbs_update">{'Synchonize thumbnails'|t}</a> 162 <a href="{$base_path}/admin/thumbnails">{'Synchonize thumbnails'|t}</a>
163 {/if} 163 {/if}
164 </label> 164 </label>
165 </td> 165 </td>