source: extensions/database_migration/template/admin_migration.tpl @ 6898

Last change on this file since 6898 was 6222, checked in by nikrou, 15 years ago

Database migration plugin : first public version

File size: 1.4 KB
Line 
1{if ($CONNECTIONS)}
2<form action="" method="post">
3  <fieldset>
4    <legend>{'Database to populate'|@translate}</legend>
5    <p class="field">
6      <label>{'Choose connection'|@translate}
7        <select id="dblayer" name="dblayer">
8          <option value="">---</option>
9          {html_options options=$CONNECTIONS}
10        </select>
11      </label>
12    </p>
13  </fieldset>
14  <p>
15    <input class="submit" type="submit" name="submit" value="{'Submit'|translate}">
16  </p>
17</form>
18{else}
19<p>
20  {'You must define at least one connection to an new database'|@translate} :
21  <a href="{$U_DM_ADD_CONNECTION}">{'New connection'|@translate}<a>
22</p>
23{/if}
24
25{if isset($config_creation_failed)}
26<div class="config_creation_failed">
27  <p style="margin-left:30px;">
28    <strong>{'Creation of config file local/config/database.inc.php failed.'|@translate}</strong>
29  </p>
30  <ul>
31    <li>
32      <p>{'You can download the config file and upload it to local/config directory of your installation.'|@translate}</p>
33      <p>
34        <a href="{$config_url}">{'Download the config file'|@translate}</a>
35      </p>
36    </li>
37    <li>
38      <p>{'An alternate solution is to copy the text in the box above and paste it into the file "local/config/database.inc.php" (Warning : database.inc.php must only contain what is in the textarea, no line return or space character)'|@translate}</p>
39      <textarea rows="15" cols="70">{$config_file_content}</textarea>
40    </li>
41  </ul>
42</div>
43{/if}
Note: See TracBrowser for help on using the repository browser.