suppression du backend

This commit is contained in:
Damien LASSERRE 2012-02-15 09:32:54 +00:00
parent bed36082ae
commit 5fdd0a9e0a
2 changed files with 0 additions and 44 deletions

View File

@ -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);
}
}
}

View File

@ -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>