diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/application/models/file_mod.php | 1 | ||||
-rw-r--r-- | system/application/views/file/header.php | 4 | ||||
-rw-r--r-- | system/application/views/file/html_header.php | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/system/application/models/file_mod.php b/system/application/models/file_mod.php index b93aab354..0ae64410d 100644 --- a/system/application/models/file_mod.php +++ b/system/application/models/file_mod.php @@ -190,6 +190,7 @@ class File_mod extends Model { ) { $data['title'] = $filedata['filename']; $data['raw_link'] = site_url($id); + $data['new_link'] = site_url(); $data['plain_link'] = site_url($id.'/plain'); $data['auto_link'] = site_url($id).'/'; $data['rmd_link'] = site_url($id.'/rmd'); diff --git a/system/application/views/file/header.php b/system/application/views/file/header.php index 76d21e076..aba7283a7 100644 --- a/system/application/views/file/header.php +++ b/system/application/views/file/header.php @@ -9,9 +9,7 @@ <body> <div class="top"> - <ul class="nav"> - <li><?php echo anchor('file/index', 'Upload'); ?></li> - </ul> + <?php echo anchor('file/index', 'New'); ?> </div> <div class="clearer" ></div> diff --git a/system/application/views/file/html_header.php b/system/application/views/file/html_header.php index ebb52a433..ef5b204ff 100644 --- a/system/application/views/file/html_header.php +++ b/system/application/views/file/html_header.php @@ -7,6 +7,7 @@ </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; ?> |