Browse Source

Revert ""Are you sure you want to continue" message when pre-installation test failed"

This reverts commit 38aec8b852.
pull/40/head
Savetheinternet 13 years ago
parent
commit
da86c76165
  1. 9
      install.php

9
install.php

@ -117,9 +117,8 @@
} }
function row($item, $result) { function row($item, $result) {
global $page, $config, $__is_error; global $page, $config;
if(!$result)
$__is_error = true;
$page['body'] .= '<tr><th>' . $item . '</th><td><img style="width:16px;height:16px" src="' . $config['dir']['static'] . ($result ? 'ok.png' : 'error.png') . '" /></td></tr>'; $page['body'] .= '<tr><th>' . $item . '</th><td><img style="width:16px;height:16px" src="' . $config['dir']['static'] . ($result ? 'ok.png' : 'error.png') . '" /></td></tr>';
} }
@ -150,9 +149,7 @@
$page['body'] .= '</table> $page['body'] .= '</table>
<p style="text-align:center"> <p style="text-align:center">
<a href="?step=2"' . <a href="?step=2">Continue.</a>
(isset($__is_error) ? ' onclick="return confirm(\'Are you sure you want to continue when errors exist?\')"' : '') .
'>Continue' . (isset($__is_error) ? ' anyway' : '') . '.</a>
</p>'; </p>';
echo Element('page.html', $page); echo Element('page.html', $page);

Loading…
Cancel
Save