web/client.php
author Raphael Velt <raph.velt@gmail.com>
Tue, 06 Mar 2012 17:20:15 +0100
changeset 538 ba7bf4da33d9
parent 536 5dd170a735e9
child 546 fd35749faca9
permissions -rwxr-xr-x
Minor changes - About to publish new Metadataplayer version
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
133
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
     1
<?php
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
     2
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
     3
if(!isset($_REQUEST['rep'])) {
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
     4
    include_once dirname(__FILE__).'/common.php';
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
     5
    header('Location: ' . URL_ROOT . "$C_default_rep/client.php" );
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
     6
    exit();
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
     7
}
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
     8
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
     9
$rep = $_REQUEST['rep'];
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
    10
include_once dirname(__FILE__).'/'.$rep.'/config.php';
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
    11
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
    12
include_once 'common.php';
133
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    13
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    14
/**
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    15
 * Do we already have a valid Access Token or need to go get one?
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    16
 */
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    17
if (!isset($_SESSION['TWITTER_ACCESS_TOKEN']) && isset($_GET['CONNECT']) ) {
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    18
    /**
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    19
     * Guess we need to go get one!
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    20
     */
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    21
    $token = $consumer->getRequestToken();
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    22
    $_SESSION['TWITTER_REQUEST_TOKEN'] = serialize($token);
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    23
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    24
    /**
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    25
     * Now redirect user to Twitter site so they can log in and
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    26
     * approve our access
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    27
     */
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    28
    $consumer->redirect();
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    29
}
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    30
9578d3ddce17 correct line endings + other small errors
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 122
diff changeset
    31
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
    32
$big_visual_url = URL_ROOT."/$rep/images/big_visuel_rsln_mb.jpg";
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    33
if($translate->_('config__client_visual') != 'config__client_visual' && $translate->_('config__client_visual') != null ) {
406
86b62b98fea7 Polemic Tweet client now uses rv's live system
Raphael Velt <raph.velt@gmail.com>
parents: 357
diff changeset
    34
    $big_visual_url = URL_ROOT."$rep/".$translate->_('config__client_visual');
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
    35
}
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
    36
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
    37
$head_logo = URL_ROOT."$rep/images/head_logo.gif";
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    38
if($translate->_('config__head_logo') != 'config__head_logo' && $translate->_('config__head_logo') != null ) {
406
86b62b98fea7 Polemic Tweet client now uses rv's live system
Raphael Velt <raph.velt@gmail.com>
parents: 357
diff changeset
    39
    $head_logo = URL_ROOT."$rep/".$translate->_('config__head_logo');
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 200
diff changeset
    40
}
458
a12229c45a6f Correct shuron bad commit
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 456
diff changeset
    41
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    42
    $embed = (isset($_REQUEST['embed']) && $_REQUEST['embed']);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    43
    $videoWidth = ( $embed ? 442 : 480 );
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    44
    $videoHeight = ( $embed ? 250 : 320 );
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    45
?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    46
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    47
   "http://www.w3.org/TR/html4/strict.dtd">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    48
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    49
<html lang="<?php echo($actual); ?>">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    50
  <head>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    51
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    52
    <title>Live Video and Annotation</title>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    53
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    54
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    55
    <!-- FONT -->
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    56
    <link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    57
    <link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    58
    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    59
    <!-- CSS -->
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    60
    <link rel="stylesheet" href="<?php echo(registry_url('fancybox','css'));?>" type="text/css" media="screen">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    61
    <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    62
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    63
    <!-- JAVASCRIPT -->
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    64
    <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    65
    <script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'))?>"></script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    66
    <script type="text/javascript" src="<?php echo(registry_url('jquery-scrollto','js'))?>"></script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    67
    <script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    68
    <script type="text/javascript" src="<?php echo(registry_url('raphael','js'))?>"></script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    69
    <script type="text/javascript" src="<?php echo(registry_url('fancybox','js'))?>"></script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    70
    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    71
    <script type="text/javascript">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    72
        <?php if (isset($config['hashtag'])) echo "var tracking_keywords = ".json_encode(array($config['hashtag'])).";"; ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    73
        <?php if (isset($config['suggested_keywords'])) echo "var suggested_keywords = ".json_encode($config['suggested_keywords']).";"; ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    74
        <?php if (isset($config['js_config'])) echo $config['js_config']; ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    75
    </script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    76
    <script type="text/javascript" src="<?php echo(registry_url('twcx-main','js'))?>"></script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    77
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    78
    <script type="text/javascript">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    79
    l10n = { "rechercher" : "<?php echo $translate->_('Rechercher'); ?>" }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    80
    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    81
    function add_grammar(value) {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    82
        var _st = $('#status'),
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    83
            _val = _st.val();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    84
        _st.val( _val + ( _val[_val.length - 1] == " " ? "" : " " ) + value ).change();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    85
    }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    86
    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    87
    $(document).ready(function() {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    88
        
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    89
/*        setTimeout(function() {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    90
            $.scrollTo(70, 1000);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    91
        }, 2000); */
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    92
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    93
            //$("txt").hide();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    94
            $(".loginbutton").click(function() {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    95
                document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true";
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    96
            });
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    97
            $("#IDENTIFIER").click(function() {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    98
                document.location.href="<?php echo(URL_ROOT.$rep); ?>/client.php?CONNECT=true";
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    99
            });
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   100
            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   101
            function updateCounter() {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   102
                var _v = $("#status").val();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   103
                if (_v.length > 140) {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   104
                    _v = _v.substr(0,140);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   105
                    $("#status").val(_v);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   106
                }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   107
                $('#tweetCounter').html(140-_v.length);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   108
                if(140-_v.length < 0) {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   109
                    $('#tweetCounter').addClass("tweetCounterNegative");
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   110
                }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   111
                else {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   112
                    $('#tweetCounter').removeClass("tweetCounterNegative");
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   113
                }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   114
                $(".tweetButton").each(function(_i, _e) {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   115
                    if (_v.search($(_e).find('span.twbSyntax').text().replace(/(\W)/g, '\\$1')) > -1) {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   116
                        $(_e).addClass('selected');
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   117
                    } else {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   118
                        $(_e).removeClass('selected');
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   119
                    }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   120
                });
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   121
            }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   122
            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   123
            // BUTTONS
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   124
            $(".tweetButton").click(function() {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   125
                add_grammar($(this).find('span.twbSyntax').text());
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   126
                updateCounter();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   127
            })
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   128
            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   129
            // SEND TWEETS
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   130
            $("#sendTweet").click(function(){
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   131
                var MyStatus = $('#status').val();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   132
                $.post('tweet_ajax.php', {status:MyStatus}
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   133
                ,function(data) {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   134
                
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   135
                    if(data=="true"){
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   136
                        $("#messageSuccess").show('fast');
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   137
                        $("#messageSuccess").delay(800).hide('slow');
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   138
                        $('#status').val("<?php echo($config['hashtag']); ?>");
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   139
                        $('#status').change();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   140
                    }else{
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   141
                        $("#error").text(data);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   142
                        $("#messageFailed").show('fast');
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   143
                        $("#messageFailed").delay(800).hide('slow');
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   144
                    }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   145
                    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   146
                });
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   147
                
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   148
            });
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   149
            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   150
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   151
            $("#status").bind("change keyup paste blur focus",updateCounter);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   152
            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   153
            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   154
            $("#Program").fancybox({
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   155
                'width'             : '75%',
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   156
                'height'            : '75%',
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   157
                'autoScale'         : false,
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   158
                'transitionIn'      : 'none',
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   159
                'transitionOut'     : 'none',
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   160
                'type'              : 'iframe'
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   161
            });
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   162
            $(".embedbutton").fancybox({
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   163
                'width'             : 360,
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   164
                'height'            : 360,
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   165
                'autoDimensions'    : false,
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   166
                'transitionIn'      : 'none',
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   167
                'transitionOut'     : 'none',
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   168
                'type'              : 'iframe'
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   169
            });
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   170
            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   171
    $("#onglets a").click(function() {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   172
        $("div.ifwrap").hide();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   173
        $("#onglets li").removeClass("selected");
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   174
        $(this).parent().addClass("selected");
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   175
        var hr = $(this).attr("href");
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   176
        if (hr[0] == '#') {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   177
            $(hr).show();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   178
        } else {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   179
            $("#iframeWrap").show();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   180
            $("#graphFrame").attr("src", hr);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   181
        }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   182
        return false;
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   183
    });
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   184
            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   185
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   186
        });
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   187
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   188
        //<!-- LIMIT TEXTAREA:
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   189
        // End -->
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   190
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   191
    </script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   192
    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   193
    <script type="text/javascript">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   194
    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   195
      var _gaq = _gaq || [];
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   196
      _gaq.push(['_setAccount', 'UA-23581291-1']);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   197
      _gaq.push(['_trackPageview']);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   198
      _gaq.push(['_setAllowAnchor', true]);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   199
    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   200
      (function() {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   201
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   202
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   203
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   204
      })();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   205
    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   206
    </script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   207
    
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   208
  </head>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   209
  <body<?php if ($embed) { echo ' class="embed"'; } ?>>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   210
    <div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div>
489
a543cdb3cc79 Meetup Web of Data 20.01.2012
Raphael Velt <raph.velt@gmail.com>
parents: 458
diff changeset
   211
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   212
        <div id="container">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   213
            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   214
            <div id="coldroite">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   215
                
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   216
                <div class="embedbar">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   217
                    <a class="embedbutton" href="<?php echo(URL_ROOT.$rep)?>/live_embed_form.php">Intégrer</a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   218
                    <!-- AddThis Button BEGIN -->
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   219
                    <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   220
                        <a class="addthis_button_facebook"></a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   221
                        <a class="addthis_button_twitter"></a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   222
                        <a class="addthis_button_email"></a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   223
                        <a class="addthis_button_compact"></a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   224
                    </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   225
                    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   226
                    <!-- AddThis Button END -->
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   227
                </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   228
                <ul id="onglets">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   229
<?php if (isset($config['semantic_board']) or isset($config['knowtex_url'])) { ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   230
                    <li class="selected">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   231
                        <a href="#vlWrap"><?php echo($translate->_('Video')); ?></a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   232
                    </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   233
<?php } ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   234
<?php if (isset($config['semantic_board']) and $config['semantic_board']) { ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   235
                    <li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   236
                        <a href="semanticboard.php?small=1&theme=jour"><?php echo($translate->_('SemanticBoard')); ?></a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   237
                    </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   238
<?php } ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   239
<?php if (isset($config['knowtex_url'])) { ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   240
                    <li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   241
                        <a href="<?php echo $config['knowtex_url'] ?>"><?php echo($translate->_('SocialGraph')); ?></a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   242
                    </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   243
<?php } ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   244
                </ul>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   245
                <div class="ifwrap" id="vlWrap">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   246
                    <div id="videoLivePlayer">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   247
                    <?php if ($config['islive']):?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   248
                        <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="<?php echo $videoWidth; ?>" height="<?php echo $videoHeight; ?>">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   249
                            <param name="movie" value="<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   250
                            <param name="allowfullscreen" value="true" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   251
                            <param name="allowscriptaccess" value="always" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   252
                            <param name="wmode" value="transparent" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   253
                            <?php
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   254
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   255
function flv_param($name,$default) {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   256
    global $config;
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   257
    return ( isset($config["flv_$name"]) ? ( $config["flv_$name"] ? "&$name=".$config["flv_$name"] : "" ) : "&$name=$default" );
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   258
}
458
a12229c45a6f Correct shuron bad commit
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 456
diff changeset
   259
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   260
$flashvars = "autostart=true&live=true".flv_param("provider", "rtmp").flv_param("streamer", "rtmp://media.iri.centrepompidou.fr/ddc_player/").flv_param("file", "livestream")."&image=$big_visual_url&controlbar=none&autostart=true";
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   261
                            ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   262
                            <param name="flashvars" value="<?php echo $flashvars; ?>" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   263
                            <embed
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   264
                                type="application/x-shockwave-flash"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   265
                                id="player2"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   266
                                name="player2"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   267
                                src="<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   268
                                width="<?php echo $videoWidth; ?>"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   269
                                height="<?php echo $videoHeight; ?>"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   270
                                allowscriptaccess="always"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   271
                                allowfullscreen="true"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   272
                                wmode="transparent"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   273
                                flashvars="<?php echo $flashvars; ?>"
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   274
                            />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   275
                        </object>
538
ba7bf4da33d9 Minor changes - About to publish new Metadataplayer version
Raphael Velt <raph.velt@gmail.com>
parents: 536
diff changeset
   276
                    <?php elseif(isset($config['islive_embed']) && $config['islive_embed']):?>
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   277
                        <?php echo($config['islive_embed']); ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   278
                    <?php else: ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   279
                        <img src="<?php echo($big_visual_url); ?>" width="<?php echo $videoWidth; ?>"  height="<?php echo $videoHeight; ?>" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   280
                    <?php endif; ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   281
                    </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   282
                </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   283
                <div class="ifwrap hidden" id="iframeWrap">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   284
                    <iframe id="graphFrame"></iframe>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   285
                </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   286
                <div id="out_fleche">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   287
                <!--    <div id="in_fleche"></div> -->
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   288
                </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   289
                <ul id="accordeon">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   290
                    <li class="acctitre">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   291
                        <h3><?php echo($translate->_('config__title')); ?></h3>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   292
                    </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   293
                    <li class="acctexte">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   294
                        <p><?php echo($translate->_('config__description')); ?></p>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   295
                    </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   296
                    <li class="acctitre">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   297
                        <h3><?php echo($translate->_('keywords')); ?></h3>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   298
                    </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   299
                    <li class="fl">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   300
                        <ul class="fl">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   301
                            <li class="acctexte">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   302
                                <div class="accsubtitle">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   303
                                    <div class="aroundsubtitle">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   304
                                        <h4><?php echo($translate->_('suggested')); ?></h4>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   305
                                    </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   306
                                </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   307
                                <div class="tagcloud" id="suggkw"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   308
                            </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   309
                            <li class="acctexte">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   310
                                <div class="accsubtitle">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   311
                                    <div class="aroundsubtitle">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   312
                                        <h4><?php echo($translate->_('contextual')); ?></h4>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   313
                                    </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   314
                                </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   315
                                <div class="tagcloud" id="motscles"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   316
                            </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   317
                        </ul>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   318
                    </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   319
                </ul>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   320
            </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   321
            <div id="colgauche">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   322
                <div class="barre">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   323
                    <img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   324
                    <div id="minilogo"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   325
                    <ul class="menu">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   326
                        <li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   327
                            <a href="<?php echo(URL_ROOT); ?>" class="menuLink">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   328
                                <?php print $translate->_("Accueil"); ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   329
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   330
                        </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   331
                        <li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   332
                            <a href="<?php echo($translate->_('config__link')); ?>" class="menuLink" target="_blank" id='Program'>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   333
                                <?php print $translate->_("Programme"); ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   334
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   335
                        </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   336
                        <li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   337
                            <a href="../about.php" class="menuLink" >
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   338
                                <?php print $translate->_("A propos"); ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   339
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   340
                        </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   341
                    </ul>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   342
                    <ul class="menu">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   343
                        <li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   344
                            <a href="<?php URL_ROOT ?>client.php?lang=ja_JP" class="menuLink" >
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   345
                                <img src='<?php echo(URL_ROOT); ?>images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   346
                                <?php print $translate->_("Japonais"); ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   347
                            </a></li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   348
                        <li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   349
                            <a href="<?php URL_ROOT ?>client.php?lang=fr" class="menuLink">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   350
                                <img src='<?php echo(URL_ROOT); ?>images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   351
                                <?php print $translate->_("Français"); ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   352
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   353
                        </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   354
                        <li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   355
                            <a href="<?php URL_ROOT ?>client.php?lang=en" class="menuLink">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   356
                                <img src='<?php echo(URL_ROOT); ?>images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   357
                                <?php print $translate->_("Anglais"); ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   358
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   359
                        </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   360
                    </ul>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   361
                </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   362
                <div id="twwWrap">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   363
                    <div id="tweetWriter">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   364
                            <?php if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])): ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   365
                            <div id="tweetCounter"><?php echo(140-strlen($config['hashtag']));?></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   366
                            <?php endif;?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   367
                        <h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?></h3>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   368
                        <form  action="tweet.php" method="post" id="statusform" >
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   369
                            <?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   370
                                echo("<div class='loginbutton'><a href='".URL_ROOT."$rep/client.php?CONNECT=true' class='loginlink'>".$translate->_("Vous n'êtes pas connecté.")."</a></div>");
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   371
                            } else {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   372
                                echo("<textarea name='status' id='status' rows='3' cols='50'>$config[hashtag]</textarea>");
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   373
                            }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   374
                            ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   375
                            <div id="messageSuccess" style="background-color:lightgreen; display: none;">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   376
                                <?php print $translate->_("Envoyé"); ?><br/><br/>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   377
                            </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   378
                            <div id="messageFailed" style="background-color:red; display: none;">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   379
                                <?php print $translate->_("Erreur1"); ?><div id="error">&nbsp;</div><br/><br/>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   380
                            </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   381
                            <a href="#"  id="sendTweet" >
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   382
                                <span><?php print $translate->_("Envoyer"); ?></span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   383
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   384
                            <a id="positive" title="++ | <?php echo $translate->_('Agree'); ?>" class="tweetButton twbGreen">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   385
                                <span class="twbSyntax">++</span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   386
                                <span class="twbSeparator">|</span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   387
                                <span class="twbLabel"><?php echo $translate->_('Agree'); ?></span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   388
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   389
                            <a id="negative" title="-- | <?php echo $translate->_('Disagree'); ?>" class="tweetButton twbRed">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   390
                                <span class="twbSyntax">--</span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   391
                                <span class="twbSeparator">|</span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   392
                                <span class="twbLabel"><?php echo $translate->_('Disagree'); ?></span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   393
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   394
                            <a id="reference" title="== | <?php echo $translate->_('Reference'); ?>" class="tweetButton twbYellow">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   395
                                <span class="twbSyntax">==</span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   396
                                <span class="twbSeparator">|</span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   397
                                <span class="twbLabel"><?php echo $translate->_('Reference'); ?></span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   398
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   399
                            <a id="question" title="?? | <?php echo $translate->_('Question'); ?>" class="tweetButton twbBlue">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   400
                                <span class="twbSyntax">??</span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   401
                                <span class="twbSeparator">|</span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   402
                                <span class="twbLabel"><?php echo $translate->_('Question'); ?></span>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   403
                            </a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   404
                            
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   405
                            <div style="clear: both;"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   406
                        </form>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   407
                    </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   408
                </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   409
                <div id="tweetviz">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   410
                    <div class="barre">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   411
                        <form id="recherche">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   412
                            <input autocomplete="off" class="greyed" id="inp_q" value="<?php echo $translate->_('Rechercher'); ?>" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   413
                            <input id="inp_submit" type="submit" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   414
                            <input id="inp_reset" type="reset" />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   415
                            <div id="time_controls">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   416
                                <div id="time_legende"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   417
                                <div id="time_scale"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   418
                                <a href="#" id="time_zoomout"></a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   419
                                <a href="#" id="time_zoomin"></a>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   420
                            </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   421
                            <div id="recherche_annot">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   422
                                <?php echo $translate->_('SearchByPolemic'); ?> : <span id="rech_list_annot"></span><br />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   423
                            </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   424
                        </form>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   425
                    </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   426
                    <ul id="tweetlist"></ul>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   427
                    <div id="timeline"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   428
                    <div id="scrollcont">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   429
                        <div id="scrollin"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   430
                    </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   431
                </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   432
            </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   433
            <div class="footer">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   434
                <hr />
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   435
         <?php
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   436
                echo($translate->_('config__partenaires'));
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   437
                
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   438
                if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   439
                    echo("| <a href='clear.php' class='footerLink'>".$translate->_("D&eacute;connexion")."</a>");
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   440
                }
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   441
         ?>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   442
            </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   443
        </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   444
        <div id="hovertweet">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   445
            <div id="hovercontent"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   446
            <div id="hoverarrow"></div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   447
        </div>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   448
        <ul id="hoverkw">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   449
            <li><a id="hkwsearch" href="#"><?php echo $translate->_('Rechercher'); ?></a></li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   450
            <li><a id="hkwtweet" href="#"><?php echo $translate->_('addToTweet'); ?></a></li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   451
        </ul>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   452
  </body>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   453
</html>