From c6da8ccca325c6afd246596359dd4222dd2e1fe9 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 4 Jan 2007 13:01:28 +0000 Subject: [PATCH] MDL-7861 some xhtml fixes --- blocks/admin_tree/block_admin_tree.php | 12 ++++++------ blocks/moodleblock.class.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/blocks/admin_tree/block_admin_tree.php b/blocks/admin_tree/block_admin_tree.php index e0b6fcdace..1dccaf7ee9 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 { $this->tempcontent .= "   "; } $this->tempcontent .= ''; - $this->tempcontent .= ''.$strfolderopened.' '; + $this->tempcontent .= ''.$strfolderopened.' '; $this->tempcontent .= $visiblename . '
' . "\n"; $this->currentdepth++; $this->spancounter++; @@ -53,7 +53,7 @@ class block_admin_tree extends block_base { for ($i = 0; $i < $this->currentdepth; $i++) { $this->tempcontent .= "   "; } - $this->tempcontent .= ''. + $this->tempcontent .= ''. $visiblename.'
'."\n"; } @@ -144,11 +144,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 = \''.$strfolderopened.'\';' . "\n"; + $this->content->text .= ' getspan(spanid + "indicator").innerHTML = \''.$strfolderopened.'\';' . "\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 = \''.$strfolderclosed.'\';' . "\n"; + $this->content->text .= ' getspan(spanid + "indicator").innerHTML = \''.$strfolderclosed.'\';' . "\n"; $this->content->text .= ' }' . "\n"; $this->content->text .= '}' . "\n"; @@ -156,13 +156,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 = \''.$strfolderclosed.'\';' . "\n"; + $this->content->text .= ' getspan(spanid + "indicator").innerHTML = \''.$strfolderclosed.'\';' . "\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 = \''.$strfolderopened.'\';' . "\n"; + $this->content->text .= ' getspan(spanid + "indicator").innerHTML = \''.$strfolderopened.'\';' . "\n"; $this->content->text .= '}' . "\n"; $this->content->text .= 'function expandall() {' . "\n"; diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index d99fea333b..4a37fc4d80 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -359,7 +359,7 @@ class block_base { // place holder for roles button $movebuttons .= '' . - ''.$this->str->assignroles.''; + ''.$this->str->assignroles.''; $movebuttons .= '' . ''.$title.''; -- 2.39.5