web/mashup/embed_form.php
changeset 205 dfda2d71838b
parent 200 df98bc033a67
child 210 ce76cecb5ca2
--- a/web/mashup/embed_form.php	Thu Jun 30 02:10:38 2011 +0200
+++ b/web/mashup/embed_form.php	Fri Jul 01 10:06:01 2011 +0200
@@ -14,11 +14,7 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <title>embed Configuration</title>
 	
-	<!-- JAVASCRIPT --> 
-	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
-	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script>
-	<script type="text/javascript" src="res/raphael/raphael-min.js"></script>
-	
+	<!-- JAVASCRIPT --> 	
 	<link rel="stylesheet" href="../res/css/custom.css" type="text/css" media="screen, projection">
 	
 	<!-- FONT -->
@@ -32,35 +28,6 @@
 			background-image:none;
 			width:300px;
 			padding:5px;		}
-		.tooltip{
-			 z-index: 10000000000;
-		}
-		#tip{
-			 position : absolute;
-			 padding : 3px;
-			 z-index: 10000000000;
-			 max-width: 200px;
-		}	
-		#tip {
-			display: none;
-			background: transparent url("../images/white_arrow_long.png");
-			font-size: 12px;
-			height: 125px;
-			width: 180px;
-			padding: 10px;
-			padding-left: 15px;
-			padding-top: 15px;
-			padding-right: 15px;
-			color: black;
-			z-index: 10000000000;
-			font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif";
-			overflow:hidden;
-		}
-		#chartTimeline{
-			padding-top: <?php echo($player_height-70); ?>px;
-			z-index: 100000;
-			position : absolute;
-		}
 		textarea {
 			margin-left:3px;
 			height: 150px;
@@ -92,7 +59,7 @@
   <h1 class="tweetWriterTitle" style="width:300px;" > <?php print $translate->_("EmbedTitle"); ?></h1>
   
   <p style="font-size:12px;width:300px;"><?php print $translate->_("EmbedText"); ?> </p>
-  <textarea cols="10" rows="10"><iframe src="<?php echo($config['root'].$config['rep']); ?>/player_embed.php" width="<?php echo($player_width); ?>" height="<?php echo($player_height); ?>" frameborder="0"></iframe><p><a href="<?php echo($config['root'].$config['rep']); ?>"><?php echo($config['title']); ?></a> from <a href="<?php echo($config['link']); ?>">RSLN</a>on <a href="<?php echo($config['root']); ?>">Polemical Tweet</a>.</p>
+  <textarea cols="10" rows="10"><iframe src="<?php echo($config['root'].$config['rep']); ?>/player_embed.php<?php echo(array_key_exists("metadata",$_GET)?"?metadata=".$_GET["metadata"]:"") ?>" width="<?php echo($player_width); ?>" height="<?php echo($player_height); ?>" frameborder="0"></iframe><p><a href="<?php echo($config['root'].$config['rep']); ?>"><?php echo($config['title']); ?></a> from <a href="<?php echo($config['link']); ?>">RSLN</a>on <a href="<?php echo($config['root']); ?>">Polemical Tweet</a>.</p>
   </textarea>
 
   </body>