Skip to content

Commit

Permalink
MDL-9931 adding go button to delete; merged from MOODLE_19_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Feb 19, 2008
1 parent 94ba6c9 commit f98e18e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions files/index.php
Expand Up @@ -864,7 +864,16 @@ function displaydir ($wdir) {
"zip" => "$strcreateziparchive"
);
if (!empty($count)) {

choose_from_menu ($options, "action", "", "$strwithchosenfiles...", "javascript:getElementById('dirform').submit()");
echo '<div id="noscriptgo" style="display: inline;">';
echo '<input type="submit" value="'.get_string('go').'" /></div>';
echo '<script type="text/javascript">'.
"\n//<![CDATA[\n".
'document.getElementById("noscriptgo").style.display = "none";'.
"\n//]]>\n".'</script>';
echo '</div>';

}
echo "</td></tr></table>";
echo "</div>";
Expand Down

0 comments on commit f98e18e

Please sign in to comment.