summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-08 23:36:30 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-09 20:47:38 +0200
commit4bbdd1d7737c100668c7adb952ec181f941e6a55 (patch)
treed93956706b35cfdff6846811257265e2879903d7 /application/controllers/file.php
parent35b45a559472a660dc08a3bc518161e7ab400175 (diff)
improve page titles
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php9
1 files changed, 5 insertions, 4 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");