Merge pull request #100 from virtualtam/daily-timestamp
daily: display link timestamps
This commit is contained in:
commit
852613dece
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