suppression du backend
This commit is contained in:
parent
bed36082ae
commit
5fdd0a9e0a
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
class Backend_IndexController extends Zend_Controller_Action
|
||||
{
|
||||
|
||||
public function init()
|
||||
{
|
||||
/* Initialize action controller here */
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$auth = Zend_Auth::getInstance();
|
||||
$user = $auth->getIdentity();
|
||||
if($user->username != 'fzicaro' and $user->username != 'dlasserre')
|
||||
$this->_redirect('/');
|
||||
if ($user->customisation) {
|
||||
$this->view->assign('preferences', $user->customisation);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,20 +0,0 @@
|
||||
<div id="tabs">
|
||||
<ul>
|
||||
<li><a href="#tabs-1">Gestion des utilisateurs</a></li>
|
||||
<li><a href="#tabs-2">Gestion des comptages</a></li>
|
||||
<li><a href="#tabs-3">Gestion des fichiers</a></li>
|
||||
<li><a href="#tabs-4">Statistiques</a></li>
|
||||
</ul>
|
||||
<div id="tabs-1">
|
||||
<?php //echo $this->action('index', 'entreprise')?>
|
||||
</div>
|
||||
<div id="tabs-2">
|
||||
<?php //echo $this->action('index', 'economique')?>
|
||||
</div>
|
||||
<div id="tabs-3">
|
||||
<?php //echo $this->action('index', 'geographique')?>
|
||||
</div>
|
||||
<div id="tabs-4">
|
||||
<?php //echo $this->action('index', 'juridique')?>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user