mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
Added sesskey to some buttons
This commit is contained in:
parent
a7668713dd
commit
379c6084bd
@ -113,6 +113,7 @@ form { margin-bottom: 1px; margin-top: 1px; }
|
||||
<input type="hidden" name="wdir" value="" />
|
||||
<input type="hidden" name="file" value="" />
|
||||
<input type="hidden" name="action" value="rename" />
|
||||
<input type="hidden" name="sesskey" value="<?php p($USER->sesskey) ?>" />
|
||||
<input name="btnRename" type="submit" id="btnRename" value="<?php print_string("rename","editor");?>" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -130,6 +131,7 @@ form { margin-bottom: 1px; margin-top: 1px; }
|
||||
<input type="hidden" name="id" value="<?php print($course->id);?>" />
|
||||
<input type="hidden" name="wdir" value="" />
|
||||
<input type="hidden" name="action" value="mkdir" />
|
||||
<input type="hidden" name="sesskey" value="<?php p($USER->sesskey) ?>" />
|
||||
<input name="name" type="text" id="foldername" size="35" />
|
||||
<input name="btnCfolder" type="submit" id="btnCfolder" value="<?php print_string("createfolder","editor");?>" onclick="return checkvalue('foldername','cfolder');" />
|
||||
</form>
|
||||
@ -138,6 +140,7 @@ form { margin-bottom: 1px; margin-top: 1px; }
|
||||
<input type="hidden" name="id" VALUE="<?php print($course->id);?>" />
|
||||
<input type="hidden" name="wdir" value="" />
|
||||
<input type="hidden" name="action" value="upload" />
|
||||
<input type="hidden" name="sesskey" value="<?php p($USER->sesskey) ?>" />
|
||||
<input type="file" name="userfile" id="userfile" size="35" />
|
||||
<input name="save" type="submit" id="save" onclick="return checkvalue('userfile','uploader');" value="<?php print_string("upload","editor");?>" />
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user