mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 12:31:06 -05:00
thousands separator
This commit is contained in:
parent
f24d0d3779
commit
70c71ef162
@ -29,7 +29,7 @@
|
||||
<td class="first"><a href="<?php echo site_url("view/".$paste['pid']); ?>"><?php echo $paste['title']; ?></a></td>
|
||||
<td><?php echo $paste['name']; ?></td>
|
||||
<td><?php echo $paste['lang']; ?></td>
|
||||
<td><?php echo $paste['hits']; ?></td>
|
||||
<td><?php echo number_format($paste['hits'], 0, '.', "'"); ?></td>
|
||||
<td><?php $p = explode(",", timespan($paste['created'], time())); echo $p[0]; ?> ago.</td>
|
||||
</tr>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
<div class="info">
|
||||
<h1 class="pagetitle right"><?php echo $title; ?></h1>
|
||||
<div class="meta">
|
||||
<span class="detail by">By <?php echo $name; ?>, <?php $p = explode(',', timespan($created, time())); echo $p[0]?> ago, written in <?php echo $lang; ?>, viewed <?php echo $hits; ?> times.</span>
|
||||
<span class="detail by">By <?php echo $name; ?>, <?php $p = explode(',', timespan($created, time())); echo $p[0]?> ago, written in <?php echo $lang; ?>, viewed <?php echo number_format($hits, 0, '.', "'"); ?> times.</span>
|
||||
<?php if(isset($inreply)){?><span class="detail by">This paste is a reply to <a href="<?php echo $inreply['url']?>"><?php echo $inreply['title']; ?></a> by <?php echo $inreply['name']; ?></span><?php }?>
|
||||
<div class="spacer"></div>
|
||||
<span class="detail"><span class="item">URL </span><a href="<?php echo $url; ?>"><?php echo $url; ?></a></span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user