Browse Source

display shortened page URL instead of host address, change column name

main
ghost 1 year ago
parent
commit
6d5901c101
  1. 4
      public/top.php

4
public/top.php

@ -235,7 +235,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the @@ -235,7 +235,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
<table>
<tr>
<th><?php echo _('#') ?></th>
<th><?php echo _('Address') ?></th>
<th><?php echo _('URL') ?></th>
<th><?php echo _('PR') ?></th>
<th><?php echo _('Actions') ?></th>
</tr>
@ -258,7 +258,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the @@ -258,7 +258,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
<?php } ?>
<a href="<?php echo $topHostPage->hostPageURL ?>"title="<?php echo trim($title) ?>">
<img src="<?php echo WEBSITE_DOMAIN; ?>/file.php?type=identicon&query=<?php echo urlencode($topHostPage->name) ?>" alt="identicon" width="16" height="16" class="icon" />
<?php echo htmlentities(urldecode($topHostPage->hostURL)) ?>
<?php echo htmlentities(urldecode($topHostPage->hostURL) . (mb_strlen(urldecode($topHostPage->uri)) > 16 ? '...' . mb_substr(urldecode($topHostPage->uri), -16) : urldecode($topHostPage->uri))) ?>
</a>
</td>
<td>

Loading…
Cancel
Save