summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/controllers/file.php9
-rw-r--r--application/models/file_mod.php2
2 files changed, 6 insertions, 5 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 3f75835bb..466037833 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -57,6 +57,7 @@ class File extends CI_Controller {
}
$this->data['username'] = $this->muser->get_username();
+ $this->data['title'] = "FileBin";
}
function index()
@@ -78,7 +79,7 @@ class File extends CI_Controller {
function client()
{
- $this->data['title'] = 'Client';
+ $this->data['title'] .= ' - Client';
if ($this->var->latest_client) {
$this->data['client_link'] = base_url().'data/client/fb-'.$this->var->latest_client.'.tar.gz';
} else {
@@ -101,7 +102,7 @@ class File extends CI_Controller {
{
$this->muser->require_access();
- $this->data['title'] = 'Upload';
+ $this->data['title'] .= ' - Upload';
$this->data['small_upload_size'] = $this->config->item('small_upload_size');
$this->data['max_upload_size'] = $this->config->item('upload_max_size');
$this->data['upload_max_age'] = $this->config->item('upload_max_age')/60/60/24;
@@ -135,7 +136,7 @@ class File extends CI_Controller {
$query = array();
$lengths = array();
$fields = array("id", "filename", "mimetype", "date", "hash");
- $this->data['title'] = 'Upload history';
+ $this->data['title'] .= ' - Upload history';
foreach($fields as $length_key) {
$lengths[$length_key] = 0;
}
@@ -179,7 +180,7 @@ class File extends CI_Controller {
$this->muser->require_access();
$id = $this->uri->segment(3);
- $this->data["title"] = "Delete";
+ $this->data["title"] .= " - Delete $id";
$this->data["id"] = $id;
$process = $this->input->post("process");
diff --git a/application/models/file_mod.php b/application/models/file_mod.php
index 08f43853c..68755cc54 100644
--- a/application/models/file_mod.php
+++ b/application/models/file_mod.php
@@ -125,7 +125,7 @@ class File_mod extends CI_Model {
function non_existent()
{
- $data["title"] = "Not Found";
+ $data["title"] .= " - Not Found";
$this->output->set_status_header(404);
$this->load->view($this->var->view_dir.'/header', $data);
$this->load->view($this->var->view_dir.'/non_existent', $data);