Browse Source

update menu order

main
ghost 1 year ago
parent
commit
2c8adbc1e4
  1. 4
      src/public/action.php
  2. 4
      src/public/edit.php
  3. 4
      src/public/index.php

4
src/public/action.php

@ -425,14 +425,14 @@ switch (isset($_GET['target']) ? urldecode($_GET['target']) : false)
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="column width-100 text-center margin-y-8"> <div class="column width-100 text-center margin-y-8">
<a href="<?php echo WEBSITE_URL ?>/index.php?rss"><?php echo _('RSS') ?></a>
|
<?php foreach (TRACKER_LINKS as $name => $value) { ?> <?php foreach (TRACKER_LINKS as $name => $value) { ?>
<a href="<?php echo $value->announce ?>"><?php echo $name ?></a> <a href="<?php echo $value->announce ?>"><?php echo $name ?></a>
/ /
<a href="<?php echo $value->stats ?>"><?php echo _('Stats') ?></a> <a href="<?php echo $value->stats ?>"><?php echo _('Stats') ?></a>
| |
<?php } ?> <?php } ?>
<a href="<?php echo WEBSITE_URL ?>/index.php?rss"><?php echo _('RSS') ?></a>
|
<a href="https://github.com/YGGverse/YGGtracker"><?php echo _('GitHub') ?></a> <a href="https://github.com/YGGverse/YGGtracker"><?php echo _('GitHub') ?></a>
</div> </div>
</div> </div>

4
src/public/edit.php

@ -543,14 +543,14 @@ else {
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="column width-100 text-center margin-y-8"> <div class="column width-100 text-center margin-y-8">
<a href="<?php echo WEBSITE_URL ?>/index.php?rss"><?php echo _('RSS') ?></a>
|
<?php foreach (TRACKER_LINKS as $name => $value) { ?> <?php foreach (TRACKER_LINKS as $name => $value) { ?>
<a href="<?php echo $value->announce ?>"><?php echo $name ?></a> <a href="<?php echo $value->announce ?>"><?php echo $name ?></a>
/ /
<a href="<?php echo $value->stats ?>"><?php echo _('Stats') ?></a> <a href="<?php echo $value->stats ?>"><?php echo _('Stats') ?></a>
| |
<?php } ?> <?php } ?>
<a href="<?php echo WEBSITE_URL ?>/index.php?rss"><?php echo _('RSS') ?></a>
|
<a href="https://github.com/YGGverse/YGGtracker"><?php echo _('GitHub') ?></a> <a href="https://github.com/YGGverse/YGGtracker"><?php echo _('GitHub') ?></a>
</div> </div>
</div> </div>

4
src/public/index.php

@ -318,14 +318,14 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="column width-100 text-center margin-y-8"> <div class="column width-100 text-center margin-y-8">
<a href="<?php echo WEBSITE_URL ?>/index.php?rss<?php echo $request->query ? sprintf('&query=%s', urlencode($request->query)) : false ?>"><?php echo _('RSS') ?></a>
|
<?php foreach (TRACKER_LINKS as $name => $value) { ?> <?php foreach (TRACKER_LINKS as $name => $value) { ?>
<a href="<?php echo $value->announce ?>"><?php echo $name ?></a> <a href="<?php echo $value->announce ?>"><?php echo $name ?></a>
/ /
<a href="<?php echo $value->stats ?>"><?php echo _('Stats') ?></a> <a href="<?php echo $value->stats ?>"><?php echo _('Stats') ?></a>
| |
<?php } ?> <?php } ?>
<a href="<?php echo WEBSITE_URL ?>/index.php?rss<?php echo $request->query ? sprintf('&query=%s', urlencode($request->query)) : false ?>"><?php echo _('RSS') ?></a>
|
<a href="https://github.com/YGGverse/YGGtracker"><?php echo _('GitHub') ?></a> <a href="https://github.com/YGGverse/YGGtracker"><?php echo _('GitHub') ?></a>
</div> </div>
</div> </div>

Loading…
Cancel
Save