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