Browse Source

added functions

Thomas Thümmler 4 years ago
parent
commit
7ed0551595
1 changed files with 9 additions and 0 deletions
  1. 9 0
      SDS_status_functions.php

+ 9 - 0
SDS_status_functions.php

@@ -33,6 +33,15 @@
 		echo '</b></font></a></div>';
 	}
 
+	function placeTextLeftWithLink($posY, $posX, $text, $width, $size, $color, $title, $link)
+	{
+		echo '<div title="' . $title . '" align="left" style="width:' . $width . 'px; position:absolute; top:' . $posY . 'px; left:' . $posX . 'px">';
+		echo '<a href="https://adei-katrin.kaas.kit.edu/adei/#module=graph&db_server=virtual&db_name=srctree&db_group=-3&control_group=-3&db_mask=all&experiment=-&window=86400&module=graph&virtual=srctree&srctree=' . $link . '" target="_blank">';
+		echo '<font size="' . $size . '" color="' . $color . '"><b>';
+		echo $text;
+		echo '</b></font></a></div>';
+	}
+
 	function placeTextWithWebsiteLink($posY, $posX, $text, $width, $size, $color, $title, $link)
 	{
 		echo '<div title="' . $title . '" align="center" style="width:' . $width . 'px; position:absolute; top:' . $posY . 'px; left:' . $posX . 'px">';