aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/linklist.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2015-03-12 21:57:19 +0100
committernodiscc <nodiscc@gmail.com>2015-03-31 13:19:07 +0200
commitbec18701801cc140d760c261dd115fda1507a0dd (patch)
treecde4d11ddc75202e85b6d0f307d2b8523aa6c487 /tpl/linklist.html
parent129ff3c2e50154d563de12c85ec7597df5bded5a (diff)
downloadShaarli-bec18701801cc140d760c261dd115fda1507a0dd.tar.gz
Shaarli-bec18701801cc140d760c261dd115fda1507a0dd.tar.zst
Shaarli-bec18701801cc140d760c261dd115fda1507a0dd.zip
Define date format in templates instead of index.php.
Diffstat (limited to 'tpl/linklist.html')
-rw-r--r--tpl/linklist.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html
index 353eca52..766a80ce 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -44,7 +44,7 @@
44 <br> 44 <br>
45 {if="$value.description"}<div class="linkdescription">{$value.description}</div>{/if} 45 {if="$value.description"}<div class="linkdescription">{$value.description}</div>{/if}
46 {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"} 46 {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"}
47 <span class="linkdate" title="Permalink"><a href="?{$value.linkdate|smallHash}">{$value.localdate|htmlspecialchars} - permalink</a> - </span> 47 <span class="linkdate" title="Permalink"><a href="?{$value.linkdate|smallHash}">{function="strftime('%c', $value.timestamp)"} - permalink</a> - </span>
48 {else} 48 {else}
49 <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span> 49 <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span>
50 {/if} 50 {/if}
@@ -53,7 +53,7 @@
53 {/if} 53 {/if}
54 <div class="linkqrcode"><a href="http://qrfree.kaywa.com/?l=1&amp;s=8&amp;d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" 54 <div class="linkqrcode"><a href="http://qrfree.kaywa.com/?l=1&amp;s=8&amp;d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}"
55 onclick="return showQrCode(this);" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"> 55 onclick="return showQrCode(this);" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}">
56 <img src="images/qrcode.png#" alt="QR-Code" title="{$value.localdate|htmlspecialchars}"></a></div> - 56 <img src="images/qrcode.png#" alt="QR-Code" title="{function="strftime('%c', $value.timestamp)"}"></a></div> -
57 <a href="{$value.url|htmlspecialchars}"><span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span></a><br> 57 <a href="{$value.url|htmlspecialchars}"><span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span></a><br>
58 {if="$value.tags"} 58 {if="$value.tags"}
59 <div class="linktaglist"> 59 <div class="linktaglist">