web/MashUp/embed_form.php
changeset 216 d8c1b7e00533
equal deleted inserted replaced
215:137950e71b5c 216:d8c1b7e00533
       
     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 	<link rel="stylesheet" href="../res/css/custom.css" type="text/css" media="screen, projection">
       
    19 	
       
    20 	<!-- FONT -->
       
    21 	<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin' rel='stylesheet' type='text/css'>
       
    22 	<link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'>
       
    23 	<link href='http://fonts.googleapis.com/css?family=Geo&subset=latin' rel='stylesheet' type='text/css'>
       
    24 	<style type="text/css"> 
       
    25 		body{
       
    26 			padding:0px;
       
    27 			margin:0px;
       
    28 			background-image:none;
       
    29 			width:300px;
       
    30 			padding:5px;		}
       
    31 		textarea {
       
    32 			margin-left:3px;
       
    33 			height: 150px;
       
    34 			width: 330px;
       
    35 			padding:5px;
       
    36 			background-image:none;
       
    37 			border:solid 1px #ccc;
       
    38 		/*background-image:url(images/tweetWriterBgdTxtArea.gif);
       
    39 		background-repeat:no-repeat;
       
    40 		border: none;*/
       
    41 		}
       
    42 
       
    43 	</style>
       
    44 	<script type="text/javascript">
       
    45 	
       
    46 	  var _gaq = _gaq || [];
       
    47 	  _gaq.push(['_setAccount', 'UA-23581291-1']);
       
    48 	  _gaq.push(['_trackPageview']);
       
    49 	
       
    50 	  (function() {
       
    51 	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       
    52 	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
       
    53 	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       
    54 	  })();
       
    55 	
       
    56 	</script>
       
    57   </head>
       
    58   
       
    59   <h1 class="tweetWriterTitle" style="width:300px;" > <?php print $translate->_("EmbedTitle"); ?></h1>
       
    60   
       
    61   <p style="font-size:12px;width:300px;"><?php print $translate->_("EmbedText"); ?> </p>
       
    62   
       
    63   <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="650" height="670" frameborder="0"></iframe><p><a href="<?php echo($config['root'].$config['rep']); ?>/polemicaltimeline.php<?php echo(array_key_exists("metadata",$_GET)?"#metadata=".$_GET["metadata"]:""); ?>">Source</a> on <a href="<?php echo($config['root']); ?>">PolemicTweet</a>.</p></textarea>
       
    64 
       
    65   </body>
       
    66 </html>