equal
deleted
inserted
replaced
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").slideUp(); |
78 $(this).next().dequeue().slideDown(); |
85 $(this).next().dequeue().slideDown(); |
83 document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
90 document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
84 }); |
91 }); |
85 $("#IDENTIFIER").click(function() { |
92 $("#IDENTIFIER").click(function() { |
86 document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
93 document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true"; |
87 }); |
94 }); |
88 |
|
89 |
|
90 function add_grammar(value) { |
|
91 $('#status').val($('#status').val()+value+" "); |
|
92 $('#status').change(); |
|
93 } |
|
94 |
95 |
95 // BUTTONS |
96 // BUTTONS |
96 $(".tweetButton").click(function() { |
97 $(".tweetButton").click(function() { |
97 add_grammar($(this).text()); |
98 add_grammar($(this).text()); |
98 }) |
99 }) |
171 |
172 |
172 <div id="container"> |
173 <div id="container"> |
173 <div id="colgauche"> |
174 <div id="colgauche"> |
174 <div class="barre"> |
175 <div class="barre"> |
175 <img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" /> |
176 <img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" /> |
|
177 <div id="minilogo"></div> |
176 <ul class="menu"> |
178 <ul class="menu"> |
177 <li> |
179 <li> |
178 <a href="<?php echo(URL_ROOT); ?>" class="menuLink"> |
180 <a href="<?php echo(URL_ROOT); ?>" class="menuLink"> |
179 <?php print $translate->_("Accueil"); ?> |
181 <?php print $translate->_("Accueil"); ?> |
180 </a> |
182 </a> |
303 <h3><?php echo($translate->_('config__title')); ?></h3> |
305 <h3><?php echo($translate->_('config__title')); ?></h3> |
304 </li> |
306 </li> |
305 <li class="acctexte"> |
307 <li class="acctexte"> |
306 <p><?php echo($translate->_('config__description')); ?></p> |
308 <p><?php echo($translate->_('config__description')); ?></p> |
307 </li> |
309 </li> |
|
310 <li class="acctitre" id="suggkw_title"> |
|
311 <h3><?php echo $translate->_('SuggestedKW'); ?></h3> |
|
312 </li> |
|
313 <li class="acctexte hidden" id="suggkw"></li> |
308 <li class="acctitre"> |
314 <li class="acctitre"> |
309 <h3><?php echo $translate->_('Tagcloud'); ?></h3> |
315 <h3><?php echo $translate->_('Tagcloud'); ?></h3> |
310 </li> |
316 </li> |
311 <li class="acctexte hidden" id="motscles"></li> |
317 <li class="acctexte hidden" id="motscles"></li> |
312 </ul> |
318 </ul> |
324 </div> |
330 </div> |
325 <div id="hovertweet"> |
331 <div id="hovertweet"> |
326 <div id="hovercontent"></div> |
332 <div id="hovercontent"></div> |
327 <div id="hoverarrow"></div> |
333 <div id="hoverarrow"></div> |
328 </div> |
334 </div> |
|
335 <ul id="hoverkw"> |
|
336 <li><a id="hkwsearch" href="#"><?php echo $translate->_('Rechercher'); ?></a></li> |
|
337 <li><a id="hkwtweet" href="#"><?php echo $translate->_('addToTweet'); ?></a></li> |
|
338 </ul> |
329 </body> |
339 </body> |
330 </html> |
340 </html> |