Move settings to auth controller
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php $this->load->view('header');?>
|
||||
|
||||
<div id="content">
|
||||
<form name="settings" action="<?=('settings');?>" method="post">
|
||||
<form name="settings" action="<?=site_url('auth/settings');?>" method="post">
|
||||
<div class="title">
|
||||
<h2><?=_('Settings');?></h2>
|
||||
</div>
|
||||
@@ -29,7 +29,7 @@
|
||||
<option value="<?=site_url('projects');?>">Projekte verwalten</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="menu"><?= _('Hello,') ?> <a href="<?=site_url('');?>"><?=$this->user->profile()->firstname;?> <?=$this->user->profile()->lastname;?></a>! | <?=lang_select('assets/images');?> | <a href="#"><?=_('Help')?></a> | <?=anchor('settings', _('Settings'));?> | <?=anchor('auth/logout', _('Logout'));?></div>
|
||||
<div class="menu"><?= _('Hello,') ?> <a href="<?=site_url('');?>"><?=$this->user->profile()->firstname;?> <?=$this->user->profile()->lastname;?></a>! | <?=lang_select('assets/images');?> | <a href="#"><?=_('Help')?></a> | <?=anchor('auth/settings', _('Settings'));?> | <?=anchor('auth/logout', _('Logout'));?></div>
|
||||
</div>
|
||||
|
||||
<div id="wrapper">
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user