Browse Source

fix w3c validation errors

yggdrasil-0.4.7
ghost 1 year ago
parent
commit
49a90100cc
  1. 4
      src/public/peer.php
  2. 2
      src/public/search.php

4
src/public/peer.php

@ -291,10 +291,10 @@ $peerInfo = $memory->getByMethodCallback($db, 'getPeerInfo', [$requestPeerId]); @@ -291,10 +291,10 @@ $peerInfo = $memory->getByMethodCallback($db, 'getPeerInfo', [$requestPeerId]);
</div>
<h2>
<?php echo _('Traffic') ?>
<div class="float-right">
<span class="float-right">
<?php echo sprintf(_('%s - %s'), date('Y.m.d', strtotime(sprintf('%s-%s-%s 00:00', date('Y', $requestTime), date('n', $requestTime), 1), $requestTime)),
date('Y.m.d', strtotime('+1 month', strtotime(sprintf('%s-%s-%s 00:00', date('Y', $requestTime), date('n', $requestTime), 1), $requestTime)))) ?>
</div>
</span>
</h2>
<div class="yggverse_graph_calendar__month">
<?php foreach ($calendar->getNodes() as $day => $node) { ?>

2
src/public/search.php

@ -103,7 +103,7 @@ $results = $sphinx->searchPeers($requestQuery, @@ -103,7 +103,7 @@ $results = $sphinx->searchPeers($requestQuery,
<th class="text-center"><?php echo _('Remote host') ?></th>
<th class="text-center"><?php echo _('Remote port') ?></th>
</tr>
<thead>
</thead>
<tbody>
<?php foreach ($results as $result) { ?>
<tr>

Loading…
Cancel
Save