<div class = "box">
<?php if (Zend_Auth::getInstance()->hasIdentity()) : ?>

<h2><?php print "logout"; //print $this->translate('sidebar_logout') ?></h2>

<center><?php print Zend_Auth::getInstance()->getIdentity()->role_role ?></center>
<?php $url = $this->url(array('controller' => 'user', 'action' => 'edit','id_user'=>Zend_Auth::getInstance()->getIdentity()->id_user), 'default', true);?>
<br><center><?php print "<a href = \"".$url."/\"".">".Zend_Auth::getInstance()->getIdentity()->user_name."</a>";?></center>

<?php print $this->userForm->render(); ?>

<?php else : ?>
<h2><?php print "sidebar_login";//print $this->translate('sidebar_login') ?></h2>
<?php print $this->userForm->render(); ?>
<?php endif; ?>
</div>

<!--
<div class = "box">
<h2><?php //print "categories" //print $this->translate('sidebar_categories')?></h2>
<?php //print $this->sidebarMenu ?>
</div>
--> 
