diff --git a/application/controllers/settings.php b/application/controllers/settings.php new file mode 100644 index 0000000..0ddf57c --- /dev/null +++ b/application/controllers/settings.php @@ -0,0 +1,33 @@ +load->model('program'); + + // load language file + $this->lang->load(strtolower($this->router->class)); + } + + /** + * Show a list of all available programs. + */ + public function index() { + $profile = $this->user->profile(); + $profile_fields = array( + array('firstname', 'Vorname', 'text'), + array('lastname', 'Nachname', 'text'), + array('intitution', 'Institution', 'text'), + ); + $tpl['profile'] = $profile; + $tpl['profile_fields'] = $profile_fields; + $this->load->view('user/settings', $tpl); + } +} diff --git a/application/views/user/settings.php b/application/views/user/settings.php new file mode 100644 index 0000000..4d00241 --- /dev/null +++ b/application/views/user/settings.php @@ -0,0 +1,41 @@ +load->view('header'); ?> + +
+
+
+

Einstellungen

+
+ + +
+
+ + + + + + +
+
+
+
+
    +
  • + +
    + +
  • +
+
+
+
+
+ +load->view('footer'); ?>