--- 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'),
--- a/web/common.php Thu Apr 19 15:09:52 2012 +0200
+++ b/web/common.php Fri Apr 20 09:32:11 2012 +0200
@@ -249,7 +249,7 @@
'blueprint-ie' => URL_ROOT.'res/css/blueprint-ie.css',
'blueprint-plugins-fancy-type' => URL_ROOT.'res/css/blueprint-plugins/fancy-type/screen.css',
'custom' => URL_ROOT.'res/css/custom.css',
- 'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css',
+ 'fancybox' => URL_ROOT.'res/js/fancybox/jquery.fancybox-1.3.4.css',
'jquery-ui' => "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/base/jquery-ui.css",
'tabs-slideshow' => URL_ROOT.'res/css/tabs-slideshow.css',
'tweetcast' => URL_ROOT.'res/css/tweetcast.css',