source: extensions/database_migration/template/admin_import.tpl @ 27183

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

Database migration plugin : first public version

File size: 1.3 KB
Line 
1{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
2{html_head}
3<script type="text/javascript" src="{$DM_JS}/install.js"></script>
4{/html_head}
5
6<h3>{'Import process'|@translate}</h3>
7<ul class="process">
8  <li class="step-1">{'Creation of new database'|@translate}</li>
9  <li class="step-2">{'Installation of new tables'|@translate}</li>
10  <li class="step-3">{'Restore content into your new database'|@translate}</li>
11</ul>
12
13<div id="dm-messages">
14</div>
15
16{if ($CONNECTIONS)}
17<form action="{$U_INSTALL_START}" method="post" id="dm-form-import">
18  <fieldset>
19    <legend>{'Database to populate'|@translate}</legend>
20    <p class="field">
21      <label>{'Choose connection'|@translate}
22        <select id="dblayer" name="dblayer">
23          <option value="">---</option>
24          {html_options options=$CONNECTIONS}
25        </select>
26      </label>
27    </p>
28    <p>
29      <input type="hidden" id="dm_step" name="dm_step" value="1">
30      <input type="hidden" id="dm_key" name="dm_key" value="{$DM_KEY}">
31      <input id="dm-install" class="submit" type="submit" name="submit" value="{'Submit'|translate}">
32    </p>
33  </fieldset>
34</form>
35{else}
36<p>
37  {'You must define at least one connection to an new database'|@translate} :
38  <a href="{$U_DM_ADD_CONNECTION}">{'New connection'|@translate}<a>
39</p>
40{/if}
Note: See TracBrowser for help on using the repository browser.