Permalink
Browse files

resolved: MDL-6579

Added strings needed for delete confirmation.
  • Loading branch information...
1 parent 8b902ba commit 3287cb4cba0962259032ec101a560a6fb015bb56 cap2501 committed Oct 8, 2006
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/ajax/ajaxlib.php
View
@@ -71,7 +71,10 @@ function print_javascript($id){
$output .= " main.portal.id = ".$id.";\n";
$output .= " main.portal.blocks = new Array(".$blocksoutput.");\n";
$output .= " main.portal.strings['wwwroot']='".$CFG->wwwroot."';\n";
- $output .= " main.portal.strings['update']='".get_string('update')."';\n";
+ $output .= " main.portal.strings['update']='".get_string('update')."';\n";
+ $output .= " main.portal.strings['deletecheck']='".get_string('deletecheck','','_var_')."';\n";
+ $output .= " main.portal.strings['resource']='".get_string('resource')."';\n";
+ $output .= " main.portal.strings['activity']='".get_string('activity')."';\n";
$output .= " onload.load();\n";
$output .= " main.process_blocks();\n";
$output .= "</script>";

0 comments on commit 3287cb4

Please sign in to comment.