diff --git a/blocks/admin_tree/block_admin_tree.php b/blocks/admin_tree/block_admin_tree.php index 53c041cd299..32494c97b6f 100644 --- a/blocks/admin_tree/block_admin_tree.php +++ b/blocks/admin_tree/block_admin_tree.php @@ -37,7 +37,7 @@ class block_admin_tree extends block_base { global $CFG; $strfolderopened = s(get_string('folderopened')); - $this->tempcontent .= '
'; + $this->tempcontent .= '
'; $this->tempcontent .= ''.$strfolderopened.' '; $this->tempcontent .= $visiblename.'
'."\n"; $this->currentdepth++; @@ -145,7 +145,7 @@ for (var i=1; i<=vh_numdivs; i++) { parkplatz[i] = null; } -function toggle(i) { +function menu_toggle(i) { i = parseInt(i); if (parkplatz[i] === null) { collapse(i);