Browse Source

Fix paste raw link

pull/4/head
falkTX 9 years ago
parent
commit
37d38e1f34
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      includes/footer.php
  2. +1
    -1
      includes/header.php

+ 1
- 1
includes/footer.php View File

@@ -20,7 +20,7 @@
<?php } else if ($PAGE_TYPE == "PASTE") { ?>
<li><a href="<?php echo $ROOT; ?>/Paste" title="Create new paste">New Paste</a></li>
<?php if ($show_paste && ! $is_error) { ?>
<li><a href="<?php echo $ROOT; ?>/Paste/repo/<?php echo $paste_id; ?>" target="blank" title="View RAW">View RAW</a></li>
<li><a href="<?php echo $ROOT; ?>/Paste/raw/<?php echo $paste_id; ?>" target="blank" title="View RAW">View RAW</a></li>
<li><a href="<?php echo $ROOT; ?>/Paste/download.php?id=<?php echo $paste_id; ?>" title="Download">Download</a></li>
<?php } ?>
<?php } ?>


+ 1
- 1
includes/header.php View File

@@ -270,7 +270,7 @@ if ($PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE != "NAMESPA
<?php } else if ($PAGE_TYPE == "PASTE") { ?>
<li><a href="<?php echo $ROOT; ?>/Paste" title="Create new paste">New Paste</a></li>
<?php if ($show_paste && ! $is_error) { ?>
<li><a href="<?php echo $ROOT; ?>/Paste/repo/<?php echo $paste_id; ?>" target="blank" title="View RAW">View RAW</a></li>
<li><a href="<?php echo $ROOT; ?>/Paste/raw/<?php echo $paste_id; ?>" target="blank" title="View RAW">View RAW</a></li>
<li><a href="<?php echo $ROOT; ?>/Paste/download.php?id=<?php echo $paste_id; ?>" title="Download">Download</a></li>
<?php } ?>
<?php } ?>


Loading…
Cancel
Save