From 67677908a045a79260f45bb88cb3a24adafb6d3d Mon Sep 17 00:00:00 2001 From: defacer Date: Tue, 11 Jan 2005 19:38:19 +0000 Subject: [PATCH] Fixing the alt attributes for the icons used to move/hide etc. blocks when editing is on. Also a few minor corrections for things inside comments. --- blocks/moodleblock.class.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index 82022f8860..38cdc6b08b 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -1,8 +1,8 @@ url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey)); $movebuttons .= '' . - '\"\"'; + 'Hide'; if ($options & BLOCK_CONFIGURE) { $movebuttons .= '' . - '\"\"'; + 'Config'; } $movebuttons .= '' . - '\"\" '; + 'Delete '; if ($options & BLOCK_MOVE_LEFT) { $movebuttons .= '' . - '\"\"'; + 'Left'; } if ($options & BLOCK_MOVE_UP) { $movebuttons .= '' . - '\"\"'; + 'Up'; } if ($options & BLOCK_MOVE_DOWN) { $movebuttons .= '' . - '\"\"'; + 'Down'; } if ($options & BLOCK_MOVE_RIGHT) { $movebuttons .= '' . - '\"\"'; + 'Right'; } $movebuttons .= ''; @@ -479,7 +479,7 @@ class block_base { /** * This function is called on your subclass right after an instance is loaded * Use this function to act on instance data just after it's loaded and before anything else is done - * For instance: if your block will have different title's dependant on location (site, course, blog, etc) + * For instance: if your block will have different title's depending on location (site, course, blog, etc) */ function specialization() { // Just to make sure that this method exists. -- 2.39.5