Skip to content
Snippets Groups Projects
Commit c4df7073 authored by llaffont's avatar llaffont
Browse files

Correction affichage du bouton permettant d'activer les outils d'administration dans le footer

parent 63d96a7e
No related merge requests found
......@@ -12,10 +12,6 @@
echo '<td style="text-align:center; white-space: nowrap">';
echo $this->tagImg(URL_ADMIN_IMG.'ico/edit.gif',
['alt' => $this->_("Afficher les outils d\'administration"),
'title' => $this->_("Afficher les outils d\'administration"),
'onclick' => 'toggleMenuAdmin();return true;']);
$profil = Class_Profil::getCurrentProfil();
echo $this->tagAnchor(['module' => 'admin',
'controller' => 'profil',
......
......@@ -33,12 +33,12 @@ $head_scripts = Class_ScriptLoader::newInstance()
initializeNoticeMurAnimation();
initializeImgHover();
initializePopups()')
->addJQueryBackEnd(sprintf('$("#footer div div+div+div").prepend(\'%s\')',
->addJQueryBackEnd(sprintf('$("#select_clef_profil").parent().prepend(\'%s\')',
$this->tagImg(URL_ADMIN_IMG.'ico/lock.png',
['alt' => $this->_("Afficher les outils d\'administration"),
'title' => $this->_("Afficher les outils d\'administration"),
'onclick' => 'toggleMenuAdmin($(this));',
'style'=>'vertical-align:middle;padding-left:10px;'])))
'style'=>'vertical-align:middle;padding-left:10px;'])))
->showNotifications();
if (file_exists(PATH_SKIN.'/css/bib.css'))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment