Automatic installer.php lang files by installer_builder (20070313)
[moodle.git] / mod / glossary / import.html
blobfc48aba57ba7d34ae53d7d0bb1fecbcebcc7f41c
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%"><b><?php print_string("filetoimport","glossary") ?>:</b></td>
5 <td width="70%">
6 <?php
7 require_once($CFG->dirroot.'/lib/uploadlib.php');
8 upload_print_form_fragment(1,array('file'),null,false,null,0,0);
9 helpbutton("filetoimport", get_string("filetoimport", "glossary"), "glossary");
10 echo '&nbsp;';
11 print_string("maxsize", "", display_size(get_max_upload_file_size($CFG->maxbytes, $course->maxbytes)));
13 </td>
14 </tr>
15 <tr valign="top">
16 <td align="right" colspan="2">
17 <table border="0" cellpadding="0" cellspacing="3" width="100%">
18 <tr>
19 <td width="25%" align="right"><?php print_string("destination","glossary") ?>:</td>
20 <td width="25%"><select size="1" name="dest">
21 <option selected="selected" value="current"><?php print_string("currentglossary","glossary") ?></option>
22 <option value="new"><?php print_string("newglossary","glossary") ?></option>
23 </select> <?php helpbutton("destination", get_string("destination", "glossary"), "glossary") ?></td>
24 <td width="25%" align="right"><?php print_string("importcategories","glossary") ?>:</td>
25 <td width="25%"><input type="checkbox" name="catsincl" value="1" alt="<?php print_string("importcategories","glossary") ?>" /> <?php helpbutton("importcategories", get_string("importcategories", "glossary"), "glossary") ?></td>
26 </tr>
27 </table>
28 </td>
29 </tr>
30 <tr>
31 <td align="right" colspan="2">
32 <table border="0" cellpadding="3" cellspacing="3" width="100%">
33 <tr>
34 <td width="50%" align="right"><input type="submit" value="<?php print_string("savechanges") ?>" /></td>
35 <td width="50%"><input type="reset" value="<?php print_string("revert") ?>" /></td>
36 </tr>
37 </table>
38 </td>
39 </tr>
40 </table>
41 <input type="hidden" name="id" value="<?php p($id) ?>" />
42 <input type="hidden" name="l" value="<?php p($l) ?>" />
43 <input type="hidden" name="lasttab" value="<?php p($lasttab) ?>" />
44 <input type="hidden" name="step" value="1" />
45 </form>