equal
deleted
inserted
replaced
70 $.noConflict(); |
70 $.noConflict(); |
71 </script> |
71 </script> |
72 <script type="text/javascript" src="<?php echo(registry_url('fancybox','js'));?>"></script> |
72 <script type="text/javascript" src="<?php echo(registry_url('fancybox','js'));?>"></script> |
73 <script type="text/javascript" src="<?php echo(registry_url('jquery-url','js'));?>"></script> |
73 <script type="text/javascript" src="<?php echo(registry_url('jquery-url','js'));?>"></script> |
74 <script type="text/javascript" src="<?php echo(registry_url('metadataplayer','js'));?>"></script> |
74 <script type="text/javascript" src="<?php echo(registry_url('metadataplayer','js'));?>"></script> |
75 <script type="text/javascript" src="<?php echo(registry_url('tracemanager','js'));?>"></script> |
|
76 |
75 |
77 <!-- Framework CSS --> |
76 <!-- Framework CSS --> |
78 <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/> |
77 <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/> |
79 <link rel="stylesheet" href="<?php echo(registry_url('fancybox','css'));?>" media="screen"/> |
78 <link rel="stylesheet" href="<?php echo(registry_url('fancybox','css'));?>" media="screen"/> |
80 |
79 |
106 <?php endif;?> |
105 <?php endif;?> |
107 var _protocol_level = _protocol_level, |
106 var _protocol_level = _protocol_level, |
108 _cookiematches = document.cookie.match(/PHPSESSID=([A-Za-z0-9]+)/), |
107 _cookiematches = document.cookie.match(/PHPSESSID=([A-Za-z0-9]+)/), |
109 _cookie = (_cookiematches && _cookiematches.length > 1 ? _cookiematches[1] : undefined); |
108 _cookie = (_cookiematches && _cookiematches.length > 1 ? _cookiematches[1] : undefined); |
110 |
109 |
111 var _tracer = tracemanager.init_trace("test", { |
|
112 url: "http://trail.dev.fabelier.org/", |
|
113 requestmode: "GET", |
|
114 syncmode: "sync", |
|
115 default_subject: "PolemicTweet" |
|
116 }); |
|
117 _tracer.trace("Pt_LoadPage", { |
|
118 cookie: _cookie, |
|
119 url: document.location.href |
|
120 }); |
|
121 |
|
122 IriSP.libFiles.defaultDir = "<?php echo(registry_url('libdir','js'));?>"; |
110 IriSP.libFiles.defaultDir = "<?php echo(registry_url('libdir','js'));?>"; |
123 IriSP.widgetsDir = "<?php echo(registry_url('ldtwidgets','js'));?>"; |
111 IriSP.widgetsDir = "<?php echo(registry_url('ldtwidgets','js'));?>"; |
124 IriSP.libFiles.locations.jwPlayerSWF = "<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf"; |
112 IriSP.libFiles.locations.jwPlayerSWF = "<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf"; |
125 IriSP.language = "<?php echo($actual) ?>"; |
113 IriSP.language = "<?php echo($actual) ?>"; |
126 |
114 |
195 slice_annotation_type: ["chap","découpage"], |
183 slice_annotation_type: ["chap","découpage"], |
196 creator_avatar: "<?php echo(URL_ROOT); ?>images/avatar.png" |
184 creator_avatar: "<?php echo(URL_ROOT); ?>images/avatar.png" |
197 }, |
185 }, |
198 <?php endif; ?> |
186 <?php endif; ?> |
199 { type: "Mediafragment"}, |
187 { type: "Mediafragment"}, |
200 { |
|
201 type: "Trace", |
|
202 tracer: _tracer, |
|
203 extend: { |
|
204 cookie: _cookie, |
|
205 url: document.location.href |
|
206 }, |
|
207 js_console: false |
|
208 } |
|
209 ] |
188 ] |
210 }; |
189 }; |
211 |
190 |
212 jQuery(document).ready(function() { |
191 jQuery(document).ready(function() { |
213 <?php if ($show_splash): ?> |
192 <?php if ($show_splash): ?> |
228 eMail: jQuery("#fancybox-content .eMail").val(), |
207 eMail: jQuery("#fancybox-content .eMail").val(), |
229 twitterHandle: jQuery("#fancybox-content .twitterHandle").val(), |
208 twitterHandle: jQuery("#fancybox-content .twitterHandle").val(), |
230 cookie: _cookie, |
209 cookie: _cookie, |
231 protocol_level: _protocol_level |
210 protocol_level: _protocol_level |
232 }; |
211 }; |
233 _tracer.trace("Pt_SendForm", _data); |
|
234 return false; |
212 return false; |
235 }); |
213 }); |
236 <?php endif; ?> |
214 <?php endif; ?> |
237 |
215 |
238 jQuery("#mdselect_"+metadata_key).attr("selected","selected"); |
216 jQuery("#mdselect_"+metadata_key).attr("selected","selected"); |
258 type: "iframe", |
236 type: "iframe", |
259 width: 840, |
237 width: 840, |
260 height: 640, |
238 height: 640, |
261 transitionIn: "none", |
239 transitionIn: "none", |
262 transitionOut: "none" |
240 transitionOut: "none" |
263 }); |
|
264 jQuery(".embedbutton").click(function() { |
|
265 _tracer.trace("Pt_EmbedButtonClicked"); |
|
266 }); |
241 }); |
267 jQuery(".acctitre").click(function() { |
242 jQuery(".acctitre").click(function() { |
268 var _nx = jQuery(this).next(); |
243 var _nx = jQuery(this).next(); |
269 if (_nx.is(":hidden")) { |
244 if (_nx.is(":hidden")) { |
270 jQuery(".acctexte").slideUp(); |
245 jQuery(".acctexte").slideUp(); |