Commit | Line | Data |
---|---|---|
4bcd4c62 TO |
1 | <?php \Civi\Setup::assertRunning(); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $short_lang_code; ?>" lang="<?php echo $short_lang_code; ?>" dir="<?php echo $text_direction; ?>"> | |
3 | <head> | |
4 | <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
5 | <title><?php echo ts('CiviCRM Installer'); ?></title> | |
6 | <script type="text/javascript" src="<?php echo $ctrl->getUrl('jquery.js'); ?>"></script> | |
7 | <script type="text/javascript"> | |
8 | window.csj$ = jQuery.noConflict(); | |
9 | </script> | |
10 | <link rel="stylesheet" type="text/css" href=<?php echo $installURLPath . "template.css"?> /> | |
11 | <link rel="stylesheet" type="text/css" href=<?php echo $ctrl->getUrl('font-awesome.css') ?> /> | |
12 | <?php | |
13 | if ($text_direction == 'rtl') { | |
14 | echo " <link rel='stylesheet' type='text/css' href='{$installURLPath}template-rtl.css' />\n"; | |
15 | } | |
16 | ?> | |
17 | </head> | |
18 | <body> | |
19 | ||
20 | <?php | |
21 | $mainClasses = array( | |
22 | 'civicrm-setup-body', | |
23 | count($reqs->getErrors()) ? 'has-errors' : '', | |
24 | count($reqs->getWarnings()) ? 'has-warnings' : '', | |
25 | (count($reqs->getErrors()) + count($reqs->getWarnings()) > 0) ? 'has-problems' : '', | |
26 | (count($reqs->getErrors()) + count($reqs->getWarnings()) === 0) ? 'has-no-problems' : '', | |
27 | ); | |
28 | ?> | |
29 | ||
30 | <div class="<?php echo implode(' ', $mainClasses); ?>"> | |
31 | <div id="All"> | |
32 | ||
33 | <form name="civicrm_form" method="post" action="<?php echo str_replace('%7E', '~', $_SERVER['REQUEST_URI']); ?>"> | |
34 | ||
35 | <?php echo $ctrl->renderBlocks($_tpl_params); ?> | |
36 | ||
37 | </form> | |
38 | </div> | |
39 | </div> | |
40 | </body> | |
41 | </html> |