Rev 11240 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11240 | Rev 11292 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | tit:rename |
2 | tit:rename |
3 | type:$type_both |
3 | type:$type_both |
4 | syntax:!rename |
4 | syntax:!rename ``f'' |
5 |
|
5 | mean:Changes the reference to a file ``f'', such as a graphics file reachable by direct http, \ |
6 | into one with a different name using the method <span class="tt">!getfile</span>.\ |
6 | into one with a different name using the method <span class="tt">!getfile</span>.\ |
7 | <p>\ |
7 | <p>\ |
8 | This command is useful with exercises where important information is carried\ |
8 | This command is useful with exercises where important information is carried\ |
9 | by multimedia files (pictures, audios, movies). It can be used to hide the\ |
9 | by multimedia files (pictures, audios, movies). It can be used to hide the\ |
10 | name of the multimedia file that otherwise would give clues to the solution\ |
10 | name of the multimedia file that otherwise would give clues to the solution\ |
11 | of the problem.\ |
11 | of the problem.\ |
12 | </p><p>\ |
12 | </p><p>\ |
13 | The renamed file must be located within the module, and the filename |
13 | The renamed file must be located within the module, and the filename ``f'' should start \ |
14 |
|
14 | with ``$module_dir''.\ |
15 | </p><p>\ |
15 | </p><p>\ |
16 | The command returns a string which is the new URL. The file is not\ |
16 | The command returns a string which is the new URL. The file is not\ |
17 | effectively copied or renamed on the server.\ |
17 | effectively copied or renamed on the server.\ |
18 | </p> |
18 | </p> |