| author | Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> |
| Fri, 01 Jul 2011 10:06:01 +0200 | |
| changeset 205 | dfda2d71838b |
| parent 200 | df98bc033a67 |
| child 210 | ce76cecb5ca2 |
| permissions | -rw-r--r-- |
|
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 |
*/ |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
7 |
include_once '../common.php'; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
8 |
include_once 'config.php'; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
9 |
|
|
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 |
<!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
|
12 |
<html lang="<?php echo($actual); ?>"> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
13 |
<head> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
14 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
15 |
<title>embed Configuration</title> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
16 |
|
|
205
dfda2d71838b
Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
200
diff
changeset
|
17 |
<!-- JAVASCRIPT --> |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
18 |
<link rel="stylesheet" href="../res/css/custom.css" type="text/css" media="screen, projection"> |
|
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 --> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
21 |
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin' rel='stylesheet' type='text/css'> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
22 |
<link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
23 |
<link href='http://fonts.googleapis.com/css?family=Geo&subset=latin' rel='stylesheet' type='text/css'> |
|
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; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
30 |
padding:5px; } |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
31 |
textarea { |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
32 |
margin-left:3px; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
33 |
height: 150px; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
34 |
width: 330px; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
35 |
padding:5px; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
36 |
background-image:none; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
37 |
border:solid 1px #ccc; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
38 |
/*background-image:url(images/tweetWriterBgdTxtArea.gif); |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
39 |
background-repeat:no-repeat; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
40 |
border: none;*/ |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
41 |
} |
|
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 |
</style> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
44 |
<script type="text/javascript"> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
45 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
46 |
var _gaq = _gaq || []; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
47 |
_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
|
48 |
_gaq.push(['_trackPageview']); |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
49 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
50 |
(function() { |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
51 |
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
|
52 |
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
|
53 |
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
|
54 |
})(); |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
55 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
56 |
</script> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
57 |
</head> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
58 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
59 |
<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
|
60 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
61 |
<p style="font-size:12px;width:300px;"><?php print $translate->_("EmbedText"); ?> </p> |
|
205
dfda2d71838b
Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
200
diff
changeset
|
62 |
<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> |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
63 |
</textarea> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
64 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
65 |
</body> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
66 |
</html> |