~ubuntu-branches/ubuntu/hardy/gallery2/hardy-security

« back to all changes in this revision

Viewing changes to install/templates/NavBar.html

  • Committer: Bazaar Package Importer
  • Author(s): Michael C. Schultheiss
  • Date: 2006-04-16 16:42:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060416164235-8uy0u4bfjdxpge2o
Tags: 2.1.1-1
* New upstream release (Closes: #362936)
  + Bugfixes for Postgres7 (Closes: #359000, #362152)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<div>
 
2
  <table cellspacing="0">
 
3
    <tr>
 
4
      <td class="heading" colspan="2">
 
5
        <?php print _('Install Steps') ?>
 
6
      </td>
 
7
    </tr>
 
8
    <?php for ($i = 0; $i < count($steps); $i++): ?>
 
9
    <tr>
 
10
      <td class="navnum">
 
11
        <?php if ($i <= $currentStep->getStepNumber()
 
12
                  && ($steps[$i]->isComplete() || $steps[$i]->isOptional())): ?>
 
13
        <span class="success">&radic;</span>
 
14
        <?php elseif ($steps[$i]->isInError()): ?>
 
15
        <span class="error">&#10007;</span>
 
16
        <?php else: ?>
 
17
        <?php print $i ?>
 
18
        <?php endif; ?>
 
19
      </td>
 
20
      <td class="navtext">
 
21
        <?php $linkable = ($i == 0 ||
 
22
              ($i <= $currentStep->getStepNumber() + 1 &&
 
23
               ($steps[$i-1]->isComplete() || $steps[$i-1]->isOptional())));
 
24
        ?>
 
25
        <?php if ($linkable): ?>
 
26
          <a href="<?php generateUrl(sprintf('%s?step=%s', INDEX_PHP, $i)) ?>"
 
27
                <?php if ($i == $currentStep->getStepNumber()): ?>
 
28
                class="current"
 
29
                <?php endif; ?>
 
30
              >
 
31
        <?php endif; ?>
 
32
        <?php print $steps[$i]->stepName(); ?>
 
33
        <?php if ($linkable): ?>
 
34
          </a>
 
35
        <?php endif; ?>
 
36
      </td>
 
37
    </tr>
 
38
    <?php endfor; ?>
 
39
  </table>
 
40
</div>
 
 
b'\\ No newline at end of file'