Browse Source

update footer line break

yggdrasil-0.4.7
ghost 1 year ago
parent
commit
7edb88a67a
  1. 3
      src/public/index.php
  2. 4
      src/public/peer.php

3
src/public/index.php

@ -354,7 +354,8 @@ $peers = $memory->getByMethodCallback( @@ -354,7 +354,8 @@ $peers = $memory->getByMethodCallback(
<div class="column width-50 width-tablet-100 width-mobile-100 text-right">
<?php echo sprintf(_('server time: %s / %s'), time(), date('c')) ?>
<br />
<?php echo sprintf(_('database since %s contains %s peers'), date('M, Y', $memory->getByMethodCallback($db, 'getPeerFirstByTimeAdded')->timeAdded),
<?php echo sprintf(_('database since %s contains %s peers'),
date('M, Y', $memory->getByMethodCallback($db, 'getPeerFirstByTimeAdded')->timeAdded),
$memory->getByMethodCallback($db, 'getPeersTotal')) ?>
</div>
</div>

4
src/public/peer.php

@ -344,7 +344,9 @@ $peerInfo = $memory->getByMethodCallback($db, 'getPeerInfo', [$requestPeerId]); @@ -344,7 +344,9 @@ $peerInfo = $memory->getByMethodCallback($db, 'getPeerInfo', [$requestPeerId]);
<div class="column width-50 width-tablet-100 width-mobile-100 text-right">
<?php echo sprintf(_('server time: %s / %s'), time(), date('c')) ?>
<br />
<?php echo sprintf(_('database since %s contains %s peers'), date('M, Y', $memory->getByMethodCallback($db, 'getPeerFirstByTimeAdded')->timeAdded), $memory->getByMethodCallback($db, 'getPeersTotal')) ?>
<?php echo sprintf(_('database since %s contains %s peers'),
date('M, Y', $memory->getByMethodCallback($db, 'getPeerFirstByTimeAdded')->timeAdded),
$memory->getByMethodCallback($db, 'getPeersTotal')) ?>
</div>
</div>
</div>

Loading…
Cancel
Save