diff --git a/inc/shaarli.css b/inc/shaarli.css index 4bd5281..325515e 100644 --- a/inc/shaarli.css +++ b/inc/shaarli.css @@ -812,6 +812,10 @@ div.dailyEntryTitle { font-weight: bold; } +div.dailyEntryLinkdate { + font-size: 8pt; +} + div.dailyEntryThumbnail { width: 100%; text-align: center; diff --git a/index.php b/index.php index 4a91220..4729324 100644 --- a/index.php +++ b/index.php @@ -1151,6 +1151,7 @@ function showDaily() $linksToDisplay[$key]['taglist']=$taglist; $linksToDisplay[$key]['formatedDescription']=nl2br(keepMultipleSpaces(text2clickable(htmlspecialchars($link['description'])))); $linksToDisplay[$key]['thumbnail'] = thumbnail($link['url']); + $linksToDisplay[$key]['localdate'] = linkdate2locale($link['linkdate']); } /* We need to spread the articles on 3 columns. diff --git a/tpl/daily.html b/tpl/daily.html index e39ae7a..c53e6f7 100644 --- a/tpl/daily.html +++ b/tpl/daily.html @@ -28,6 +28,11 @@ permalink + {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"} +
+ {$link.localdate} +
+ {/if} {if="$link.tags"}
{loop="link.taglist"}