| author | Raphael Velt <raph.velt@gmail.com> |
| Thu, 19 Jul 2012 15:06:32 +0200 | |
| changeset 657 | d563fda7b928 |
| parent 620 | 953c68b4da79 |
| child 1560 | d441b50586ba |
| 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 |
*/ |
|
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"> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
16 |
<title>embed Configuration</title> |
|
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; |
|
620
953c68b4da79
Added Edito 24.05 + embed code now relaying mediafragment
Raphael Velt <raph.velt@gmail.com>
parents:
536
diff
changeset
|
39 |
font-size: 12px; |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
40 |
} |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
41 |
</style> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
42 |
<script type="text/javascript"> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
43 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
44 |
var _gaq = _gaq || []; |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
45 |
_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
|
46 |
_gaq.push(['_trackPageview']); |
|
276
f7669b499d41
_setAllowAnchor
Samuel Huron <samuel.huron@centrepompidou.fr>
parents:
233
diff
changeset
|
47 |
_gaq.push(['_setAllowAnchor', true]); |
|
f7669b499d41
_setAllowAnchor
Samuel Huron <samuel.huron@centrepompidou.fr>
parents:
233
diff
changeset
|
48 |
|
|
197
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> |
|
620
953c68b4da79
Added Edito 24.05 + embed code now relaying mediafragment
Raphael Velt <raph.velt@gmail.com>
parents:
536
diff
changeset
|
62 |
<textarea cols="10" rows="10"><div id="metadataplayer_embed"></div><script type="text/javascript" src="<?php echo(URL_ROOT.$rep); ?>/embedscript.php<?php echo(array_key_exists("metadata",$_GET)?"?metadata=".$_GET["metadata"]:""); ?>"></script></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> |