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

« back to all changes in this revision

Viewing changes to install/templates/DatabaseSetupRequest.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
1
    <h1><?php print _('Database Setup') ?></h1>
2
2
 
3
 
    <p> <?php print _('Please select your database type and enter your database authentication information.  The installer will not create the database for you, so you must create one yourself and enter the database name here.  If you are installing Gallery into a database that already has tables in it, the table and column prefixes will keep Gallery data from conflicting with what you already have.') ?> </p>
 
3
    <p><?php print _('Please select your database type and enter your database authentication information.  The installer will not create the database for you, so you must create one yourself and enter the database name here.  If you are installing Gallery into a database that already has tables in it, the table and column prefixes will keep Gallery data from conflicting with what you already have.') ?> </p>
4
4
 
5
5
    <?php if (isset($templateData['isMultisite']) && $templateData['isMultisite']): ?>
6
 
    <p class="warning">
 
6
    <div class="warning">
7
7
      <?php print _("This is a multisite installation. Remember that each multisite requires its own database tables. Either choose a different database or a different table prefix for each multisite!"); ?>
8
 
    </p>
 
8
    </div>
9
9
    <?php endif; ?>
10
10
 
11
 
    <form method="post" action="">
 
11
    <form method="post" action="<?php generateUrl(sprintf('%s?step=%s', INDEX_PHP, $stepNumber)) ?>">
12
12
      <table>
13
13
        <tr>
14
14
          <td class="label">
29
29
        </tr>
30
30
        <?php if (!empty($templateData['error']['phpDbMissing'])): ?>
31
31
        <tr>
32
 
          <td colspan="2" class="error">
33
 
            <?php print $templateData['error']['phpDbMissing'] ?>
 
32
          <td colspan="2">
 
33
            <div class="error">
 
34
              <?php print $templateData['error']['phpDbMissing'] ?>
 
35
            </div>
34
36
          </td>
35
37
        </tr>
36
38
        <?php endif; ?>
56
58
          <td class="label"><?php print _('DB Password:') ?></td>
57
59
          <td>
58
60
            <input name="password" type="password" size="30"
59
 
              value="<?php print $templateData['config']['password'] ?>" />
 
61
              value="<?php print $templateData['password'] ?>" />
60
62
          </td>
61
63
        </tr>
62
64
        <tr>
75
77
        </tr>
76
78
        <?php if (!empty($templateData['error']['tablePrefix'])): ?>
77
79
        <tr>
78
 
          <td colspan="2" class="error">
79
 
            <?php print $templateData['error']['tablePrefix'] ?>
 
80
          <td colspan="2">
 
81
            <div  class="error">
 
82
              <?php print $templateData['error']['tablePrefix'] ?>
 
83
            </div>
80
84
          </td>
81
85
        </tr>
82
86
        <?php endif; ?>
89
93
        </tr>
90
94
        <?php if (!empty($templateData['error']['columnPrefix'])): ?>
91
95
        <tr>
92
 
          <td colspan="2" class="error">
93
 
            <?php print $templateData['error']['columnPrefix'] ?>
 
96
          <td colspan="2">
 
97
            <div class="error">
 
98
              <?php print $templateData['error']['columnPrefix'] ?>
 
99
            </div>
94
100
          </td>
95
101
        </tr>
96
102
        <?php endif; ?>
98
104
    </form>
99
105
 
100
106
    <?php if (!empty($templateData['errors'])): ?>
101
 
    <h2 class="error">
102
 
      <?php print _('We received the following database related errors:') ?>
103
 
    </h2>
 
107
    <div class="error">
 
108
      <h2>
 
109
        <?php print _('We received the following database related errors:') ?>
 
110
      </h2>
 
111
    </div>
104
112
    <div class="debug">
105
113
      <?php print $templateData['databaseErrors'] ?>
106
114
    </div>
114
122
 
115
123
    <div class="go">
116
124
      <?php if (isset($templateData['showConfirmCleanInstall'])): ?>
117
 
      <span class="goToNextL">
 
125
          <div class="btn btn-warn"><span><span><span><span>
118
126
        <a href="javascript:document.forms[0].confirmCleanInstall.value='true'; document.forms[0].submit()"><?php print _('Erase Data For A Clean Install') ?></a>
119
 
      </span>
 
127
          </span></span></span></span></div>
120
128
      <?php endif; ?>
121
 
      <span class="goToNext<?php if (isset($templateData['showConfirmReuseTables'])) print 'L' ?>">
 
129
          <div class="btn btn-continue"><span><span><span><span>
122
130
        <a href="javascript:document.forms[0].submit()"><?php print _('Save') ?></a>
123
 
      </span>
 
131
          </span></span></span></span></div>
124
132
      <?php if (isset($templateData['showConfirmReuseTables'])): ?>
125
 
      <span class="goToNext">
 
133
          <div class="btn btn-continue"><span><span><span><span>
126
134
        <a href="javascript:document.forms[0].confirmReuseTables.value='true'; document.forms[0].submit()"><?php print _('Reuse Existing Tables') ?></a>
127
 
      </span>
 
135
          </span></span></span></span></div>
128
136
      <?php endif; ?>
129
137
    </div>
130
138