web/renkan.php
author ymh <ymh.work@gmail.com>
Fri, 15 Nov 2024 02:00:51 +0100
changeset 1579 c88b8cc7b2b8
parent 1567 a805a8ee2b85
permissions -rw-r--r--
make sending button inactive when sending
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
871
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     1
<?php
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     2
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     3
/**
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     4
 * include some common code (like we did in the 90s)
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     5
 * People still do this? ;)
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     6
 */
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     7
$rep = $_REQUEST['rep'];
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     8
include_once dirname(__FILE__).'/'.$rep.'/config.php';
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     9
// configuration
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    10
include 'common.php';
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    11
 // objet actuel
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    12
$baseurl = URL_ROOT;
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    13
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    14
$head_logo = URL_ROOT."$rep/images/head_logo.gif";
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    15
if($translate->_('config__head_logo') != 'config__head_logo' && $translate->_('config__head_logo') != null ) {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    16
    $head_logo = URL_ROOT."$rep/".$translate->_('config__head_logo');
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    17
}
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    18
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    19
$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    20
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    21
?>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    22
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    23
<html lang="<?php echo($actual); ?>">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    24
  <head>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    25
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    26
    <title>Polemic tweet - <?php echo($translate->_('config__title')); ?></title>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    27
    <meta name="keywords" content="<?php echo($translate->_('config__keywords')); ?>">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    28
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    29
    <meta name="description" content="<?php echo(strip_tags($translate->_('config__description'))); ?>">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    30
    <meta name="robots" content="index, follow">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    31
    
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    32
    <!-- JAVASCRIPT -->
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    33
    <script type="text/javascript" src="<?php echo(registry_url('metadataplayer','js'));?>"></script>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    34
        
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    35
    <!-- Framework CSS -->
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    36
    <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>?v=11072012" type="text/css" media="screen, projection"/>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    37
    
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    38
    <!-- FONT -->
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    39
    <link href='<?php echo(registry_url('PT-Sans_Narrow','font'));?>' rel='stylesheet' type='text/css'/>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    40
    <link href='<?php echo(registry_url('PT-Sans','font'));?>' rel='stylesheet' type='text/css'/>
1518
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
    41
    <link href='<?php echo(URL_ROOT); ?>res/css/common.css' rel='stylesheet' type='text/css'/>
871
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    42
    
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    43
    <script type="text/javascript">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    44
    
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    45
    IriSP.libFiles.defaultDir = "<?php echo(registry_url('libdir','js'));?>";
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    46
    IriSP.widgetsDir = "<?php echo(registry_url('ldtwidgets','js'));?>";
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    47
    IriSP.libFiles.locations.jwPlayerSWF = "<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf";
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    48
    IriSP.language = "<?php echo($actual) ?>";
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    49
    
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    50
    var _metadata = {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    51
        url: '<?php echo(get_metadata_url($translate->_('config__metadata')));?>',
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    52
        format: 'ldt'
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    53
    };
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    54
    var _config = {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    55
        width: 550,
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    56
        container: 'LdtPlayer',
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    57
        default_options: {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    58
            metadata: _metadata
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    59
        },
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    60
        css:'<?php echo(registry_url('metadataplayer','css'));?>',
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    61
        widgets: [
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    62
            {
1567
a805a8ee2b85 Upgrade ldtplayer
ymh <ymh.work@gmail.com>
parents: 1560
diff changeset
    63
                type: "AutoPlayer",
871
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    64
                height: 360, 
940
843f96e4eebd JwPlayer upgrade
Raphael Velt <raph.velt@gmail.com>
parents: 871
diff changeset
    65
                width: 550,
1567
a805a8ee2b85 Upgrade ldtplayer
ymh <ymh.work@gmail.com>
parents: 1560
diff changeset
    66
                dailymotionPlayerId: "x10ckq"
871
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    67
            },
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    68
            { type: "Slider" },
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    69
            {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    70
                type: "Controller",
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    71
                disable_annotate_btn: true
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    72
            },
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    73
            {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    74
                type: "Polemic",
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    75
                polemics: []
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    76
            },
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    77
            {
1539
2eca6c367a75 publish enmi2020
ymh <ymh.work@gmail.com>
parents: 1518
diff changeset
    78
                type: "Polemic",
2eca6c367a75 publish enmi2020
ymh <ymh.work@gmail.com>
parents: 1518
diff changeset
    79
                annotation_type: ["chat"],
2eca6c367a75 publish enmi2020
ymh <ymh.work@gmail.com>
parents: 1518
diff changeset
    80
                defaultcolor: "#9b8864",
2eca6c367a75 publish enmi2020
ymh <ymh.work@gmail.com>
parents: 1518
diff changeset
    81
                polemics: []
2eca6c367a75 publish enmi2020
ymh <ymh.work@gmail.com>
parents: 1518
diff changeset
    82
            },
2eca6c367a75 publish enmi2020
ymh <ymh.work@gmail.com>
parents: 1518
diff changeset
    83
            {
871
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    84
                type: "Segments",
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    85
                annotation_type: "chap"
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    86
            },
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    87
            {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    88
                type: "Annotation",
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    89
                annotation_type: "chap"
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    90
            },
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    91
            { type: "Tweet" },
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    92
            { type: "Mediafragment"},
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    93
            {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    94
                type: "Renkan",
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    95
                container: "RenkanContainer",
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    96
                data: "<?php echo($translate->_('config__renkan'));?>"
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    97
            }
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    98
        ]
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    99
    };
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   100
    
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   101
    </script>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   102
    <style type="text/css">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   103
        .ldtrenkan-main {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   104
            width: 1160px; margin: 0 auto; min-height: 400px; clear:both;
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   105
        }
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   106
        .ldtrenkan-main h1{
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   107
            padding: 10px 0 8px; font-size: 20px; font-family: "PT Sans Narrow"; font-weight: bold; color: #0068C4;
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   108
        }
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   109
        #LdtPlayer {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   110
            float: left; width: 550px;
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   111
        }
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   112
        #RenkanContainer {
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   113
            float: right; width: 600px; height: 500px; margin-left: 10px;
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   114
        }
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   115
    </style>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   116
  </head>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   117
  <body>
1366
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 940
diff changeset
   118
  <!--div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div-->
871
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   119
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   120
  <!-- tooltip -->
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   121
  </div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   122
    <div id="container">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   123
        <div class="barre">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   124
            <img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" />
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   125
            <div id="minilogo"></div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   126
            <ul class="menu">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   127
                <li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   128
                    <a href="<?php echo(URL_ROOT); ?>" class="menuLink">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   129
                        <?php print $translate->_("Accueil"); ?>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   130
                    </a>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   131
                </li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   132
                <li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   133
                    <a href="<?php echo($translate->_('config__link')); ?>" class="menuLink" target="_blank" id='Program'>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   134
                        <?php print $translate->_("Programme"); ?>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   135
                    </a>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   136
                </li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   137
                <li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   138
                    <a href="../about.php" class="menuLink" >
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   139
                        <?php print $translate->_("A propos"); ?>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   140
                    </a>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   141
                </li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   142
            </ul>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   143
            <ul class="menu">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   144
                <li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   145
                    <a href="<?php URL_ROOT ?>polemicaltimeline.php?lang=ja_JP" class="menuLink" >
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   146
                        <img src='<?php echo(URL_ROOT); ?>images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> />
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   147
                        <?php print $translate->_("Japonais"); ?>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   148
                    </a></li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   149
                <li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   150
                    <a href="<?php URL_ROOT ?>polemicaltimeline.php?lang=fr" class="menuLink">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   151
                        <img src='<?php echo(URL_ROOT); ?>images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> />
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   152
                        <?php print $translate->_("Français"); ?>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   153
                    </a>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   154
                </li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   155
                <li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   156
                    <a href="<?php URL_ROOT ?>polemicaltimeline.php?lang=en" class="menuLink">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   157
                        <img src='<?php echo(URL_ROOT); ?>images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> />
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   158
                        <?php print $translate->_("Anglais"); ?>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   159
                    </a>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   160
                </li>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   161
            </ul>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   162
1518
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   163
            <?php
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   164
                $share_title = "Polemic Tweet - ".$translate->_('config__title');
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   165
                $share_url = rtrim(URL_ROOT,"/").$rep;
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   166
                $share_description = strip_tags(preg_replace('/<\s?br\s*\\?>/i', "\n", str_replace("&nbsp;", " ", $translate->_('config__abstract'))));
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   167
            ?>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   168
                <!-- cf. https://sharingbuttons.io/ -->
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   169
                <div class="share_toolbox">
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   170
                    <!-- Sharingbutton Twitter -->
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   171
                    <a class="resp-sharing-button__link" href="https://twitter.com/intent/tweet/?text=<?php echo urlencode("$share_title - $share_url"); ?>&amp;url=<?php echo rawurlencode($share_url); ?>" target="_blank" rel="noopener" aria-label="">
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   172
                      <div class="resp-sharing-button resp-sharing-button--twitter resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   173
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.44 4.83c-.8.37-1.5.38-2.22.02.93-.56.98-.96 1.32-2.02-.88.52-1.86.9-2.9 1.1-.82-.88-2-1.43-3.3-1.43-2.5 0-4.55 2.04-4.55 4.54 0 .36.03.7.1 1.04-3.77-.2-7.12-2-9.36-4.75-.4.67-.6 1.45-.6 2.3 0 1.56.8 2.95 2 3.77-.74-.03-1.44-.23-2.05-.57v.06c0 2.2 1.56 4.03 3.64 4.44-.67.2-1.37.2-2.06.08.58 1.8 2.26 3.12 4.25 3.16C5.78 18.1 3.37 18.74 1 18.46c2 1.3 4.4 2.04 6.97 2.04 8.35 0 12.92-6.92 12.92-12.93 0-.2 0-.4-.02-.6.9-.63 1.96-1.22 2.56-2.14z"/></svg>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   174
                        </div>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   175
                      </div>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   176
                    </a>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   177
                    <!-- Sharingbutton Facebook -->
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   178
                    <a class="resp-sharing-button__link" href="https://facebook.com/sharer/sharer.php?t=<?php echo rawurlencode($share_title); ?>&amp;u=<?php echo rawurlencode($share_url); ?>" target="_blank" rel="noopener" aria-label="">
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   179
                      <div class="resp-sharing-button resp-sharing-button--facebook resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   180
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z"/></svg>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   181
                        </div>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   182
                      </div>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   183
                    </a>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   184
                    <!-- Sharingbutton Telegram -->
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   185
                    <a class="resp-sharing-button__link" href="https://telegram.me/share/url?text=<?php echo rawurlencode("$share_description"); ?>&amp;url=<?php echo rawurlencode($share_url); ?>" target="_blank" rel="noopener" aria-label="">
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   186
                      <div class="resp-sharing-button resp-sharing-button--telegram resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   187
                          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M.707 8.475C.275 8.64 0 9.508 0 9.508s.284.867.718 1.03l5.09 1.897 1.986 6.38a1.102 1.102 0 0 0 1.75.527l2.96-2.41a.405.405 0 0 1 .494-.013l5.34 3.87a1.1 1.1 0 0 0 1.046.135 1.1 1.1 0 0 0 .682-.803l3.91-18.795A1.102 1.102 0 0 0 22.5.075L.706 8.475z"/></svg>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   188
                        </div>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   189
                      </div>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   190
                    </a>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   191
                    <!-- Sharingbutton E-Mail -->
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   192
                    <a class="resp-sharing-button__link" href="mailto:?subject=<?php echo rawurlencode($share_title); ?>&amp;body=<?php echo rawurlencode("$share_description - $share_url"); ?>" target="_self" rel="noopener" aria-label="">
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   193
                      <div class="resp-sharing-button resp-sharing-button--email resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid">
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   194
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z"/></svg>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   195
                        </div>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   196
                      </div>
a3c6f244dbc1 Remove sharethis button and replace them by a passive solution
ymh <ymh.work@gmail.com>
parents: 1443
diff changeset
   197
                    </a>
871
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   198
                </div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   199
            </div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   200
        </div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   201
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   202
    <!-- EXPLICATION  -->
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   203
 
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   204
  </div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   205
  <div class="ldtrenkan-main" >
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   206
    <h1><?php echo($translate->_('config__title')); ?></h1>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   207
    <div id="LdtPlayer"></div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   208
    <div id="RenkanContainer"></div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   209
  </div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   210
    <script type="text/javascript">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   211
        var _myPlayer = new IriSP.Metadataplayer(_config);
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   212
    </script>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   213
 
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   214
      <div class="footer">
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   215
          
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   216
        <hr>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   217
            <?php echo($translate->_('config__partenaires')); ?>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   218
      </div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   219
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   220
    </div>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   221
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   222
  </body>
31dd16af69e7 Added Renkan page on PT
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   223
</html>