summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/views/file_plaintext/html_footer.php6
-rw-r--r--application/views/file_plaintext/html_header.php22
2 files changed, 2 insertions, 26 deletions
diff --git a/application/views/file_plaintext/html_footer.php b/application/views/file_plaintext/html_footer.php
index ddc460a39..d46a93ce4 100644
--- a/application/views/file_plaintext/html_footer.php
+++ b/application/views/file_plaintext/html_footer.php
@@ -1,5 +1 @@
- </td>
- </tr>
- </table>
- </body>
-</html>
+<?php include "application/views/file/html_footer.php"; ?>
diff --git a/application/views/file_plaintext/html_header.php b/application/views/file_plaintext/html_header.php
index 52ffab007..5cc4c40a7 100644
--- a/application/views/file_plaintext/html_header.php
+++ b/application/views/file_plaintext/html_header.php
@@ -1,21 +1 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title><?php echo $title; ?></title>
- <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/paste.css" />
- <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/paste-<?php echo $current_highlight; ?>.css" />
- </head>
- <body>
- <div class="top_bar">
- <a class="raw_link no" href="<?php echo $new_link; ?>">New</a> |
- <a class="raw_link no" href="<?php echo $raw_link; ?>">Raw</a> |
- <a class="raw_link no" href="<?php echo $plain_link; ?>">Plain</a> |
- Currently: <?php echo $current_highlight; ?> |
- Timeout: <a class="raw_link no" href="<?php echo $delete_link; ?>" title="delete"><?php echo $timeout; ?></a>
- <div style="float:right;">
- <a class="raw_link no" href="<?php echo $auto_link; ?>">Code</a> |
- <a class="raw_link no" href="<?php echo $rmd_link; ?>">Render Markdown</a>
- </div>
- </div>
- <table class="content">
- <tr>
+<?php include "application/views/file/html_header.php"; ?>