Too many bugs, not enough time!
[moodle.git] / mod / glossary / import.html
blob59464d4b269f79845714dd11b334bc46aaad8fbb
1 <form method="POST" action="import.php" name="form" enctype="multipart/form-data">
2 <table border="0" cellpadding="3" cellspacing="3" width="100%">
3 <tr>
4 <td align=right valign=top width="30%"><p><b><?php print_string("filetoimport","glossary") ?>:</b></p></td>
5 <td width="70%">
6 <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo get_max_upload_file_size() ?>">
7 <input type="file" name="file" size=40> <br />
8 <?php
9 helpbutton("filetoimport", get_string("filetoimport", "glossary"), "glossary");
10 print_string("maxsize", "", display_size(get_max_upload_file_size()));
12 </td>
13 </tr>
14 <tr valign=top>
15 <td align=right colspan="2">
16 <table border="0" cellpadding="0" cellspacing="3" width="100%">
17 <tr>
18 <td width="25%">
19 <p align="right"><?PHP p(get_string("destination","glossary")) ?>:</td>
20 <td width="25%"><select size="1" name="dest">
21 <option selected value="current"><?PHP p(get_string("currentglossary","glossary")) ?></option>
22 <?PHP
23 // <option value="new">
24 //< PHP p(get_string("newglossary","glossary")) ? >
25 // </option>
27 </select> <?PHP helpbutton("destination", get_string("destination", "glossary"), "glossary") ?></td>
28 <td width="25%">
29 <p align="right"><?PHP p(get_string("importcategories","glossary")) ?>:</td>
30 <td width="25%"><input type="checkbox" name="catsincl" value="1"> <?PHP helpbutton("importcategories", get_string("importcategories", "glossary"), "glossary") ?></td>
31 </tr>
32 </table>
33 </td>
34 </tr>
35 <tr>
36 <td align=right colspan="2">
37 <table border="0" cellpadding="3" cellspacing="3" width="100%">
38 <tr>
39 <td width="50%">
40 <p align="right"><input type="submit" value="<?php print_string("savechanges") ?>"></td>
41 <td width="50%"><input type="reset" value="<?php print_string("revert") ?>"></td>
42 </tr>
43 </table>
44 </td>
45 </tr>
46 </table>
47 <input type="hidden" name="id" value="<?PHP p($id) ?>">
48 <input type="hidden" name="l" value="<?PHP p($l) ?>">
49 <input type="hidden" name="lasttab" value="<?PHP p($lasttab) ?>">
50 <input type="hidden" name="step" value="1">
51 </form>