web/live_embed_form.php
author ymh <ymh.work@gmail.com>
Thu, 20 Sep 2018 15:11:27 +0200
changeset 1440 4a97b38b8b80
parent 559 64b3376aef6a
child 1560 d441b50586ba
permissions -rw-r--r--
Added tag V06.001 for changeset df4c992749ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     1
<?php
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     2
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     3
/**
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     4
 * include some common code (like we did in the 90s)
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     5
 * People still do this? ;)
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     6
 */
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 214
diff changeset
     7
$rep = $_REQUEST['rep'];
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 214
diff changeset
     8
include_once dirname(__FILE__).'/'.$rep.'/config.php';
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 214
diff changeset
     9
include_once 'common.php';
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    10
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    11
?>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    12
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    13
<html lang="<?php echo($actual); ?>">
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    14
  <head>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    15
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 276
diff changeset
    16
    <title>Live Embed Configuration</title>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    17
	
233
10d6fd6ce9ab - put all in a registry
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 229
diff changeset
    18
	<link rel="stylesheet" href="<?php echo(registry_url('custom', 'css')); ?>" type="text/css" media="screen, projection">
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    19
	
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    20
	<!-- FONT -->
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 214
diff changeset
    21
	<link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'>
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 214
diff changeset
    22
	<link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'>
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 214
diff changeset
    23
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    24
	<style type="text/css"> 
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    25
		body{
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    26
			padding:0px;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    27
			margin:0px;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    28
			background-image:none;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    29
			width:300px;
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 214
diff changeset
    30
			padding:5px;
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 214
diff changeset
    31
		}
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    32
		textarea {
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    33
			margin-left:3px;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    34
			height: 150px;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    35
			width: 330px;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    36
			padding:5px;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    37
			background-image:none;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    38
			border:solid 1px #ccc;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    39
		}
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    40
	</style>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    41
	<script type="text/javascript">
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    42
	
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    43
	  var _gaq = _gaq || [];
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    44
	  _gaq.push(['_setAccount', 'UA-23581291-1']);
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    45
	  _gaq.push(['_trackPageview']);
276
f7669b499d41 _setAllowAnchor
Samuel Huron <samuel.huron@centrepompidou.fr>
parents: 233
diff changeset
    46
	  _gaq.push(['_setAllowAnchor', true]); 
f7669b499d41 _setAllowAnchor
Samuel Huron <samuel.huron@centrepompidou.fr>
parents: 233
diff changeset
    47
	
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    48
	
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    49
	  (function() {
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    50
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    51
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    52
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    53
	  })();
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    54
	
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    55
	</script>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    56
  </head>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    57
  
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    58
  <h1 class="tweetWriterTitle" style="width:300px;" > <?php print $translate->_("EmbedTitle"); ?></h1>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    59
  
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    60
  <p style="font-size:12px;width:300px;"><?php print $translate->_("EmbedText"); ?> </p>
559
64b3376aef6a Added auth_redirect parameter
Raphael Velt <raph.velt@gmail.com>
parents: 555
diff changeset
    61
  <textarea cols="10" rows="10"><iframe src="<?php echo(URL_ROOT.$rep); ?>/client.php?embed=true" width="900" height="600" frameborder="0"></iframe><p><a href="<?php echo(URL_ROOT.$rep); ?>/client.php">Source</a> on <a href="<?php echo(URL_ROOT); ?>">PolemicTweet</a>.</p>
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 214
diff changeset
    62
  </textarea>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    63
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    64
  </body>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    65
</html>