--- a/web/client.php Tue Dec 13 19:01:59 2011 +0100
+++ b/web/client.php Wed Dec 14 16:58:57 2011 +0100
@@ -71,6 +71,13 @@
<script type="text/javascript">
l10n = { "rechercher" : "<?php echo $translate->_('Rechercher'); ?>" }
+
+ function add_grammar(value) {
+ var _st = $('#status'),
+ _val = _st.val();
+ _st.val( _val + ( _val[_val.length - 1] == " " ? "" : " " ) + value ).change();
+ }
+
$(document).ready(function() {
$("#accordeon li.acctitre").click(function() {
@@ -85,12 +92,6 @@
$("#IDENTIFIER").click(function() {
document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true";
});
-
-
- function add_grammar(value) {
- $('#status').val($('#status').val()+value+" ");
- $('#status').change();
- }
// BUTTONS
$(".tweetButton").click(function() {
@@ -173,6 +174,7 @@
<div id="colgauche">
<div class="barre">
<img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" />
+ <div id="minilogo"></div>
<ul class="menu">
<li>
<a href="<?php echo(URL_ROOT); ?>" class="menuLink">
@@ -305,6 +307,10 @@
<li class="acctexte">
<p><?php echo($translate->_('config__description')); ?></p>
</li>
+ <li class="acctitre" id="suggkw_title">
+ <h3><?php echo $translate->_('SuggestedKW'); ?></h3>
+ </li>
+ <li class="acctexte hidden" id="suggkw"></li>
<li class="acctitre">
<h3><?php echo $translate->_('Tagcloud'); ?></h3>
</li>
@@ -326,5 +332,9 @@
<div id="hovercontent"></div>
<div id="hoverarrow"></div>
</div>
+ <ul id="hoverkw">
+ <li><a id="hkwsearch" href="#"><?php echo $translate->_('Rechercher'); ?></a></li>
+ <li><a id="hkwtweet" href="#"><?php echo $translate->_('addToTweet'); ?></a></li>
+ </ul>
</body>
</html>
\ No newline at end of file