| author | Raphael Velt <raph.velt@gmail.com> |
| Fri, 16 Dec 2011 20:10:31 +0100 | |
| changeset 424 | e67c4b18a16b |
| parent 421 | c8db83b70def |
| child 466 | 8231b4f3acca |
| 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"> |
|
32 |
<?php echo $config['js_config']; ?> |
|
33 |
</script> |
|
34 |
<script type="text/javascript" src="<?php echo(registry_url('twcx-main','js'))?>"></script> |
|
35 |
||
36 |
<script type="text/javascript"> |
|
37 |
l10n = { "rechercher" : "<?php echo $translate->_('Rechercher'); ?>" } |
|
38 |
|
|
39 |
function add_grammar(value) { |
|
40 |
var _st = $('#status'), |
|
41 |
_val = _st.val(); |
|
42 |
_st.val( _val + ( _val[_val.length - 1] == " " ? "" : " " ) + value ).change(); |
|
43 |
} |
|
44 |
|
|
45 |
$(document).ready(function() { |
|
46 |
|
|
|
421
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
47 |
/* setTimeout(function() { |
| 420 | 48 |
$.scrollTo(70, 1000); |
|
421
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
49 |
}, 2000); */ |
| 420 | 50 |
|
51 |
$("#accordeon h3").click(function() { |
|
52 |
$("li.acctexte").slideToggle(); |
|
53 |
return false; |
|
54 |
}) |
|
55 |
||
56 |
//$("txt").hide(); |
|
57 |
$(".loginbutton").click(function() { |
|
58 |
document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
|
59 |
}); |
|
60 |
$("#IDENTIFIER").click(function() { |
|
61 |
document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
|
62 |
}); |
|
63 |
|
|
64 |
// BUTTONS |
|
65 |
$(".tweetButton").click(function() { |
|
66 |
add_grammar($(this).text()); |
|
67 |
}) |
|
68 |
|
|
69 |
// SEND TWEETS |
|
70 |
$("#sendTweet").click(function(){ |
|
71 |
var MyStatus = $('#status').val(); |
|
72 |
$.post('tweet_ajax.php', {status:MyStatus} |
|
73 |
,function(data) { |
|
74 |
|
|
75 |
if(data=="true"){ |
|
76 |
$("#messageSuccess").show('fast'); |
|
77 |
$("#messageSuccess").delay(800).hide('slow'); |
|
78 |
$('#status').val("<?php echo($config['hashtag']); ?>"); |
|
79 |
$('#status').change(); |
|
80 |
}else{ |
|
81 |
$("#error").text(data); |
|
82 |
$("#messageFailed").show('fast'); |
|
83 |
$("#messageFailed").delay(800).hide('slow'); |
|
84 |
} |
|
85 |
|
|
86 |
}); |
|
87 |
|
|
88 |
}); |
|
89 |
||
90 |
$("#status").bind("change keyup paste blur focus",function() { |
|
91 |
newval = 140-$("#status").val().length; |
|
92 |
$('#tweetCounter').val(newval); |
|
93 |
if(newval < 0) { |
|
94 |
$('#tweetCounter').addClass("tweetCounterNegative"); |
|
95 |
} |
|
96 |
else { |
|
97 |
$('#tweetCounter').removeClass("tweetCounterNegative"); |
|
98 |
} |
|
99 |
}); |
|
100 |
|
|
101 |
|
|
102 |
$("#Program").fancybox({ |
|
103 |
'width' : '75%', |
|
104 |
'height' : '75%', |
|
105 |
'autoScale' : false, |
|
106 |
'transitionIn' : 'none', |
|
107 |
'transitionOut' : 'none', |
|
108 |
'type' : 'iframe' |
|
109 |
}); |
|
110 |
|
|
|
421
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
111 |
$("#onglets a").click(function() { |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
112 |
$("div.ifwrap").hide(); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
113 |
$("#onglets li").removeClass("selected"); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
114 |
$(this).parent().addClass("selected"); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
115 |
var hr = $(this).attr("href"); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
116 |
if (hr[0] == '#') { |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
117 |
$(hr).show(); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
118 |
} else { |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
119 |
$("#iframeWrap").show(); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
120 |
$("#graphFrame").attr("src", hr); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
121 |
} |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
122 |
return false; |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
123 |
}); |
|
c8db83b70def
Added "sweet-tweet" & Knowtex iframes in client
Raphael Velt <raph.velt@gmail.com>
parents:
420
diff
changeset
|
124 |
|
| 420 | 125 |
|
126 |
}); |
|
127 |
||
128 |
//<!-- LIMIT TEXTAREA: |
|
129 |
function imposemax(obj) { |
|
130 |
obj.value = obj.value.substr(0,140); |
|
131 |
}; |
|
132 |
// End --> |
|
133 |
||
134 |
</script> |
|
135 |
||
136 |
<script type="text/javascript"> |
|
137 |
|
|
138 |
var _gaq = _gaq || []; |
|
139 |
_gaq.push(['_setAccount', 'UA-23581291-1']); |
|
140 |
_gaq.push(['_trackPageview']); |
|
141 |
_gaq.push(['_setAllowAnchor', true]); |
|
142 |
|
|
143 |
(function() { |
|
144 |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
|
145 |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
|
146 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
|
147 |
})(); |
|
148 |
|
|
149 |
</script> |
|
150 |
||
151 |
</head> |
|
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
152 |
<body<?php if ($embed) { echo ' class="embed"'; } ?>> |
| 420 | 153 |
<div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div> |
154 |
||
155 |
<div id="container"> |
|
|
424
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
156 |
|
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
157 |
<div id="coldroite"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
158 |
<ul id="onglets"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
159 |
<li class="selected"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
160 |
<a href="#vlWrap"><?php echo($translate->_('Video')); ?></a> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
161 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
162 |
<li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
163 |
<a href="../sweet-tweet/small.html"><?php echo($translate->_('SemanticBoard')); ?></a> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
164 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
165 |
<li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
166 |
<a href="http://labs.knowtex.com/enmi2011"><?php echo($translate->_('SocialGraph')); ?></a> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
167 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
168 |
</ul> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
169 |
<div class="ifwrap" id="vlWrap"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
170 |
<div id="videoLivePlayer"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
171 |
<?php if ($config['islive']):?> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
172 |
<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
|
173 |
<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
|
174 |
<param name="allowfullscreen" value="true" /> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
175 |
<param name="allowscriptaccess" value="always" /> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
176 |
<param name="wmode" value="transparent" /> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
177 |
<param name="flashvars" value="autostart=true&live=true&image=<?php echo($big_visual_url); ?>&provider=rtmp&streamer=rtmp://media.iri.centrepompidou.fr/ddc_player/&file=livestream&controlbar=none&autostart=true" /> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
178 |
<embed |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
179 |
type="application/x-shockwave-flash" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
180 |
id="player2" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
181 |
name="player2" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
182 |
src="<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
183 |
width="<?php echo $videoWidth; ?>" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
184 |
height="<?php echo $videoHeight; ?>" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
185 |
allowscriptaccess="always" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
186 |
allowfullscreen="true" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
187 |
wmode="transparent" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
188 |
flashvars="autostart=true&live=true&provider=rtmp&streamer=rtmp://media.iri.centrepompidou.fr/ddc_player/&file=livestream&image=<?php echo($big_visual_url); ?>&controlbar=none&autostart=true" |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
189 |
/> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
190 |
</object> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
191 |
<?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
|
192 |
<?php echo($config['islive_embed']); ?> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
193 |
<?php else: ?> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
194 |
<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
|
195 |
<?php endif; ?> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
196 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
197 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
198 |
<div class="ifwrap hidden" id="iframeWrap"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
199 |
<iframe id="graphFrame"></iframe> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
200 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
201 |
<div id="out_fleche"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
202 |
<!-- <div id="in_fleche"></div> --> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
203 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
204 |
<ul id="accordeon"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
205 |
<li class="acctitre"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
206 |
<h3><?php echo($translate->_('config__title')); ?></h3> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
207 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
208 |
<li class="acctexte"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
209 |
<p><?php echo($translate->_('config__description')); ?></p> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
210 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
211 |
<li class="acctitre"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
212 |
<h3><?php echo($translate->_('keywords')); ?></h3> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
213 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
214 |
<li class="acctexte hidden"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
215 |
<div class="accsubtitle"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
216 |
<div class="aroundsubtitle"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
217 |
<h4><?php echo($translate->_('suggested')); ?></h4> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
218 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
219 |
</div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
220 |
<div class="tagcloud" id="suggkw"></div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
221 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
222 |
<li class="acctexte hidden"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
223 |
<div class="accsubtitle"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
224 |
<div class="aroundsubtitle"> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
225 |
<h4><?php echo($translate->_('contextual')); ?></h4> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
226 |
</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 |
<div class="tagcloud" id="motscles"></div> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
229 |
</li> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
230 |
</ul> |
|
e67c4b18a16b
Added Embeddable Version
Raphael Velt <raph.velt@gmail.com>
parents:
421
diff
changeset
|
231 |
</div> |
| 420 | 232 |
<div id="colgauche"> |
233 |
<div class="barre"> |
|
234 |
<img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" /> |
|
235 |
<div id="minilogo"></div> |
|
236 |
<ul class="menu"> |
|
237 |
<li> |
|
238 |
<a href="<?php echo(URL_ROOT); ?>" class="menuLink"> |
|
239 |
<?php print $translate->_("Accueil"); ?> |
|
240 |
</a> |
|
241 |
</li> |
|
242 |
<li> |
|
243 |
<a href="<?php echo($translate->_('config__link')); ?>" class="menuLink" target="_blank" id='Program'> |
|
244 |
<?php print $translate->_("Programme"); ?> |
|
245 |
</a> |
|
246 |
</li> |
|
247 |
<li> |
|
248 |
<a href="../about.php" class="menuLink" > |
|
249 |
<?php print $translate->_("A propos"); ?> |
|
250 |
</a> |
|
251 |
</li> |
|
252 |
</ul> |
|
253 |
<ul class="menu"> |
|
254 |
<li> |
|
255 |
<a href="<?php URL_ROOT ?>client.php?lang=ja_JP" class="menuLink" > |
|
256 |
<img src='<?php echo(URL_ROOT); ?>images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> /> |
|
257 |
<?php print $translate->_("Japonais"); ?> |
|
258 |
</a></li> |
|
259 |
<li> |
|
260 |
<a href="<?php URL_ROOT ?>client.php?lang=fr" class="menuLink"> |
|
261 |
<img src='<?php echo(URL_ROOT); ?>images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> /> |
|
262 |
<?php print $translate->_("Français"); ?> |
|
263 |
</a> |
|
264 |
</li> |
|
265 |
<li> |
|
266 |
<a href="<?php URL_ROOT ?>client.php?lang=en" class="menuLink"> |
|
267 |
<img src='<?php echo(URL_ROOT); ?>images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> /> |
|
268 |
<?php print $translate->_("Anglais"); ?> |
|
269 |
</a> |
|
270 |
</li> |
|
271 |
</ul> |
|
272 |
</div> |
|
273 |
<div id="twwWrap"> |
|
274 |
<div id="tweetWriter"> |
|
275 |
<h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?></h3> |
|
276 |
<form action="tweet.php" method="post" id="statusform" > |
|
277 |
<?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){ |
|
278 |
echo("<div class='loginbutton'><a href='".URL_ROOT."$rep/client.php?CONNECT=true' class='loginlink'>".$translate->_("Vous n'êtes pas connecté.")."</a></div>"); |
|
279 |
} else { |
|
280 |
echo("<textarea name='status' id='status' rows='3' cols='50' onkeypress='imposemax(this);'>$config[hashtag]</textarea>"); |
|
281 |
} |
|
282 |
?> |
|
283 |
<div id="messageSuccess" style="background-color:lightgreen; display: none;"> |
|
284 |
<?php print $translate->_("Envoyé"); ?><br/><br/> |
|
285 |
</div> |
|
286 |
<div id="messageFailed" style="background-color:red; display: none;"> |
|
287 |
<?php print $translate->_("Erreur1"); ?><div id="error"> </div><br/><br/> |
|
288 |
</div> |
|
289 |
<a href="#" id="sendTweet" > |
|
290 |
<span><?php print $translate->_("Envoyer"); ?></span> |
|
291 |
</a> |
|
292 |
<?php if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])): ?> |
|
293 |
<input id="tweetCounter" value="<?php echo(140-strlen($config['hashtag']));?>" disabled="disabled" size="3"/> |
|
294 |
<?php endif;?> |
|
295 |
<a id="positive" title="<?php echo $translate->_('Agree'); ?>" class="tweetButton">++</a> |
|
296 |
<a id="negative" title="<?php echo $translate->_('Disagree'); ?>" class="tweetButton">--</a> |
|
297 |
<a id="reference" title="<?php echo $translate->_('Reference'); ?>" class="tweetButton">==</a> |
|
298 |
<a id="question" title="<?php echo $translate->_('Question'); ?>" class="tweetButton"> ??</a> |
|
299 |
||
300 |
<div style="clear: both;"></div> |
|
301 |
</form> |
|
302 |
</div> |
|
303 |
</div> |
|
304 |
<div id="tweetviz"> |
|
305 |
<div class="barre"> |
|
306 |
<form id="recherche"> |
|
307 |
<input autocomplete="off" class="greyed" id="inp_q" value="<?php echo $translate->_('Rechercher'); ?>" /> |
|
308 |
<input id="inp_submit" type="submit" /> |
|
309 |
<input id="inp_reset" type="reset" /> |
|
310 |
<div id="time_controls"> |
|
311 |
<div id="time_legende"></div> |
|
312 |
<div id="time_scale"></div> |
|
313 |
<a href="#" id="time_zoomout"></a> |
|
314 |
<a href="#" id="time_zoomin"></a> |
|
315 |
</div> |
|
316 |
<div id="recherche_annot"> |
|
317 |
<?php echo $translate->_('SearchByPolemic'); ?> : <span id="rech_list_annot"></span><br /> |
|
318 |
</div> |
|
319 |
</form> |
|
320 |
</div> |
|
321 |
<ul id="tweetlist"></ul> |
|
322 |
<div id="timeline"></div> |
|
323 |
<div id="scrollcont"> |
|
324 |
<div id="scrollin"></div> |
|
325 |
</div> |
|
326 |
</div> |
|
327 |
</div> |
|
328 |
<div class="footer"> |
|
329 |
<hr /> |
|
330 |
<?php |
|
331 |
echo($translate->_('config__partenaires')); |
|
332 |
||
333 |
if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])){ |
|
334 |
echo("| <a href='clear.php' class='footerLink'>".$translate->_("Déconnexion")."</a>"); |
|
335 |
} |
|
336 |
?> |
|
337 |
</div> |
|
338 |
</div> |
|
339 |
<div id="hovertweet"> |
|
340 |
<div id="hovercontent"></div> |
|
341 |
<div id="hoverarrow"></div> |
|
342 |
</div> |
|
343 |
<ul id="hoverkw"> |
|
344 |
<li><a id="hkwsearch" href="#"><?php echo $translate->_('Rechercher'); ?></a></li> |
|
345 |
<li><a id="hkwtweet" href="#"><?php echo $translate->_('addToTweet'); ?></a></li> |
|
346 |
</ul> |
|
347 |
</body> |
|
|
406
86b62b98fea7
Polemic Tweet client now uses rv's live system
Raphael Velt <raph.velt@gmail.com>
parents:
357
diff
changeset
|
348 |
</html> |