| author | Raphael Velt <raph.velt@gmail.com> |
| Tue, 28 Aug 2012 12:29:30 +0200 | |
| changeset 685 | b48fe0f2d5b1 |
| parent 684 | f59daf0830d2 |
| child 694 | e9400c80e1e4 |
| permissions | -rwxr-xr-x |
|
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:
227
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:
227
diff
changeset
|
8 |
include_once dirname(__FILE__).'/'.$rep.'/config.php'; |
|
291
db1e6bfaa54e
add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
276
diff
changeset
|
9 |
// configuration |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
10 |
include 'common.php'; |
|
291
db1e6bfaa54e
add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
276
diff
changeset
|
11 |
// objet actuel |
|
229
74c9ddc3640b
a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
227
diff
changeset
|
12 |
$baseurl = URL_ROOT; |
|
74c9ddc3640b
a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
227
diff
changeset
|
13 |
|
|
74c9ddc3640b
a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
227
diff
changeset
|
14 |
$div_height = 640; |
|
291
db1e6bfaa54e
add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
276
diff
changeset
|
15 |
if($translate->_('config__div_height') != 'config__div_height') { |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
16 |
$div_height = $translate->_('config__div_height'); |
|
229
74c9ddc3640b
a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
227
diff
changeset
|
17 |
} |
|
74c9ddc3640b
a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
227
diff
changeset
|
18 |
$tweet_explain_background = URL_ROOT.'images/tweetExplainBgd.gif'; |
|
233
10d6fd6ce9ab
- put all in a registry
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
229
diff
changeset
|
19 |
if(file_exists(dirname(__FILE__)."/$rep/images/tweetExplainBgd.gif")) { |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
20 |
$tweet_explain_background = URL_ROOT.$rep.'/images/tweetExplainBgd.gif'; |
|
229
74c9ddc3640b
a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
227
diff
changeset
|
21 |
} |
|
220
42aeb2bfc58e
publish chi07 and fens Fablab
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
205
diff
changeset
|
22 |
|
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
23 |
$head_logo = URL_ROOT."$rep/images/head_logo.gif"; |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
24 |
if($translate->_('config__head_logo') != 'config__head_logo' && $translate->_('config__head_logo') != null ) { |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
25 |
$head_logo = URL_ROOT."$rep/".$translate->_('config__head_logo'); |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
26 |
} |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
27 |
|
|
202
2bf0fd3432bf
put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
197
diff
changeset
|
28 |
$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; |
|
2bf0fd3432bf
put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
197
diff
changeset
|
29 |
|
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
30 |
$protocol_level = ( |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
31 |
isset($_REQUEST['protocol_level']) |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
32 |
? $_REQUEST['protocol_level'] |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
33 |
: ( |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
34 |
isset($config['protocol_level']) |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
35 |
? $config['protocol_level'] |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
36 |
: 3 |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
37 |
) |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
38 |
); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
39 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
40 |
$protocol_level = min(3,max(0, $protocol_level)); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
41 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
42 |
$use_protocol = (isset($_REQUEST['protocol_level']) || isset($config['protocol_level'])); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
43 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
44 |
if ($use_protocol && !isset($_SESSION['answered_events'])) { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
45 |
$_SESSION['answered_events'] = array(); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
46 |
} |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
47 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
48 |
$show_splash = ( $use_protocol && !in_array($rep, $_SESSION['answered_events']) ); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
49 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
50 |
if ($show_splash) { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
51 |
array_push($_SESSION['answered_events'], $rep); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
52 |
} |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
53 |
|
|
197
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 |
<!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
|
56 |
<html lang="<?php echo($actual); ?>"> |
|
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 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
291
db1e6bfaa54e
add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
276
diff
changeset
|
59 |
<title>Polemic tweet - <?php echo($translate->_('config__title')); ?></title> |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
60 |
<meta name="keywords" content="<?php echo($translate->_('config__keywords')); ?>"><!-- add timestampedmetadata --> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
61 |
<!--<meta name="description" content="PoelmicTweet.fr : debate mapping, opinion, conference, video">--> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
62 |
<meta name="description" content="<?php echo(strip_tags($translate->_('config__description'))); ?>"> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
63 |
<meta name="robots" content="index, follow"> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
64 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
65 |
<!-- ICI : <?php echo($_SERVER['DOCUMENT_ROOT']); ?> --> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
66 |
<!-- JAVASCRIPT --> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
67 |
<script type="text/javascript" src="<?php echo(registry_url('json-js','js'));?>"></script> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
68 |
<script type="text/javascript" src="<?php echo(registry_url('jquery','js'));?>"></script> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
69 |
<script type="text/javascript"> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
70 |
$.noConflict(); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
71 |
</script> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
72 |
<script type="text/javascript" src="<?php echo(registry_url('fancybox','js'));?>"></script> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
73 |
<script type="text/javascript" src="<?php echo(registry_url('jquery-url','js'));?>"></script> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
74 |
<script type="text/javascript" src="<?php echo(registry_url('metadataplayer','js'));?>"></script> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
75 |
<script type="text/javascript" src="<?php echo(registry_url('tracemanager','js'));?>"></script> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
76 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
77 |
<!-- Framework CSS --> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
78 |
<link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>?v=11072012" type="text/css" media="screen, projection"/> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
79 |
<link rel="stylesheet" href="<?php echo(registry_url('fancybox','css'));?>" media="screen"/> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
80 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
81 |
<!-- FONT --> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
82 |
<link href='<?php echo(registry_url('PT-Sans_Narrow','font'));?>' rel='stylesheet' type='text/css'/> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
83 |
<link href='<?php echo(registry_url('PT-Sans','font'));?>' rel='stylesheet' type='text/css'/> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
84 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
85 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
86 |
<script type="text/javascript"> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
87 |
// Configuration Polemical Timeline |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
88 |
if (typeof jQuery == "undefined") { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
89 |
jQuery = IriSP.jQuery; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
90 |
} |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
91 |
<?php |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
92 |
if(is_array($translate->_('config__metadata'))): |
|
684
f59daf0830d2
less naive implementation of common LDT platform URL
Raphael Velt <raph.velt@gmail.com>
parents:
683
diff
changeset
|
93 |
$metadataurls = array_map("get_metadata_json_url",$translate->_('config__metadata')); |
|
f59daf0830d2
less naive implementation of common LDT platform URL
Raphael Velt <raph.velt@gmail.com>
parents:
683
diff
changeset
|
94 |
reset($metadataurls); |
|
f59daf0830d2
less naive implementation of common LDT platform URL
Raphael Velt <raph.velt@gmail.com>
parents:
683
diff
changeset
|
95 |
$first_key = key($metadataurls); |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
96 |
?> |
|
684
f59daf0830d2
less naive implementation of common LDT platform URL
Raphael Velt <raph.velt@gmail.com>
parents:
683
diff
changeset
|
97 |
var metadatas = jQuery.parseJSON('<?php echo(json_encode($metadataurls)); ?>'); |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
98 |
var url = jQuery.url(); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
99 |
var metadata_key = url.fparam('metadata'); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
100 |
if(typeof metadata_key === "undefined" || metadata_key.length === 0) { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
101 |
metadata_key = "<?php echo($first_key);?>"; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
102 |
} |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
103 |
<?php else: ?> |
|
684
f59daf0830d2
less naive implementation of common LDT platform URL
Raphael Velt <raph.velt@gmail.com>
parents:
683
diff
changeset
|
104 |
var metadatas = { metadata: {url: "<?php echo(get_metadata_url($translate->_('config__metadata')));?>"} }; |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
105 |
var metadata_key = "metadata"; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
106 |
<?php endif;?> |
|
657
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
107 |
var _protocol_level = _protocol_level, |
|
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
108 |
_cookiematches = document.cookie.match(/PHPSESSID=([A-Za-z0-9]+)/), |
|
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
109 |
_cookie = (_cookiematches && _cookiematches.length > 1 ? _cookiematches[1] : undefined); |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
110 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
111 |
var _tracer = tracemanager.init_trace("test", { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
112 |
url: "http://traces.advene.org:5000/", |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
113 |
requestmode: "GET", |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
114 |
syncmode: "sync", |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
115 |
default_subject: "PolemicTweet" |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
116 |
}); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
117 |
_tracer.trace("Pt_LoadPage", { |
|
657
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
118 |
url: document.location.href, |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
119 |
protocol_level: <?php echo $protocol_level; ?>, |
|
657
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
120 |
cookie: _cookie |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
121 |
}); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
122 |
|
| 581 | 123 |
IriSP.libFiles.defaultDir = "<?php echo(registry_url('libdir','js'));?>"; |
|
598
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
124 |
IriSP.widgetsDir = "<?php echo(registry_url('ldtwidgets','js'));?>"; |
| 638 | 125 |
IriSP.libFiles.locations.jwPlayerSWF = "<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf"; |
|
598
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
126 |
IriSP.language = "<?php echo($actual) ?>"; |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
127 |
|
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
128 |
var _metadata = { |
|
684
f59daf0830d2
less naive implementation of common LDT platform URL
Raphael Velt <raph.velt@gmail.com>
parents:
683
diff
changeset
|
129 |
url: metadatas[metadata_key].url + '?callback=?', |
|
598
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
130 |
format: 'ldt' |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
131 |
}; |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
132 |
var _config = { |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
133 |
gui: { |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
134 |
width: 600, |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
135 |
height: 800, |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
136 |
container: 'LdtPlayer', |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
137 |
default_options: { |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
138 |
metadata: _metadata |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
139 |
}, |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
140 |
css:'<?php echo(registry_url('metadataplayer','css'));?>', |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
141 |
widgets: [ |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
142 |
<?php if ($protocol_level > 1): ?> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
143 |
{ |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
144 |
type: "Polemic" |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
145 |
<?php if ($protocol_level < 3): ?> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
146 |
, |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
147 |
polemics: [] |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
148 |
<?php endif; ?> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
149 |
}, |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
150 |
<?php endif; ?> |
|
598
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
151 |
{ type: "Slider" }, |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
152 |
{ |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
153 |
type: "Controller", |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
154 |
disable_annotate_btn: true |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
155 |
}, |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
156 |
<?php if ($protocol_level > 1): ?> |
|
648
b28afee5470b
Changed Segment widget parameters
Raphael Velt <raph.velt@gmail.com>
parents:
638
diff
changeset
|
157 |
{ |
|
b28afee5470b
Changed Segment widget parameters
Raphael Velt <raph.velt@gmail.com>
parents:
638
diff
changeset
|
158 |
type: "Segments", |
|
b28afee5470b
Changed Segment widget parameters
Raphael Velt <raph.velt@gmail.com>
parents:
638
diff
changeset
|
159 |
annotation_type: [ "chap", "découpage" ] |
|
b28afee5470b
Changed Segment widget parameters
Raphael Velt <raph.velt@gmail.com>
parents:
638
diff
changeset
|
160 |
}, |
|
598
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
161 |
{ type: "Arrow" }, |
| 650 | 162 |
{ |
163 |
type: "Annotation", |
|
164 |
annotation_type: [ "chap", "découpage" ] |
|
165 |
}, |
|
|
598
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
166 |
{ type: "Tweet" }, |
|
685
b48fe0f2d5b1
Removed Protocol on FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents:
684
diff
changeset
|
167 |
<?php if (!$use_protocol): ?> |
|
598
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
168 |
{ |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
169 |
type: "Tagcloud", |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
170 |
container: "TagcloudContainer", |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
171 |
exclude_pattern: /^@/, |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
172 |
custom_stopwords: <?php echo json_encode(array($config['hashtag'])) ?> |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
173 |
}, |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
174 |
{ |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
175 |
type: "AnnotationsList", |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
176 |
//ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
177 |
//foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
178 |
container: "AnnotationsListContainer" |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
179 |
}, |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
180 |
<?php endif; ?> |
|
685
b48fe0f2d5b1
Removed Protocol on FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents:
684
diff
changeset
|
181 |
<?php endif; ?> |
| 623 | 182 |
{ type: "Mediafragment"}, |
|
685
b48fe0f2d5b1
Removed Protocol on FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents:
684
diff
changeset
|
183 |
<?php if ($use_protocol): ?> |
| 623 | 184 |
{ |
185 |
type: "Trace", |
|
|
657
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
186 |
tracer: _tracer, |
|
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
187 |
extend: { |
|
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
188 |
cookie: _cookie, |
| 658 | 189 |
protocol_level: _protocol_level |
| 659 | 190 |
}, |
191 |
js_console: true |
|
| 623 | 192 |
} |
|
685
b48fe0f2d5b1
Removed Protocol on FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents:
684
diff
changeset
|
193 |
<?php endif; ?> |
|
598
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
194 |
] |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
195 |
}, |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
196 |
player:{ |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
197 |
type:'jwplayer', // player type |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
198 |
live: true, |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
199 |
height: 360, |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
200 |
width: 600, |
|
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
201 |
provider: "rtmp", |
| 638 | 202 |
metadata: _metadata |
| 583 | 203 |
} |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
204 |
}; |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
205 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
206 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
207 |
jQuery(document).ready(function() { |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
208 |
|
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
209 |
<?php if ($show_splash): ?> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
210 |
var _fancybox = jQuery.fancybox; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
211 |
jQuery.fancybox( |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
212 |
jQuery("#splash").html(), |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
213 |
{ |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
214 |
width: 500, |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
215 |
modal: true, |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
216 |
closeBtn: false |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
217 |
}); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
218 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
219 |
jQuery("#fancybox-content form").submit(function() { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
220 |
_fancybox.close(); |
| 659 | 221 |
var _checkboxes = []; |
222 |
jQuery("#fancybox-content .checkbox:checked").each(function() { _checkboxes.push(this.value) }); |
|
223 |
var _data = { |
|
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
224 |
eventLink: _checkboxes, |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
225 |
eMail: jQuery("#fancybox-content .eMail").val(), |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
226 |
twitterHandle: jQuery("#fancybox-content .twitterHandle").val(), |
|
657
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
227 |
cookie: _cookie, |
|
d563fda7b928
Traces now send Protocol Level and Cookie info
Raphael Velt <raph.velt@gmail.com>
parents:
656
diff
changeset
|
228 |
protocol_level: _protocol_level |
| 659 | 229 |
}; |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
230 |
_tracer.trace("Pt_SendForm", _data); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
231 |
return false; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
232 |
}); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
233 |
<?php endif; ?> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
234 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
235 |
jQuery("#mdselect_"+metadata_key).attr("selected","selected"); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
236 |
jQuery("#mdselect").change(function() { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
237 |
var metadata_key = this.options[this.selectedIndex].value; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
238 |
window.location.hash = "#metadata="+metadata_key; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
239 |
window.location.href = window.location.href; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
240 |
window.location.reload(true); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
241 |
jQuery(".embedbutton").attr('href','<?php echo(URL_ROOT.$rep);?>/embed_form.php?metadata='+metadata_key); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
242 |
}); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
243 |
if(metadata_key !== "metadata") { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
244 |
jQuery(".embedbutton").attr('href','<?php echo(URL_ROOT.$rep);?>/embed_form.php?metadata='+metadata_key); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
245 |
} |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
246 |
jQuery(".embedbutton").fancybox({ |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
247 |
'width' : 360, |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
248 |
'height' : 360, |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
249 |
'autoDimensions' : false, |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
250 |
'transitionIn' : 'none', |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
251 |
'transitionOut' : 'none', |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
252 |
'type' : 'iframe' |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
253 |
}); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
254 |
jQuery(".embedbutton").click(function() { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
255 |
_tracer.trace("Pt_EmbedButtonClicked"); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
256 |
}); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
257 |
jQuery(".acctitre").click(function() { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
258 |
var _nx = jQuery(this).next(); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
259 |
if (_nx.is(":hidden")) { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
260 |
jQuery(".acctexte").slideUp(); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
261 |
_nx.slideDown(); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
262 |
} |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
263 |
}) |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
264 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
265 |
}); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
266 |
</script> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
267 |
<script type="text/javascript"> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
268 |
var _gaq = _gaq || []; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
269 |
_gaq.push(['_setAccount', 'UA-23581291-1']); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
270 |
_gaq.push(['_trackPageview', location.pathname + location.search + location.hash]); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
271 |
_gaq.push(['_setAllowAnchor', true]); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
272 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
273 |
(function() { |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
274 |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
275 |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
276 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
277 |
})(); |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
278 |
</script> |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
279 |
</head> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
280 |
<body> |
|
251
d81cc587cc4d
add fablab and correction on feedback
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
236
diff
changeset
|
281 |
<div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div> |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
282 |
|
|
291
db1e6bfaa54e
add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
276
diff
changeset
|
283 |
<!-- tooltip --> |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
284 |
</div> |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
285 |
<div id="splash" style="display:none;"> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
286 |
<div class="splash"> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
287 |
<h1><?php echo $translate->_("Protocol_Head").$translate->_('config__title'); ?></h1> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
288 |
<p><?php echo $translate->_("Protocol_Subtitle"); ?></p> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
289 |
<?php echo $translate->_("Protocol_Explain_Level_".$protocol_level); ?> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
290 |
<hr /> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
291 |
<h2><?php echo $translate->_("Protocol_Questions_Head"); ?></h2> |
| 659 | 292 |
<form target="_blank"> |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
293 |
<h3><?php echo $translate->_("Protocol_Questions_Part_1_prefix").$translate->_('config__title').$translate->_("Protocol_Questions_Part_1_suffix"); ?></h3> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
294 |
<ul> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
295 |
<li><input class="checkbox" type="checkbox" value="wasThere"/><?php echo $translate->_("Protocol_Answer_WasThere"); ?></li> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
296 |
<li><input class="checkbox" type="checkbox" value="watchedStream"/><?php echo $translate->_("Protocol_Answer_WatchedStream"); ?></li> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
297 |
<li><input class="checkbox" type="checkbox" value="liveTweeted"/><?php echo $translate->_("Protocol_Answer_liveTweeted"); ?></li> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
298 |
<li><input class="checkbox" type="checkbox" value="none"/><?php echo $translate->_("Protocol_Answer_none"); ?></li> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
299 |
</ul> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
300 |
<h3><?php echo $translate->_("Protocol_Questions_Part_2"); ?></h3> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
301 |
<ul> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
302 |
<li><label><?php echo $translate->_("Protocol_Answer_Mail"); ?></label><input class="eMail" name="eMail" /></li> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
303 |
<li><label><?php echo $translate->_("Protocol_Answer_Twitter"); ?></label><input class="twitterHandle" name="twitterHandle" /></li> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
304 |
</ul> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
305 |
<input type="submit" value="<?php echo $translate->_("Protocol_Submit_Label"); ?>" class="submit" /> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
306 |
</form> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
307 |
</div> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
308 |
</div> |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
309 |
<div id="container"> |
|
569
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
310 |
<div class="barre"> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
311 |
<img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" /> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
312 |
<div id="minilogo"></div> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
313 |
<ul class="menu"> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
314 |
<li> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
315 |
<a href="<?php echo(URL_ROOT); ?>" class="menuLink"> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
316 |
<?php print $translate->_("Accueil"); ?> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
317 |
</a> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
318 |
</li> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
319 |
<li> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
320 |
<a href="<?php echo($translate->_('config__link')); ?>" class="menuLink" target="_blank" id='Program'> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
321 |
<?php print $translate->_("Programme"); ?> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
322 |
</a> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
323 |
</li> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
324 |
<li> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
325 |
<a href="../about.php" class="menuLink" > |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
326 |
<?php print $translate->_("A propos"); ?> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
327 |
</a> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
328 |
</li> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
329 |
</ul> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
330 |
<ul class="menu"> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
331 |
<li> |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
332 |
<a href="<?php URL_ROOT ?>polemicaltimeline.php?lang=ja_JP" class="menuLink" > |
|
569
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
333 |
<img src='<?php echo(URL_ROOT); ?>images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> /> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
334 |
<?php print $translate->_("Japonais"); ?> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
335 |
</a></li> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
336 |
<li> |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
337 |
<a href="<?php URL_ROOT ?>polemicaltimeline.php?lang=fr" class="menuLink"> |
|
569
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
338 |
<img src='<?php echo(URL_ROOT); ?>images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> /> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
339 |
<?php print $translate->_("Français"); ?> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
340 |
</a> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
341 |
</li> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
342 |
<li> |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
343 |
<a href="<?php URL_ROOT ?>polemicaltimeline.php?lang=en" class="menuLink"> |
|
569
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
344 |
<img src='<?php echo(URL_ROOT); ?>images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> /> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
345 |
<?php print $translate->_("Anglais"); ?> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
346 |
</a> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
347 |
</li> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
348 |
</ul> |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
349 |
|
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
350 |
<?php if(is_array($translate->_('config__metadata'))): ?> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
351 |
<ul id="content_select_ul" class="menu mdselect"> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
352 |
<span><?php print $translate->_("changer de contenu"); ?></span><br/> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
353 |
<select id="mdselect"> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
354 |
<?php foreach ($translate->_('config__metadata') as $key => $value):?> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
355 |
<option value="<?php echo($key); ?>" id="mdselect_<?php echo($key); ?>" ><?php echo($value['display']); ?></option> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
356 |
<?php endforeach;?> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
357 |
</select> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
358 |
</ul> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
359 |
<?php endif;?> |
|
569
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
360 |
<div class="embedbar"> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
361 |
<a class="embedbutton" href="<?php echo(URL_ROOT.$rep)?>/embed_form.php">Intégrer</a> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
362 |
<!-- AddThis Button BEGIN --> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
363 |
<div class="addthis_toolbox addthis_default_style addthis_32x32_style"> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
364 |
<a class="addthis_button_facebook"></a> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
365 |
<a class="addthis_button_twitter"></a> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
366 |
<a class="addthis_button_email"></a> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
367 |
<a class="addthis_button_compact"></a> |
|
535
8276f3ff7a3f
Added new player in player_embed
Raphael Velt <raph.velt@gmail.com>
parents:
534
diff
changeset
|
368 |
</div> |
|
569
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
369 |
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
370 |
<!-- AddThis Button END --> |
|
536
5dd170a735e9
new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents:
535
diff
changeset
|
371 |
</div> |
|
569
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
372 |
</div> |
|
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
373 |
|
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
374 |
<!-- EXPLICATION --> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
375 |
<div id="mdpgauche"> |
|
620
953c68b4da79
Added Edito 24.05 + embed code now relaying mediafragment
Raphael Velt <raph.velt@gmail.com>
parents:
598
diff
changeset
|
376 |
<ul class="accordeon"> |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
377 |
<li class="acctitre"> |
|
536
5dd170a735e9
new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents:
535
diff
changeset
|
378 |
<h3><?php echo($translate->_('config__title')); ?></h3> |
|
5dd170a735e9
new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents:
535
diff
changeset
|
379 |
</li> |
|
620
953c68b4da79
Added Edito 24.05 + embed code now relaying mediafragment
Raphael Velt <raph.velt@gmail.com>
parents:
598
diff
changeset
|
380 |
<li class="acctexte mdpacclimited"> |
|
536
5dd170a735e9
new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents:
535
diff
changeset
|
381 |
<p><?php echo($translate->_('config__description')); ?></p> |
|
5dd170a735e9
new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents:
535
diff
changeset
|
382 |
</li> |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
383 |
|
|
679
383c2fd568d7
Fix on Sam's fix: Tagcloud+List now displayed on non-protocol events
Raphael Velt <raph.velt@gmail.com>
parents:
673
diff
changeset
|
384 |
<?php if (!$use_protocol): ?> |
|
536
5dd170a735e9
new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents:
535
diff
changeset
|
385 |
<li class="acctitre"> |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
386 |
<h3>Liste des Annotations</h3> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
387 |
</li> |
|
620
953c68b4da79
Added Edito 24.05 + embed code now relaying mediafragment
Raphael Velt <raph.velt@gmail.com>
parents:
598
diff
changeset
|
388 |
<li class="acctexte mdpacclimited" style="display: none;"> |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
389 |
<div id="AnnotationsListContainer"></div> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
390 |
</li> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
391 |
<li class="acctitre"> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
392 |
<h3>Mots-clés</h3> |
|
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
393 |
</li> |
|
620
953c68b4da79
Added Edito 24.05 + embed code now relaying mediafragment
Raphael Velt <raph.velt@gmail.com>
parents:
598
diff
changeset
|
394 |
<li class="acctexte mdpacclimited" style="display: none;"> |
|
598
d366aa22bd79
New Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents:
597
diff
changeset
|
395 |
<div id="TagcloudContainer"></div> |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
396 |
</li> |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
397 |
<?php endif; ?> |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
398 |
</ul> |
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
399 |
|
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
400 |
</div> |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
401 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
402 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
403 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
404 |
|
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
405 |
<div id="mdpdroite" > |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
406 |
<div id="LdtPlayer"></div> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
407 |
</div> |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
408 |
<script type="text/javascript"> |
| 638 | 409 |
var _myPlayer = new IriSP.Metadataplayer(_config); |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
410 |
</script> |
|
569
76ee1291e0c8
corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents:
537
diff
changeset
|
411 |
</div> |
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
412 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
413 |
<div class="footer"> |
|
534
0a2505c3b547
New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents:
489
diff
changeset
|
414 |
|
|
656
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
415 |
<hr> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
416 |
<?php echo($translate->_('config__partenaires')); ?> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
417 |
</div> |
|
635a86f25fe7
First tests for PT Protocol implementation
Raphael Velt <raph.velt@gmail.com>
parents:
654
diff
changeset
|
418 |
|
|
197
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
419 |
</div> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
420 |
|
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
421 |
</body> |
|
77e3207456b7
rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff
changeset
|
422 |
</html> |