Browse Source

[svn r19241] External link are wrotten without any css class. This is needed in some case, for instance, Noa on medtronic

Arnaud Ligot 16 years ago
parent
commit
f14f882a21
1 changed files with 3 additions and 3 deletions
  1. 3 3
      main/inc/banner.inc.php

+ 3 - 3
main/inc/banner.inc.php

@@ -79,9 +79,9 @@ $web_course_path = api_get_path(WEB_COURSE_PATH);
 -----------------------------------------------------------------------------
 */
 if (isset($_course['extLink']) && $_course['extLink']['name'] != "") {
-	echo " / ";
+	echo "<span class=\"extLinkSeparator\"> / </span>";
 	if ($_course['extLink']['url'] != "") {
-		echo "<a href=\"".$_course['extLink']['url']."\" target=\"_top\">";
+		echo "<a class=\"extLink\" href=\"".$_course['extLink']['url']."\" target=\"_top\">";
 		echo $_course['extLink']['name'];
 		echo "</a>";
 	} else {
@@ -455,4 +455,4 @@ function get_tabs() {
 	return $navigation;
 }
 ?>
-<!--   Begin Of script Output   -->
+<!--   Begin Of script Output   -->