From 4418a1125aa49062dc5a69d862f0672356ad9b7b Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 6 Oct 2006 05:06:25 +0000 Subject: [PATCH] FIxed some incorrect backslashes MDL-6861 --- blocks/admin_tree/block_admin_tree.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blocks/admin_tree/block_admin_tree.php b/blocks/admin_tree/block_admin_tree.php index ba184c71ed..39eddc04c1 100644 --- a/blocks/admin_tree/block_admin_tree.php +++ b/blocks/admin_tree/block_admin_tree.php @@ -138,11 +138,11 @@ class block_admin_tree extends block_base { $this->content->text .= 'function toggle(spanid) {' . "\n"; $this->content->text .= ' if (getspan(spanid).innerHTML == "") {' . "\n"; $this->content->text .= ' getspan(spanid).innerHTML = vh_content[spanid];' . "\n"; - $this->content->text .= ' getspan(spanid + "indicator").innerHTML = "wwwroot . '/blocks/admin_tree/open.gif\" border=\"0\" alt=\"[open folder]\" />";' . "\n"; + $this->content->text .= ' getspan(spanid + "indicator").innerHTML = \'[open folder]\';' . "\n"; $this->content->text .= ' } else {' . "\n"; $this->content->text .= ' vh_content[spanid] = getspan(spanid).innerHTML;' . "\n"; $this->content->text .= ' getspan(spanid).innerHTML = "";' . "\n"; - $this->content->text .= ' getspan(spanid + "indicator").innerHTML = "wwwroot . '/blocks/admin_tree/closed.gif\" border=\"0\" alt=\"[closed folder]\" />";' . "\n"; + $this->content->text .= ' getspan(spanid + "indicator").innerHTML = \'[closed folder]\';' . "\n"; $this->content->text .= ' }' . "\n"; $this->content->text .= '}' . "\n"; @@ -150,13 +150,13 @@ class block_admin_tree extends block_base { $this->content->text .= ' if (getspan(spanid).innerHTML !== "") {' . "\n"; $this->content->text .= ' vh_content[spanid] = getspan(spanid).innerHTML;' . "\n"; $this->content->text .= ' getspan(spanid).innerHTML = "";' . "\n"; - $this->content->text .= ' getspan(spanid + "indicator").innerHTML = "wwwroot . '/blocks/admin_tree/closed.gif\" border=\"0\" alt=\"[closed folder]\" />";' . "\n"; + $this->content->text .= ' getspan(spanid + "indicator").innerHTML = \'[closed folder]\';' . "\n"; $this->content->text .= ' }' . "\n"; $this->content->text .= '}' . "\n"; $this->content->text .= 'function expand(spanid) {' . "\n"; $this->content->text .= ' getspan(spanid).innerHTML = vh_content[spanid];' . "\n"; - $this->content->text .= ' getspan(spanid + "indicator").innerHTML = "wwwroot . '/blocks/admin_tree/open.gif\" border=\"0\" alt=\"[open folder]\" />";' . "\n"; + $this->content->text .= ' getspan(spanid + "indicator").innerHTML = \'[open folder]\';' . "\n"; $this->content->text .= '}' . "\n"; $this->content->text .= 'function expandall() {' . "\n"; -- 2.39.5