Restore toggle of login_block because it was no more visible
This commit is contained in:
parent
bede7b80a2
commit
d512e54407
@ -7194,7 +7194,8 @@ function printCommonFooter($zone = 'private')
|
||||
print 'jQuery(".menuhider").click(function(event) {';
|
||||
print ' if(!$( "body" ).hasClass( "sidebar-collapse" )){ event.preventDefault(); }'."\n";
|
||||
print ' console.log("We click on .menuhider");'."\n";
|
||||
print " $('body').toggleClass('sidebar-collapse')\n";
|
||||
print ' $("body").toggleClass("sidebar-collapse")'."\n";
|
||||
print ' $(".login_block").toggle()'."\n";
|
||||
print '});'."\n";
|
||||
}
|
||||
|
||||
|
||||
@ -1099,7 +1099,7 @@ if (! function_exists("llxHeader"))
|
||||
if ($conf->browser->layout == 'phone'){
|
||||
$morecssonbody.= ' sidebar-collapse';
|
||||
}
|
||||
|
||||
|
||||
print '<body id="mainbody"'.($morecssonbody?' class="'.$morecssonbody.'"':'').'>' . "\n";
|
||||
|
||||
// top menu and left menu area
|
||||
@ -1987,7 +1987,7 @@ function printSearchForm($urlaction, $urlobject, $title, $htmlmorecss, $htmlinpu
|
||||
global $conf,$langs,$user;
|
||||
|
||||
$ret='';
|
||||
$ret.='<form action="'.$urlaction.'" method="post" class="searchform">';
|
||||
$ret.='<form action="'.$urlaction.'" method="post" class="searchform nowraponall">';
|
||||
$ret.='<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||
$ret.='<input type="hidden" name="mode" value="search">';
|
||||
$ret.='<input type="hidden" name="savelogin" value="'.dol_escape_htmltag($user->login).'">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user