--- a/web/client.php Thu Apr 19 15:09:52 2012 +0200
+++ b/web/client.php Fri Apr 20 09:32:11 2012 +0200
@@ -86,11 +86,51 @@
?>
<?php if (isset($config['suggested_keywords'])) echo "var suggested_keywords = ".json_encode($config['suggested_keywords']).";"; ?>
<?php if (isset($config['js_config'])) echo $config['js_config']; ?>
+ l10n = { "rechercher" : "<?php echo $translate->_('Rechercher'); ?>" }
+ var annotations = {
+ "default" : {
+ "colors" : {
+ "h" : 0,
+ "s" : 0
+ }
+ },
+ "positive" : {
+ "display_name" : "++ | <?php echo $translate->_('Agree'); ?>",
+ "keywords" : [ /\+\+/ ],
+ "colors" : {
+ "h" : .3,
+ "s" : .65
+ }
+ },
+ "negative" : {
+ "display_name" : "-- | <?php echo $translate->_('Disagree'); ?>",
+ "keywords" : [ /\-\-/ ],
+ "colors" : {
+ "h" : 0,
+ "s" : .8
+ }
+ },
+ "reference" : {
+ "display_name" : "== | <?php echo $translate->_('Reference'); ?>",
+ "keywords" : [ /\=\=/ ],
+ "colors" : {
+ "h" : .16,
+ "s" : .8
+ }
+ },
+ "question" : {
+ "display_name" : "?? | <?php echo $translate->_('Question'); ?>",
+ "keywords" : [ /\?\?/ ],
+ "colors" : {
+ "h" : .6,
+ "s" : .8
+ }
+ }
+ }
</script>
<script type="text/javascript" src="<?php echo(registry_url('twcx-main','js'))?>"></script>
<script type="text/javascript">
- l10n = { "rechercher" : "<?php echo $translate->_('Rechercher'); ?>" }
function add_grammar(value) {
var _st = $('#status'),