summaryrefslogtreecommitdiffstats
path: root/system/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-11-01 17:25:03 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-11-02 13:36:54 +0100
commit4e058f32ff6174698709a9afdf67f4f9af60e7db (patch)
tree26d18dacd491f4d7a75949ed5373268850e11973 /system/application/controllers/file.php
parent2d31c619e6177e26b4f141b9cfd8ac27962d1a2f (diff)
move client/shell stuff to an own page; cleanup upload_form
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/controllers/file.php')
-rw-r--r--system/application/controllers/file.php16
1 files changed, 13 insertions, 3 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php
index 18e322f97..7d0943bdd 100644
--- a/system/application/controllers/file.php
+++ b/system/application/controllers/file.php
@@ -48,15 +48,25 @@ class File extends Controller {
}
}
+ function client()
+ {
+ $data['title'] = 'Client';
+ $data['client_link'] = base_url().'data/client/fb-'.$this->var->latest_client.'.tar.gz';
+ $data['client_link_dir'] = base_url().'data/client/';
+ $data['client_link_deb'] = base_url().'data/client/deb/';
+ $data['client_link_slackware'] = base_url().'data/client/slackware/';
+
+ $this->load->view('file/header', $data);
+ $this->load->view('file/client', $data);
+ $this->load->view('file/footer', $data);
+ }
+
function upload_form()
{
$data = array();
$data['title'] = 'Upload';
$data['small_upload_size'] = $this->config->item('small_upload_size');
$data['max_upload_size'] = $this->config->item('upload_max_size');
- $data['client_link'] = base_url().'data/client/fb-'.$this->var->latest_client.'.tar.gz';
- $data['client_link_deb'] = base_url().'data/client/deb/';
- $data['client_link_slackware'] = base_url().'data/client/slackware/';
$this->load->view('file/header', $data);
$this->load->view('file/upload_form', $data);