File: import.html

package info (click to toggle)
moodle 1.4.4.dfsg.1-3sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 57,876 kB
  • ctags: 29,496
  • sloc: php: 271,617; sql: 5,084; xml: 702; perl: 638; sh: 403; java: 283; makefile: 42; pascal: 21
file content (47 lines) | stat: -rw-r--r-- 2,152 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<form method="POST" action="import.php" name="form" enctype="multipart/form-data">
<table border="0" cellpadding="3" cellspacing="3" width="100%">
<tr>
    <td align=right valign=top width="30%"><p><b><?php print_string("filetoimport","glossary") ?>:</b></p></td>
    <td width="70%">
    <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo get_max_upload_file_size() ?>">
    <input type="file" name="file" size=40> <br />
    <?php 
       helpbutton("filetoimport", get_string("filetoimport", "glossary"), "glossary"); 
       print_string("maxsize", "", display_size(get_max_upload_file_size())); 
    ?>
    </td>
</tr>
<tr valign=top>
    <td align=right colspan="2">
    <table border="0" cellpadding="0" cellspacing="3" width="100%">
      <tr>
        <td width="25%">
        <p align="right"><?PHP p(get_string("destination","glossary")) ?>:</td>
        <td width="25%"><select size="1" name="dest">
        <option selected value="current"><?PHP p(get_string("currentglossary","glossary")) ?></option>
        <option value="new"><?PHP p(get_string("newglossary","glossary")) ?></option>
        </select> <?PHP helpbutton("destination", get_string("destination", "glossary"), "glossary") ?></td>
        <td width="25%">
        <p align="right"><?PHP p(get_string("importcategories","glossary")) ?>:</td>
        <td width="25%"><input type="checkbox" name="catsincl" value="1"> <?PHP helpbutton("importcategories", get_string("importcategories", "glossary"), "glossary") ?></td>
      </tr>
    </table>
    </td>
</tr>
<tr>
    <td align=right colspan="2">
    <table border="0" cellpadding="3" cellspacing="3" width="100%">
      <tr>
        <td width="50%">
        <p align="right"><input type="submit" value="<?php print_string("savechanges") ?>"></td>
        <td width="50%"><input type="reset" value="<?php print_string("revert") ?>"></td>
      </tr>
    </table>
    </td>
</tr>
</table>
<input type="hidden" name="id" value="<?PHP p($id) ?>">
<input type="hidden" name="l" value="<?PHP p($l) ?>">
<input type="hidden" name="lasttab" value="<?PHP p($lasttab) ?>">
<input type="hidden" name="step" value="1">
</form>