]> git.mjollnir.org Git - moodle.git/commitdiff
Removing the whitespace from the popup links
authormoodler <moodler>
Wed, 5 Jan 2005 17:40:38 +0000 (17:40 +0000)
committermoodler <moodler>
Wed, 5 Jan 2005 17:40:38 +0000 (17:40 +0000)
lib/weblib.php

index 4bd81931a5e3fc08684bc968ddaef95a0c87dce3..951255f2fdd6d6bb0a57816d7d0b11f27eae81f1 100644 (file)
@@ -534,7 +534,7 @@ function link_to_popup_window ($url, $name='popup', $linkname='click here',
     }
 
     $link = '<a target="'. $name .'" title="'. $title .'" href="'. $CFG->wwwroot . $url .'" '.
-           "onclick=\"return openpopup('$url', '$name', '$options', $fullscreen);\">$linkname</a>\n";
+           "onclick=\"return openpopup('$url', '$name', '$options', $fullscreen);\">$linkname</a>";
     if ($return) {
         return $link;
     } else {