1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Fix for html5shiv URL.

This commit is contained in:
camer0n 2023-10-29 08:15:29 -07:00
parent 2a0ee3f65b
commit 81698566c0

View File

@ -1632,8 +1632,9 @@ if($this->pdo == true)
$this->add_button('submit', LAN_CONTINUE); $this->add_button('submit', LAN_CONTINUE);
} }
$this->finish_form();
$this->stats(); $this->stats();
$this->finish_form();
$this->template->SetTag("stage_content", "<div class='alert alert-block alert-{$alertType}'>".$page."</div>".$e_forms->return_form()); $this->template->SetTag("stage_content", "<div class='alert alert-block alert-{$alertType}'>".$page."</div>".$e_forms->return_form());
installLog::add('Stage 8 completed'); installLog::add('Stage 8 completed');
@ -1661,8 +1662,8 @@ if($this->pdo == true)
{ {
global $e_forms; global $e_forms;
$data = array('name'=>$this->previous_steps['prefs']['sitename'], 'theme'=>$this->previous_steps['prefs']['sitetheme'], 'language'=>$this->previous_steps['language'], 'url'=>$_SERVER['HTTP_REFERER'],'version'=> defset('e_VERSION')); $data = array('name'=>$this->previous_steps['prefs']['sitename'], 'theme'=>$this->previous_steps['prefs']['sitetheme'], 'language'=>$this->previous_steps['language'], 'url'=>$_SERVER['SCRIPT_URI'],'version'=> defset('e_VERSION'), 'php'=>defset('PHP_VERSION'));
$base = base64_encode(http_build_query($data, '')); $base = base64_encode(http_build_query($data, '','&'));
$url = "https://e107.org/e-install/".$base; $url = "https://e107.org/e-install/".$base;
$e_forms->add_plain_html("<img src='".$url."' style='width:1px; height:1px' />"); $e_forms->add_plain_html("<img src='".$url."' style='width:1px; height:1px' />");
@ -2443,7 +2444,7 @@ function template_data()
</style> </style>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements --> <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]--> <![endif]-->
</head> </head>
<body> <body>