Try to fix travis error
This commit is contained in:
parent
6dfb8e33c9
commit
1056473cdc
@ -385,12 +385,12 @@ function pHeader($subtitle,$next,$action='set',$param='',$forcejqueryurl='',$css
|
|||||||
// We force the content charset
|
// We force the content charset
|
||||||
header("Content-type: text/html; charset=".$conf->file->character_set_client);
|
header("Content-type: text/html; charset=".$conf->file->character_set_client);
|
||||||
header("X-Content-Type-Options: nosniff");
|
header("X-Content-Type-Options: nosniff");
|
||||||
|
|
||||||
print '<!DOCTYPE HTML>'."\n";
|
print '<!DOCTYPE HTML>'."\n";
|
||||||
print '<html>'."\n";
|
print '<html>'."\n";
|
||||||
print '<head>'."\n";
|
print '<head>'."\n";
|
||||||
print '<meta charset='.$conf->file->character_set_client.'">'."\n";
|
print '<meta charset='.$conf->file->character_set_client.'">'."\n";
|
||||||
print '<meta name="viewport" content="width=device-width, initial-scale=1.0">'."\n";
|
print '<meta name="viewport" content="width=device-width, initial-scale=1.0">'."\n";
|
||||||
print '<link rel="stylesheet" type="text/css" href="default.css">'."\n";
|
print '<link rel="stylesheet" type="text/css" href="default.css">'."\n";
|
||||||
|
|
||||||
print '<!-- Includes CSS for JQuery -->'."\n";
|
print '<!-- Includes CSS for JQuery -->'."\n";
|
||||||
@ -453,9 +453,14 @@ function pFooter($nonext=0,$setuplang='',$jscheckfunction='', $withpleasewait=0)
|
|||||||
print '<div class="nextbutton" id="nextbutton">';
|
print '<div class="nextbutton" id="nextbutton">';
|
||||||
if ($nonext == '2')
|
if ($nonext == '2')
|
||||||
{
|
{
|
||||||
print $langs->trans("ErrorFoundDuringMigration", $_SERVER["REQUEST_URI"].'&ignoreerrors=1').'<br><br>';
|
if (!isset($_SERVER['REQUEST_URI']))
|
||||||
|
{
|
||||||
|
$_SERVER['REQUEST_URI'] = substr($_SERVER['PHP_SELF'],1 );
|
||||||
|
if (isset($_SERVER['QUERY_STRING'])) { $_SERVER['REQUEST_URI'].='?'.$_SERVER['QUERY_STRING']; }
|
||||||
|
}
|
||||||
|
print $langs->trans("ErrorFoundDuringMigration", $_SERVER["REQUEST_URI"].'&ignoreerrors=1').'<br><br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<input type="submit" '.($nonext == '2' ? 'disabled="disabled" ':'').'value="'.$langs->trans("NextStep").' ->"';
|
print '<input type="submit" '.($nonext == '2' ? 'disabled="disabled" ':'').'value="'.$langs->trans("NextStep").' ->"';
|
||||||
if ($jscheckfunction) print ' onClick="return '.$jscheckfunction.'();"';
|
if ($jscheckfunction) print ' onClick="return '.$jscheckfunction.'();"';
|
||||||
print '></div>';
|
print '></div>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user