web/fens_FabLab_Design_Metadata/embed_form.php
changeset 181 4b9405c06dca
child 200 df98bc033a67
equal deleted inserted replaced
180:7744e8f9d541 181:4b9405c06dca
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * include some common code (like we did in the 90s)
       
     5  * People still do this? ;)
       
     6  */
       
     7 include_once '../common.php';
       
     8 include_once 'config.php';
       
     9 
       
    10 ?>
       
    11 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
       
    12 <html lang="<?php echo($actual); ?>">
       
    13   <head>
       
    14     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
       
    15     <title>embed Configuration</title>
       
    16 	
       
    17 	<!-- JAVASCRIPT --> 
       
    18 	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
       
    19 	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script>
       
    20 	<script type="text/javascript" src="res/raphael/raphael-min.js"></script>
       
    21 	
       
    22 	<link rel="stylesheet" href="../res/css/custom.css" type="text/css" media="screen, projection">
       
    23 	
       
    24 	<!-- FONT -->
       
    25 	<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin' rel='stylesheet' type='text/css'>
       
    26 	<link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'>
       
    27 	<link href='http://fonts.googleapis.com/css?family=Geo&subset=latin' rel='stylesheet' type='text/css'>
       
    28 	<style type="text/css"> 
       
    29 		body{
       
    30 			padding:0px;
       
    31 			margin:0px;
       
    32 			background-image:none;
       
    33 			width:300px;
       
    34 			padding:5px;		}
       
    35 		.tooltip{
       
    36 			 z-index: 10000000000;
       
    37 		}
       
    38 		#tip{
       
    39 			 position : absolute;
       
    40 			 padding : 3px;
       
    41 			 z-index: 10000000000;
       
    42 			 max-width: 200px;
       
    43 		}	
       
    44 		#tip {
       
    45 			display: none;
       
    46 			background: transparent url("../images/white_arrow_long.png");
       
    47 			font-size: 12px;
       
    48 			height: 125px;
       
    49 			width: 180px;
       
    50 			padding: 10px;
       
    51 			padding-left: 15px;
       
    52 			padding-top: 15px;
       
    53 			padding-right: 15px;
       
    54 			color: black;
       
    55 			z-index: 10000000000;
       
    56 			font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif";
       
    57 			overflow:hidden;
       
    58 		}
       
    59 		#chartTimeline{
       
    60 			padding-top: <?php echo($player_height-70); ?>px;
       
    61 			z-index: 100000;
       
    62 			position : absolute;
       
    63 		}
       
    64 		textarea {
       
    65 			margin-left:3px;
       
    66 			height: 150px;
       
    67 			width: 330px;
       
    68 			padding:5px;
       
    69 			background-image:none;
       
    70 			border:solid 1px #ccc;
       
    71 		/*background-image:url(images/tweetWriterBgdTxtArea.gif);
       
    72 		background-repeat:no-repeat;
       
    73 		border: none;*/
       
    74 		}
       
    75 
       
    76 	</style>
       
    77 	<script type="text/javascript">
       
    78 	
       
    79 	  var _gaq = _gaq || [];
       
    80 	  _gaq.push(['_setAccount', 'UA-23581291-1']);
       
    81 	  _gaq.push(['_setDomainName', '.iri.centrepompidou.fr']);
       
    82 	  _gaq.push(['_trackPageview']);
       
    83 	
       
    84 	  (function() {
       
    85 	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       
    86 	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
       
    87 	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       
    88 	  })();
       
    89 	
       
    90 	</script>
       
    91   </head>
       
    92   
       
    93   <h1 class="tweetWriterTitle" style="width:300px;" > <?php print $translate->_("EmbedTitle"); ?></h1>
       
    94   
       
    95   <p style="font-size:12px;width:300px;"><?php print $translate->_("EmbedText"); ?> </p>
       
    96   <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>
       
    97   </textarea>
       
    98 
       
    99   </body>
       
   100 </html>