| author | Raphael Velt <raph.velt@gmail.com> |
| Tue, 06 Mar 2012 13:22:18 +0100 | |
| changeset 535 | 8276f3ff7a3f |
| parent 506 | f7fd2458fc5c |
| permissions | -rw-r--r-- |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
1 |
<?php |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
2 |
$embed = (isset($_REQUEST['embed']) && $_REQUEST['embed']); |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
3 |
$videoWidth = ( $embed ? 442 : 480 ); |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
4 |
$videoHeight = ( $embed ? 250 : 320 ); |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
5 |
?> |
| 420 | 6 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" |
7 |
"http://www.w3.org/TR/html4/strict.dtd"> |
|
8 |
||
9 |
<html lang="<?php echo($actual); ?>"> |
|
10 |
<head> |
|
11 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
12 |
<title>Live Video and Annotation</title> |
|
13 |
<meta http-equiv="X-UA-Compatible" content="IE=9" /> |
|
14 |
||
15 |
<!-- FONT --> |
|
16 |
<link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'> |
|
17 |
<link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'> |
|
18 |
||
19 |
<!-- CSS --> |
|
20 |
<link rel="stylesheet" href="<?php echo(registry_url('fancybox','css'));?>" type="text/css" media="screen"> |
|
21 |
<link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/> |
|
22 |
||
23 |
<!-- JAVASCRIPT --> |
|
24 |
<script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script> |
|
25 |
<script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'))?>"></script> |
|
26 |
<script type="text/javascript" src="<?php echo(registry_url('jquery-scrollto','js'))?>"></script> |
|
27 |
<script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script> |
|
28 |
<script type="text/javascript" src="<?php echo(registry_url('raphael','js'))?>"></script> |
|
29 |
<script type="text/javascript" src="<?php echo(registry_url('fancybox','js'))?>"></script> |
|
30 |
||
31 |
<script type="text/javascript"> |
|
|
485
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
32 |
<?php if (isset($config['hashtag'])) echo "var tracking_keywords = ".json_encode(array($config['hashtag'])).";"; ?> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
33 |
<?php if (isset($config['suggested_keywords'])) echo "var suggested_keywords = ".json_encode($config['suggested_keywords']).";"; ?> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
34 |
<?php if (isset($config['js_config'])) echo $config['js_config']; ?> |
| 420 | 35 |
</script> |
36 |
<script type="text/javascript" src="<?php echo(registry_url('twcx-main','js'))?>"></script> |
|
37 |
||
38 |
<script type="text/javascript"> |
|
39 |
l10n = { "rechercher" : "<?php echo $translate->_('Rechercher'); ?>" } |
|
40 |
|
|
41 |
function add_grammar(value) { |
|
42 |
var _st = $('#status'), |
|
43 |
_val = _st.val(); |
|
44 |
_st.val( _val + ( _val[_val.length - 1] == " " ? "" : " " ) + value ).change(); |
|
45 |
} |
|
46 |
|
|
47 |
$(document).ready(function() { |
|
48 |
|
|
|
421
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
49 |
/* setTimeout(function() { |
| 420 | 50 |
$.scrollTo(70, 1000); |
|
421
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
51 |
}, 2000); */ |
| 420 | 52 |
|
53 |
//$("txt").hide(); |
|
54 |
$(".loginbutton").click(function() { |
|
55 |
document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
|
56 |
}); |
|
57 |
$("#IDENTIFIER").click(function() { |
|
58 |
document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
|
59 |
}); |
|
60 |
|
|
|
506
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
61 |
function updateCounter() { |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
62 |
var _v = $("#status").val(); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
63 |
if (_v.length > 140) { |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
64 |
_v = _v.substr(0,140); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
65 |
$("#status").val(_v); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
66 |
} |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
67 |
$('#tweetCounter').html(140-_v.length); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
68 |
if(140-_v.length < 0) { |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
69 |
$('#tweetCounter').addClass("tweetCounterNegative"); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
70 |
} |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
71 |
else { |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
72 |
$('#tweetCounter').removeClass("tweetCounterNegative"); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
73 |
} |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
74 |
$(".tweetButton").each(function(_i, _e) { |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
75 |
if (_v.search($(_e).find('span.twbSyntax').text().replace(/(\W)/g, '\\$1')) > -1) { |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
76 |
$(_e).addClass('selected'); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
77 |
} else { |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
78 |
$(_e).removeClass('selected'); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
79 |
} |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
80 |
}); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
81 |
} |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
82 |
|
| 420 | 83 |
// BUTTONS |
84 |
$(".tweetButton").click(function() { |
|
|
506
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
85 |
add_grammar($(this).find('span.twbSyntax').text()); |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
86 |
updateCounter(); |
| 420 | 87 |
}) |
88 |
|
|
89 |
// SEND TWEETS |
|
90 |
$("#sendTweet").click(function(){ |
|
91 |
var MyStatus = $('#status').val(); |
|
92 |
$.post('tweet_ajax.php', {status:MyStatus} |
|
93 |
,function(data) { |
|
94 |
|
|
95 |
if(data=="true"){ |
|
96 |
$("#messageSuccess").show('fast'); |
|
97 |
$("#messageSuccess").delay(800).hide('slow'); |
|
98 |
$('#status').val("<?php echo($config['hashtag']); ?>"); |
|
99 |
$('#status').change(); |
|
100 |
}else{ |
|
101 |
$("#error").text(data); |
|
102 |
$("#messageFailed").show('fast'); |
|
103 |
$("#messageFailed").delay(800).hide('slow'); |
|
104 |
} |
|
105 |
|
|
106 |
}); |
|
107 |
|
|
108 |
}); |
|
|
506
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
109 |
|
| 420 | 110 |
|
|
506
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
111 |
$("#status").bind("change keyup paste blur focus",updateCounter); |
| 420 | 112 |
|
113 |
|
|
114 |
$("#Program").fancybox({ |
|
115 |
'width' : '75%', |
|
116 |
'height' : '75%', |
|
117 |
'autoScale' : false, |
|
118 |
'transitionIn' : 'none', |
|
119 |
'transitionOut' : 'none', |
|
120 |
'type' : 'iframe' |
|
121 |
}); |
|
122 |
|
|
|
421
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
123 |
$("#onglets a").click(function() { |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
124 |
$("div.ifwrap").hide(); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
125 |
$("#onglets li").removeClass("selected"); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
126 |
$(this).parent().addClass("selected"); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
127 |
var hr = $(this).attr("href"); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
128 |
if (hr[0] == '#') { |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
129 |
$(hr).show(); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
130 |
} else { |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
131 |
$("#iframeWrap").show(); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
132 |
$("#graphFrame").attr("src", hr); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
133 |
} |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
134 |
return false; |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
135 |
}); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
136 |
|
| 420 | 137 |
|
138 |
}); |
|
139 |
||
140 |
//<!-- LIMIT TEXTAREA: |
|
141 |
// End --> |
|
142 |
||
143 |
</script> |
|
144 |
||
145 |
<script type="text/javascript"> |
|
146 |
|
|
147 |
var _gaq = _gaq || []; |
|
148 |
_gaq.push(['_setAccount', 'UA-23581291-1']); |
|
149 |
_gaq.push(['_trackPageview']); |
|
150 |
_gaq.push(['_setAllowAnchor', true]); |
|
151 |
|
|
152 |
(function() { |
|
153 |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
|
154 |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
|
155 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
|
156 |
})(); |
|
157 |
|
|
158 |
</script> |
|
159 |
||
160 |
</head> |
|
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
161 |
<body<?php if ($embed) { echo ' class="embed"'; } ?>> |
| 420 | 162 |
<div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div> |
163 |
||
164 |
<div id="container"> |
|
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
165 |
|
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
166 |
<div id="coldroite"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
167 |
<ul id="onglets"> |
|
485
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
168 |
<?php if (isset($config['semantic_board']) and isset($config['knowtex_url'])) { ?> |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
169 |
<li class="selected"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
170 |
<a href="#vlWrap"><?php echo($translate->_('Video')); ?></a> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
171 |
</li> |
|
485
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
172 |
<?php } ?> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
173 |
<?php if (isset($config['semantic_board']) and $config['semantic_board']) { ?> |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
174 |
<li> |
|
470
1e091ac28dd9
semantic board corrections
Raphael Velt <raph.velt@gmail.com>
parents:
466
diff
changeset
|
175 |
<a href="semanticboard.php?small=1&theme=jour"><?php echo($translate->_('SemanticBoard')); ?></a> |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
176 |
</li> |
|
485
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
177 |
<?php } ?> |
|
470
1e091ac28dd9
semantic board corrections
Raphael Velt <raph.velt@gmail.com>
parents:
466
diff
changeset
|
178 |
<?php if (isset($config['knowtex_url'])) { ?> |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
179 |
<li> |
|
470
1e091ac28dd9
semantic board corrections
Raphael Velt <raph.velt@gmail.com>
parents:
466
diff
changeset
|
180 |
<a href="<?php echo $config['knowtex_url'] ?>"><?php echo($translate->_('SocialGraph')); ?></a> |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
181 |
</li> |
|
470
1e091ac28dd9
semantic board corrections
Raphael Velt <raph.velt@gmail.com>
parents:
466
diff
changeset
|
182 |
<?php } ?> |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
183 |
</ul> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
184 |
<div class="ifwrap" id="vlWrap"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
185 |
<div id="videoLivePlayer"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
186 |
<?php if ($config['islive']):?> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
187 |
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="<?php echo $videoWidth; ?>" height="<?php echo $videoHeight; ?>"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
188 |
<param name="movie" value="<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf" /> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
189 |
<param name="allowfullscreen" value="true" /> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
190 |
<param name="allowscriptaccess" value="always" /> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
191 |
<param name="wmode" value="transparent" /> |
|
477
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
192 |
<?php |
|
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
193 |
|
|
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
194 |
function flv_param($name,$default) { |
|
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
195 |
global $config; |
|
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
196 |
return ( isset($config["flv_$name"]) ? ( $config["flv_$name"] ? "&$name=".$config["flv_$name"] : "" ) : "&$name=$default" ); |
|
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
197 |
} |
|
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
198 |
|
|
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
199 |
$flashvars = "autostart=true&live=true".flv_param("provider", "rtmp").flv_param("streamer", "rtmp://media.iri.centrepompidou.fr/ddc_player/").flv_param("file", "livestream")."&image=$big_visual_url&controlbar=none&autostart=true"; |
|
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
200 |
?> |
|
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
201 |
<param name="flashvars" value="<?php echo $flashvars; ?>" /> |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
202 |
<embed |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
203 |
type="application/x-shockwave-flash" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
204 |
id="player2" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
205 |
name="player2" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
206 |
src="<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
207 |
width="<?php echo $videoWidth; ?>" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
208 |
height="<?php echo $videoHeight; ?>" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
209 |
allowscriptaccess="always" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
210 |
allowfullscreen="true" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
211 |
wmode="transparent" |
|
477
c236340517d1
Stream configuration options for BPI
Raphael Velt <raph.velt@gmail.com>
parents:
470
diff
changeset
|
212 |
flashvars="<?php echo $flashvars; ?>" |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
213 |
/> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
214 |
</object> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
215 |
<?php elseif(isset($config['islive_embed']) && count($config['islive_embed'])>0):?> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
216 |
<?php echo($config['islive_embed']); ?> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
217 |
<?php else: ?> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
218 |
<img src="<?php echo($big_visual_url); ?>" width="<?php echo $videoWidth; ?>" height="<?php echo $videoHeight; ?>" /> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
219 |
<?php endif; ?> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
220 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
221 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
222 |
<div class="ifwrap hidden" id="iframeWrap"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
223 |
<iframe id="graphFrame"></iframe> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
224 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
225 |
<div id="out_fleche"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
226 |
<!-- <div id="in_fleche"></div> --> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
227 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
228 |
<ul id="accordeon"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
229 |
<li class="acctitre"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
230 |
<h3><?php echo($translate->_('config__title')); ?></h3> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
231 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
232 |
<li class="acctexte"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
233 |
<p><?php echo($translate->_('config__description')); ?></p> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
234 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
235 |
<li class="acctitre"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
236 |
<h3><?php echo($translate->_('keywords')); ?></h3> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
237 |
</li> |
|
485
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
238 |
<li class="fl"> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
239 |
<ul class="fl"> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
240 |
<li class="acctexte"> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
241 |
<div class="accsubtitle"> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
242 |
<div class="aroundsubtitle"> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
243 |
<h4><?php echo($translate->_('suggested')); ?></h4> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
244 |
</div> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
245 |
</div> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
246 |
<div class="tagcloud" id="suggkw"></div> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
247 |
</li> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
248 |
<li class="acctexte"> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
249 |
<div class="accsubtitle"> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
250 |
<div class="aroundsubtitle"> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
251 |
<h4><?php echo($translate->_('contextual')); ?></h4> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
252 |
</div> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
253 |
</div> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
254 |
<div class="tagcloud" id="motscles"></div> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
255 |
</li> |
|
38ac6cb87be7
Live polemic tweet corrections
Raphael Velt <raph.velt@gmail.com>
parents:
477
diff
changeset
|
256 |
</ul> |
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
257 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
258 |
</ul> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
259 |
</div> |
| 420 | 260 |
<div id="colgauche"> |
261 |
<div class="barre"> |
|
262 |
<img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" /> |
|
263 |
<div id="minilogo"></div> |
|
264 |
<ul class="menu"> |
|
265 |
<li> |
|
266 |
<a href="<?php echo(URL_ROOT); ?>" class="menuLink"> |
|
267 |
<?php print $translate->_("Accueil"); ?> |
|
268 |
</a> |
|
269 |
</li> |
|
270 |
<li> |
|
271 |
<a href="<?php echo($translate->_('config__link')); ?>" class="menuLink" target="_blank" id='Program'> |
|
272 |
<?php print $translate->_("Programme"); ?> |
|
273 |
</a> |
|
274 |
</li> |
|
275 |
<li> |
|
276 |
<a href="../about.php" class="menuLink" > |
|
277 |
<?php print $translate->_("A propos"); ?> |
|
278 |
</a> |
|
279 |
</li> |
|
280 |
</ul> |
|
281 |
<ul class="menu"> |
|
282 |
<li> |
|
283 |
<a href="<?php URL_ROOT ?>client.php?lang=ja_JP" class="menuLink" > |
|
284 |
<img src='<?php echo(URL_ROOT); ?>images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> /> |
|
285 |
<?php print $translate->_("Japonais"); ?> |
|
286 |
</a></li> |
|
287 |
<li> |
|
288 |
<a href="<?php URL_ROOT ?>client.php?lang=fr" class="menuLink"> |
|
289 |
<img src='<?php echo(URL_ROOT); ?>images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> /> |
|
290 |
<?php print $translate->_("Français"); ?> |
|
291 |
</a> |
|
292 |
</li> |
|
293 |
<li> |
|
294 |
<a href="<?php URL_ROOT ?>client.php?lang=en" class="menuLink"> |
|
295 |
<img src='<?php echo(URL_ROOT); ?>images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> /> |
|
296 |
<?php print $translate->_("Anglais"); ?> |
|
297 |
</a> |
|
298 |
</li> |
|
299 |
</ul> |
|
300 |
</div> |
|
301 |
<div id="twwWrap"> |
|
302 |
<div id="tweetWriter"> |
|
|
506
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
303 |
<?php if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])): ?> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
304 |
<div id="tweetCounter"><?php echo(140-strlen($config['hashtag']));?></div> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
305 |
<?php endif;?> |
| 420 | 306 |
<h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?></h3> |
307 |
<form action="tweet.php" method="post" id="statusform" > |
|
308 |
<?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){ |
|
309 |
echo("<div class='loginbutton'><a href='".URL_ROOT."$rep/client.php?CONNECT=true' class='loginlink'>".$translate->_("Vous n'êtes pas connecté.")."</a></div>"); |
|
310 |
} else { |
|
|
506
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
311 |
echo("<textarea name='status' id='status' rows='3' cols='50'>$config[hashtag]</textarea>"); |
| 420 | 312 |
} |
313 |
?> |
|
314 |
<div id="messageSuccess" style="background-color:lightgreen; display: none;"> |
|
315 |
<?php print $translate->_("Envoyé"); ?><br/><br/> |
|
316 |
</div> |
|
317 |
<div id="messageFailed" style="background-color:red; display: none;"> |
|
318 |
<?php print $translate->_("Erreur1"); ?><div id="error"> </div><br/><br/> |
|
319 |
</div> |
|
320 |
<a href="#" id="sendTweet" > |
|
321 |
<span><?php print $translate->_("Envoyer"); ?></span> |
|
322 |
</a> |
|
|
506
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
323 |
<a id="positive" title="++ | <?php echo $translate->_('Agree'); ?>" class="tweetButton twbGreen"> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
324 |
<span class="twbSyntax">++</span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
325 |
<span class="twbSeparator">|</span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
326 |
<span class="twbLabel"><?php echo $translate->_('Agree'); ?></span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
327 |
</a> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
328 |
<a id="negative" title="-- | <?php echo $translate->_('Disagree'); ?>" class="tweetButton twbRed"> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
329 |
<span class="twbSyntax">--</span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
330 |
<span class="twbSeparator">|</span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
331 |
<span class="twbLabel"><?php echo $translate->_('Disagree'); ?></span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
332 |
</a> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
333 |
<a id="reference" title="== | <?php echo $translate->_('Reference'); ?>" class="tweetButton twbYellow"> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
334 |
<span class="twbSyntax">==</span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
335 |
<span class="twbSeparator">|</span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
336 |
<span class="twbLabel"><?php echo $translate->_('Reference'); ?></span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
337 |
</a> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
338 |
<a id="question" title="?? | <?php echo $translate->_('Question'); ?>" class="tweetButton twbBlue"> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
339 |
<span class="twbSyntax">??</span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
340 |
<span class="twbSeparator">|</span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
341 |
<span class="twbLabel"><?php echo $translate->_('Question'); ?></span> |
|
f7fd2458fc5c
Added museo 14.02.12 and several corrections
Raphael Velt <raph.velt@gmail.com>
parents:
485
diff
changeset
|
342 |
</a> |
| 420 | 343 |
|
344 |
<div style="clear: both;"></div> |
|
345 |
</form> |
|
346 |
</div> |
|
347 |
</div> |
|
348 |
<div id="tweetviz"> |
|
349 |
<div class="barre"> |
|
350 |
<form id="recherche"> |
|
351 |
<input autocomplete="off" class="greyed" id="inp_q" value="<?php echo $translate->_('Rechercher'); ?>" /> |
|
352 |
<input id="inp_submit" type="submit" /> |
|
353 |
<input id="inp_reset" type="reset" /> |
|
354 |
<div id="time_controls"> |
|
355 |
<div id="time_legende"></div> |
|
356 |
<div id="time_scale"></div> |
|
357 |
<a href="#" id="time_zoomout"></a> |
|
358 |
<a href="#" id="time_zoomin"></a> |
|
359 |
</div> |
|
360 |
<div id="recherche_annot"> |
|
361 |
<?php echo $translate->_('SearchByPolemic'); ?> : <span id="rech_list_annot"></span><br /> |
|
362 |
</div> |
|
363 |
</form> |
|
364 |
</div> |
|
365 |
<ul id="tweetlist"></ul> |
|
366 |
<div id="timeline"></div> |
|
367 |
<div id="scrollcont"> |
|
368 |
<div id="scrollin"></div> |
|
369 |
</div> |
|
370 |
</div> |
|
371 |
</div> |
|
372 |
<div class="footer"> |
|
373 |
<hr /> |
|
374 |
<?php |
|
375 |
echo($translate->_('config__partenaires')); |
|
376 |
||
377 |
if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])){ |
|
378 |
echo("| <a href='clear.php' class='footerLink'>".$translate->_("Déconnexion")."</a>"); |
|
379 |
} |
|
380 |
?> |
|
381 |
</div> |
|
382 |
</div> |
|
383 |
<div id="hovertweet"> |
|
384 |
<div id="hovercontent"></div> |
|
385 |
<div id="hoverarrow"></div> |
|
386 |
</div> |
|
387 |
<ul id="hoverkw"> |
|
388 |
<li><a id="hkwsearch" href="#"><?php echo $translate->_('Rechercher'); ?></a></li> |
|
389 |
<li><a id="hkwtweet" href="#"><?php echo $translate->_('addToTweet'); ?></a></li> |
|
390 |
</ul> |
|
391 |
</body> |
|
|
406
86b62b98fea7
Polemic Tweet client now uses rv's live system
Raphael Velt <raph.velt@gmail.com>
parents:
357
diff
changeset
|
392 |
</html> |