summaryrefslogtreecommitdiff
path: root/setup/templates/structure.tpl
blob: 84a7491cf36c7f7a69047d241ba1b5b71fddd5ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo Filters::noXSS($title . '  ' . $product_name); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="styles/setup.css" type="text/css" media="screen" />
<?php echo $headers; ?>
</head>
<body>
<div id="header">
  <div id="logo">
    <h1><a href="<?php echo Filters::noXSS($index); ?>" title="Flyspray - <?= eL('slogan') ?>"><?= eL('slogan') ?></a></h1>
  </div><!-- End of logo -->
</div><!-- End of header -->
<div id="content">
  <div id="stepbar" title="<?= eL('progress') ?>">
    <!-- <div><?= eL('progress') ?></div> -->
    <div class="done">3rd party libs</div>
    <div<?php
    if(!isset($_POST['action'])){
      echo ' class="step-on"';
    } elseif( $_POST['action'] == 'database' || $_POST['action'] == 'administration' || $_POST['action'] == 'complete' ){
      echo ' class="done"';
    } ?>><?= eL('preinstallcheck') ?></div>
    <div<?php
    if(isset($_POST['action'])){
      if( $_POST['action'] == 'database' ){
        echo ' class="step-on"';
      } elseif( $_POST['action'] == 'administration' || $_POST['action'] == 'complete' ){
        echo ' class="done"';
      }
    }
    ?>><?= eL('databasesetup') ?></div>
    <div<?php
    if(isset($_POST['action'])){
      if($_POST['action'] == 'administration'){
        echo ' class="step-on"';
      } elseif($_POST['action'] == 'complete'){
        echo ' class="done"';
      }
    } ?>><?= eL('administration') ?></div>
    <div<?php echo (isset($_POST['action']) && ($_POST['action'] == 'complete')) ? ' class="step-on"' : ''; ?>><?php echo Filters::noXSS(L('installflyspray')); ?></div>
  </div>
  <?php echo $body; ?>
</div><!-- End of content -->
<div id="footer">
  <ul id="docs">
    <li><a href="https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html" title="<?= eL('lgpllicense') ?>" target="_blank"><?= eL('lgpllicense') ?></a></li>
    <li><a href="https://www.flyspray.org/manual/" title="<?= eL('installationguide') ?>" target="_blank"><?= eL('installationguide') ?></a></li>
  </ul>
  <p>Flyspray <?php echo Filters::noXSS($version); ?><br />
  Copyright 2004-<?php echo Filters::noXSS(date('Y')); ?> &copy; The Flyspray team.  All rights reserved.
  </p>
</div><!-- End of footer -->
</body>
</html>