daily: display link timestamps
Fixes #26 Signed-off-by: VirtualTam <virtualtam@flibidi.org>
This commit is contained in:
parent
486f25a5f4
commit
38a2d03e34
3 changed files with 10 additions and 0 deletions
|
@ -812,6 +812,10 @@ div.dailyEntryTitle {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.dailyEntryLinkdate {
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
div.dailyEntryThumbnail {
|
div.dailyEntryThumbnail {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -1151,6 +1151,7 @@ function showDaily()
|
||||||
$linksToDisplay[$key]['taglist']=$taglist;
|
$linksToDisplay[$key]['taglist']=$taglist;
|
||||||
$linksToDisplay[$key]['formatedDescription']=nl2br(keepMultipleSpaces(text2clickable(htmlspecialchars($link['description']))));
|
$linksToDisplay[$key]['formatedDescription']=nl2br(keepMultipleSpaces(text2clickable(htmlspecialchars($link['description']))));
|
||||||
$linksToDisplay[$key]['thumbnail'] = thumbnail($link['url']);
|
$linksToDisplay[$key]['thumbnail'] = thumbnail($link['url']);
|
||||||
|
$linksToDisplay[$key]['localdate'] = linkdate2locale($link['linkdate']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We need to spread the articles on 3 columns.
|
/* We need to spread the articles on 3 columns.
|
||||||
|
|
|
@ -28,6 +28,11 @@
|
||||||
<img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink">
|
<img src="../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
{if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"}
|
||||||
|
<div class="dailyEntryLinkdate">
|
||||||
|
<a href="?{$link.linkdate|smallHash}">{$link.localdate}</a>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
{if="$link.tags"}
|
{if="$link.tags"}
|
||||||
<div class="dailyEntryTags">
|
<div class="dailyEntryTags">
|
||||||
{loop="link.taglist"}
|
{loop="link.taglist"}
|
||||||
|
|
Loading…
Reference in a new issue