Better look for smartphone
This commit is contained in:
parent
d7b204707e
commit
9144d15393
@ -219,7 +219,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
{
|
{
|
||||||
//print "Info session: ".session_name().session_id();print_r($_SESSION);
|
//print "Info session: ".session_name().session_id();print_r($_SESSION);
|
||||||
print '<tr><td valign="middle" nowrap="nowrap"> <b>'.$langs->trans("SecurityCode").'</b></td>'."\n";
|
print '<tr><td valign="middle" nowrap="nowrap"> <b>'.$langs->trans("SecurityCode").'</b></td>'."\n";
|
||||||
print '<td valign="top" nowrap="nowrap" align="left" class="e">'."\n";
|
print '<td valign="top" nowrap="nowrap" align="left" class="none">'."\n";
|
||||||
|
|
||||||
print '<table style="width: 100px;"><tr>'."\n"; // Force width to a small value
|
print '<table style="width: 100px;"><tr>'."\n"; // Force width to a small value
|
||||||
print '<td><input id="securitycode" class="flat" type="text" size="6" maxlength="5" name="code" tabindex="4"></td>'."\n";
|
print '<td><input id="securitycode" class="flat" type="text" size="6" maxlength="5" name="code" tabindex="4"></td>'."\n";
|
||||||
@ -279,7 +279,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
}
|
}
|
||||||
if (! empty($conf->global->MAIN_HOME))
|
if (! empty($conf->global->MAIN_HOME))
|
||||||
{
|
{
|
||||||
print '<center><table summary="info" cellpadding="0" cellspacing="0" border="0" align="center" width="750"><tr><td align="center">';
|
print '<center><table summary="info" cellpadding="0" cellspacing="0" border="0" align="center"'.(empty($conf->browser->phone)?' width="750"':'').'><tr><td align="center">';
|
||||||
$i=0;
|
$i=0;
|
||||||
while (eregi('__\(([a-zA-Z]+)\)__',$conf->global->MAIN_HOME,$reg) && $i < 100)
|
while (eregi('__\(([a-zA-Z]+)\)__',$conf->global->MAIN_HOME,$reg) && $i < 100)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user