46 |
46 |
47 <html lang="<?php echo($actual); ?>"> |
47 <html lang="<?php echo($actual); ?>"> |
48 <head> |
48 <head> |
49 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
49 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
50 <title>Live Video and Annotation</title> |
50 <title>Live Video and Annotation</title> |
51 <meta http-equiv="X-UA-Compatible" content="IE=8" /> |
51 <meta http-equiv="X-UA-Compatible" content="IE=9" /> |
52 |
52 |
53 <!-- FONT --> |
53 <!-- FONT --> |
54 <link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'> |
54 <link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'> |
55 <link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'> |
55 <link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'> |
56 |
56 |
69 <script type="text/javascript" src="<?php echo(registry_url('twcx-main','js'))?>"></script> |
69 <script type="text/javascript" src="<?php echo(registry_url('twcx-main','js'))?>"></script> |
70 <script type="text/javascript" src="config.js"></script> |
70 <script type="text/javascript" src="config.js"></script> |
71 |
71 |
72 <script type="text/javascript"> |
72 <script type="text/javascript"> |
73 l10n = { "rechercher" : "<?php echo $translate->_('Rechercher'); ?>" } |
73 l10n = { "rechercher" : "<?php echo $translate->_('Rechercher'); ?>" } |
|
74 |
|
75 function add_grammar(value) { |
|
76 var _st = $('#status'), |
|
77 _val = _st.val(); |
|
78 _st.val( _val + ( _val[_val.length - 1] == " " ? "" : " " ) + value ).change(); |
|
79 } |
|
80 |
74 $(document).ready(function() { |
81 $(document).ready(function() { |
75 |
82 |
76 $("#accordeon li.acctitre").click(function() { |
83 $("#accordeon li.acctitre").click(function() { |
77 $("#accordeon li.acctexte").slideUp(); |
84 $("#accordeon li.acctexte").slideToggle(); |
78 $(this).next().dequeue().slideDown(); |
|
79 }) |
85 }) |
80 |
86 |
81 //$("txt").hide(); |
87 //$("txt").hide(); |
82 $(".loginbutton").click(function() { |
88 $(".loginbutton").click(function() { |
83 document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
89 document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
84 }); |
90 }); |
85 $("#IDENTIFIER").click(function() { |
91 $("#IDENTIFIER").click(function() { |
86 document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
92 document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
87 }); |
93 }); |
88 |
|
89 |
|
90 function add_grammar(value) { |
|
91 $('#status').val($('#status').val()+value+" "); |
|
92 $('#status').change(); |
|
93 } |
|
94 |
94 |
95 // BUTTONS |
95 // BUTTONS |
96 $(".tweetButton").click(function() { |
96 $(".tweetButton").click(function() { |
97 add_grammar($(this).text()); |
97 add_grammar($(this).text()); |
98 }) |
98 }) |
304 </li> |
305 </li> |
305 <li class="acctexte"> |
306 <li class="acctexte"> |
306 <p><?php echo($translate->_('config__description')); ?></p> |
307 <p><?php echo($translate->_('config__description')); ?></p> |
307 </li> |
308 </li> |
308 <li class="acctitre"> |
309 <li class="acctitre"> |
309 <h3><?php echo $translate->_('Tagcloud'); ?></h3> |
310 <h3><?php echo($translate->_('keywords')); ?></h3> |
310 </li> |
311 </li> |
311 <li class="acctexte hidden" id="motscles"></li> |
312 <li class="acctexte hidden"> |
|
313 <div class="accsubtitle"> |
|
314 <div class="aroundsubtitle"> |
|
315 <h4><?php echo($translate->_('suggested')); ?></h4> |
|
316 </div> |
|
317 </div> |
|
318 <div class="tagcloud" id="suggkw"></div> |
|
319 </li> |
|
320 <li class="acctexte hidden"> |
|
321 <div class="accsubtitle"> |
|
322 <div class="aroundsubtitle"> |
|
323 <h4><?php echo($translate->_('contextual')); ?></h4> |
|
324 </div> |
|
325 </div> |
|
326 <div class="tagcloud" id="motscles"></div> |
|
327 </li> |
312 </ul> |
328 </ul> |
313 </div> |
329 </div> |
314 <div class="footer"> |
330 <div class="footer"> |
315 <hr /> |
331 <hr /> |
316 <?php |
332 <?php |