diff options
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/daily.html | 2 | ||||
-rw-r--r-- | tpl/default/linklist.html | 20 | ||||
-rw-r--r-- | tpl/default/picwall.html | 2 |
3 files changed, 21 insertions, 3 deletions
diff --git a/tpl/default/daily.html b/tpl/default/daily.html index 816e5d0a..2c409478 100644 --- a/tpl/default/daily.html +++ b/tpl/default/daily.html | |||
@@ -72,7 +72,7 @@ | |||
72 | {if="$thumbnails_enabled && !empty($link.thumbnail)"} | 72 | {if="$thumbnails_enabled && !empty($link.thumbnail)"} |
73 | <div class="daily-entry-thumbnail"> | 73 | <div class="daily-entry-thumbnail"> |
74 | <img data-src="{$link.thumbnail}#" class="b-lazy" | 74 | <img data-src="{$link.thumbnail}#" class="b-lazy" |
75 | src="#" | 75 | src="" |
76 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | 76 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
77 | </div> | 77 | </div> |
78 | {/if} | 78 | {/if} |
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 97730c29..ed78f40a 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -125,6 +125,8 @@ | |||
125 | {$strPermalink=t('Permalink')} | 125 | {$strPermalink=t('Permalink')} |
126 | {$strPermalinkLc=t('permalink')} | 126 | {$strPermalinkLc=t('permalink')} |
127 | {$strAddTag=t('Add tag')} | 127 | {$strAddTag=t('Add tag')} |
128 | {$strToggleSticky=t('Toggle sticky')} | ||
129 | {$strSticky=t('Sticky')} | ||
128 | {ignore}End of translations{/ignore} | 130 | {ignore}End of translations{/ignore} |
129 | {loop="links"} | 131 | {loop="links"} |
130 | <div class="anchor" id="{$value.shorturl}"></div> | 132 | <div class="anchor" id="{$value.shorturl}"></div> |
@@ -137,7 +139,7 @@ | |||
137 | <a href="{$value.real_url}"> | 139 | <a href="{$value.real_url}"> |
138 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} | 140 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} |
139 | <img data-src="{$value.thumbnail}#" class="b-lazy" | 141 | <img data-src="{$value.thumbnail}#" class="b-lazy" |
140 | src="#" | 142 | src="" |
141 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | 143 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
142 | </a> | 144 | </a> |
143 | </div> | 145 | </div> |
@@ -201,7 +203,23 @@ | |||
201 | <i class="fa fa-trash"></i> | 203 | <i class="fa fa-trash"></i> |
202 | </a> | 204 | </a> |
203 | </span> | 205 | </span> |
206 | <span class="linklist-item-infos-controls-item ctrl-pin"> | ||
207 | <a href="?do=pin&id={$value.id}&token={$token}" | ||
208 | title="{$strToggleSticky}" class="pin-link {if="$value.sticky"}pinned-link{/if} pure-u-0 pure-u-lg-visible"> | ||
209 | <i class="fa fa-thumb-tack"></i> | ||
210 | </a> | ||
211 | </span> | ||
204 | </div> | 212 | </div> |
213 | {else} | ||
214 | {if="$value.sticky"} | ||
215 | <div class="linklist-item-infos-controls-group pure-u-0 pure-u-lg-visible"> | ||
216 | <span class="linklist-item-infos-controls-item ctrl-pin"> | ||
217 | <span title="{$strSticky}" class="pin-link pinned-link pure-u-0 pure-u-lg-visible"> | ||
218 | <i class="fa fa-thumb-tack"></i> | ||
219 | </span> | ||
220 | </span> | ||
221 | </div> | ||
222 | {/if} | ||
205 | {/if} | 223 | {/if} |
206 | <a href="?{$value.shorturl}" title="{$strPermalink}"> | 224 | <a href="?{$value.shorturl}" title="{$strPermalink}"> |
207 | {if="!$hide_timestamps || $is_logged_in"} | 225 | {if="!$hide_timestamps || $is_logged_in"} |
diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 9a0b10dc..4c325487 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html | |||
@@ -37,7 +37,7 @@ | |||
37 | <div class="picwall-pictureframe"> | 37 | <div class="picwall-pictureframe"> |
38 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} | 38 | {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} |
39 | <img data-src="{$value.thumbnail}#" class="b-lazy" | 39 | <img data-src="{$value.thumbnail}#" class="b-lazy" |
40 | src="#" | 40 | src="" |
41 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> | 41 | alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> |
42 | <a href="{$value.real_url}"><span class="info">{$value.title}</span></a> | 42 | <a href="{$value.real_url}"><span class="info">{$value.title}</span></a> |
43 | {loop="$value.picwall_plugin"} | 43 | {loop="$value.picwall_plugin"} |