Permalink
Browse files

Renamed mkdir to makedir to help some high-security blockers

  • Loading branch information...
1 parent 347b01b commit 744da696ef86c90e0866760a86ad345b01cf0b0e moodler committed Aug 14, 2005
Showing with 3 additions and 3 deletions.
  1. +3 −3 files/index.php
View
@@ -302,7 +302,7 @@ function set_value(txt) {
html_footer();
break;
- case "mkdir":
+ case "makedir":
if (!empty($name) and confirm_sesskey()) {
html_header($course, $wdir);
$name = clean_filename($name);
@@ -324,7 +324,7 @@ function set_value(txt) {
echo ' <input type="hidden" name="choose" value="'.$choose.'">';
echo " <input type=\"hidden\" name=\"id\" value=\"$id\" />";
echo " <input type=\"hidden\" name=\"wdir\" value=\"$wdir\" />";
- echo " <input type=\"hidden\" name=\"action\" value=\"mkdir\" />";
+ echo " <input type=\"hidden\" name=\"action\" value=\"makedir\" />";
echo " <input type=\"text\" name=\"name\" size=\"35\" />";
echo " <input type=\"hidden\" name=\"sesskey\" value=\"$USER->sesskey\" />";
echo " <input type=\"submit\" value=\"$strcreate\" />";
@@ -814,7 +814,7 @@ function displaydir ($wdir) {
echo ' <input type="hidden" name="choose" value="'.$choose.'">';
echo " <input type=\"hidden\" name=\"id\" value=\"$id\" />";
echo " <input type=\"hidden\" name=\"wdir\" value=\"$wdir\" />";
- echo " <input type=\"hidden\" name=\"action\" value=\"mkdir\" />";
+ echo " <input type=\"hidden\" name=\"action\" value=\"makedir\" />";
echo " <input type=\"submit\" value=\"$strmakeafolder\" />";
echo "</form>";
echo "</td>";

0 comments on commit 744da69

Please sign in to comment.