web/polemicaltimeline.php
author Raphael Velt <raph.velt@gmail.com>
Fri, 13 Apr 2012 19:19:53 +0200
changeset 583 f655dafb741e
parent 581 7607516bd9f1
child 597 07ab28bca482
permissions -rwxr-xr-x
added www2012
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     1
<?php
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     2
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     3
/**
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     4
 * include some common code (like we did in the 90s)
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     5
 * People still do this? ;)
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
     6
 */
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
     7
$rep = $_REQUEST['rep'];
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
     8
include_once dirname(__FILE__).'/'.$rep.'/config.php';
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
     9
// configuration
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    10
include 'common.php';
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    11
 // objet actuel
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    12
$baseurl = URL_ROOT;
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    13
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    14
$div_height = 640;
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    15
if($translate->_('config__div_height') != 'config__div_height') {
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    16
	$div_height = $translate->_('config__div_height');
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    17
}
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    18
$tweet_explain_background = URL_ROOT.'images/tweetExplainBgd.gif';
233
10d6fd6ce9ab - put all in a registry
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 229
diff changeset
    19
if(file_exists(dirname(__FILE__)."/$rep/images/tweetExplainBgd.gif")) {
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    20
	$tweet_explain_background = URL_ROOT.$rep.'/images/tweetExplainBgd.gif';
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    21
}
220
42aeb2bfc58e publish chi07 and fens Fablab
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 205
diff changeset
    22
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    23
$head_logo = URL_ROOT."$rep/images/head_logo.gif";
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    24
if($translate->_('config__head_logo') != 'config__head_logo' && $translate->_('config__head_logo') != null ) {
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    25
    $head_logo = URL_ROOT."$rep/".$translate->_('config__head_logo');
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    26
}
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    27
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    28
$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    29
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    30
?>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    31
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    32
<html lang="<?php echo($actual); ?>">
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    33
  <head>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    34
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    35
    <title>Polemic tweet - <?php echo($translate->_('config__title')); ?></title>
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    36
	<meta name="keywords" content="<?php echo($translate->_('config__keywords')); ?>"><!-- add timestampedmetadata -->
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    37
	<!--<meta name="description" content="PoelmicTweet.fr : debate mapping, opinion, conference, video">-->
489
a543cdb3cc79 Meetup Web of Data 20.01.2012
Raphael Velt <raph.velt@gmail.com>
parents: 361
diff changeset
    38
	<meta name="description" content="<?php echo(strip_tags($translate->_('config__description'))); ?>">
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    39
	<meta name="robots" content="index, follow">
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    40
	
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    41
	<!-- ICI : <?php echo($_SERVER['DOCUMENT_ROOT']); ?> -->
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    42
	<!-- JAVASCRIPT -->
259
bc17d1af15ab stats paper chi 1
Samuel Huron <samuel.huron@centrepompidou.fr>
parents: 251
diff changeset
    43
	<script type="text/javascript" src="<?php echo(registry_url('json-js','js'));?>"></script>
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    44
	<script type="text/javascript" src="<?php echo(registry_url('jquery','js'));?>"></script>
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    45
	<script type="text/javascript">
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    46
		$.noConflict();
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    47
	</script>
229
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    48
	<script type="text/javascript" src="<?php echo(registry_url('fancybox','js'));?>"></script>
74c9ddc3640b a lot of changes in the web file organization.
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 227
diff changeset
    49
	<script type="text/javascript" src="<?php echo(registry_url('jquery-url','js'));?>"></script>
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    50
	<script type="text/javascript" src="<?php echo(registry_url('metadataplayer','js'));?>"></script>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    51
		
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    52
	<!-- Framework CSS -->
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    53
    <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/>
233
10d6fd6ce9ab - put all in a registry
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 229
diff changeset
    54
	<link rel="stylesheet" href="<?php echo(registry_url('fancybox','css'));?>" media="screen"/>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    55
	
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    56
	<!-- FONT -->
233
10d6fd6ce9ab - put all in a registry
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 229
diff changeset
    57
	<link href='<?php echo(registry_url('PT-Sans_Narrow','font'));?>' rel='stylesheet' type='text/css'/>
10d6fd6ce9ab - put all in a registry
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 229
diff changeset
    58
	<link href='<?php echo(registry_url('PT-Sans','font'));?>' rel='stylesheet' type='text/css'/>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    59
	
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    60
	
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
    61
	<script type="text/javascript">
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    62
  		// Configuration Polemical Timeline
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    63
  		if (typeof jQuery == "undefined") {
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    64
  		    jQuery = IriSP.jQuery;
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    65
  		}
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    66
  		<?php
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    67
      		if(is_array($translate->_('config__metadata'))):
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    68
  			reset($translate->_('config__metadata'));
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    69
  		    $first_key = key($translate->_('config__metadata'));
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    70
  		?>
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    71
  		var metadatas = jQuery.parseJSON('<?php echo(json_encode($translate->_('config__metadata'))); ?>');
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    72
  		var url = jQuery.url();
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    73
  		var metadata_key = url.fparam('metadata');
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    74
  		if(typeof metadata_key === "undefined" || metadata_key.length === 0) {
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    75
  			metadata_key = "<?php echo($first_key);?>";
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    76
  		}
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    77
  		<?php else: ?>
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    78
  		var metadatas = { metadata: {url: "<?php echo($translate->_('config__metadata'));?>", duration: <?php echo($translate->_('config__duration'))?>} };
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
    79
  		var metadata_key = "metadata";
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
    80
  		<?php endif;?>
581
7607516bd9f1 Add Tracewidget
Raphael Velt <raph.velt@gmail.com>
parents: 575
diff changeset
    81
    IriSP.libFiles.defaultDir = "<?php echo(registry_url('libdir','js'));?>";
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    82
    IriSP.jwplayer_swf_path = "<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf";
575
634e5549b806 Allow multilingual metadataplayer
Raphael Velt <raph.velt@gmail.com>
parents: 573
diff changeset
    83
    IriSP.language = "<?php echo($actual) ?>"
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    84
    var json_url = metadatas[metadata_key].url;
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    85
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    86
    var config = {            
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    87
        gui:{
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    88
            width:650,
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    89
            height:800,              
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    90
            container:'LdtPlayer',
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    91
            css:'<?php echo(registry_url('metadataplayer','css'));?>',
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    92
            default_options : {
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    93
                metadata:{
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    94
                format:'cinelab',
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    95
                src: json_url,
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    96
                type:'json'},
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    97
                width: 650
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    98
            },
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
    99
            widgets: [
583
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   100
            {
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   101
                type: "PolemicWidget",
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   102
                requires: [{
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   103
                    type: "TooltipWidget",
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   104
                    width: 180,
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   105
                    height: 160,
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   106
                    metadata : {
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   107
                        type:'empty'
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   108
                    }
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   109
                }],
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   110
                height: 5
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   111
            },
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   112
            {type: "SliderWidget"},        
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   113
            {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
573
6ec62b3610c8 Update metadataplayer
Raphael Velt <raph.velt@gmail.com>
parents: 569
diff changeset
   114
             mode: "radio",
6ec62b3610c8 Update metadataplayer
Raphael Velt <raph.velt@gmail.com>
parents: 569
diff changeset
   115
             disable_annotate_btn: true},
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   116
            {type: "SegmentsWidget",
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   117
             requires: [{
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   118
              type: "TooltipWidget",
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   119
              width: 180,
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   120
              height: 160,
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   121
              }],
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   122
                width: 650
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   123
            },                      
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   124
            {type: "ArrowWidget"},
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   125
            {type: "TweetsWidget"},
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   126
            {type: "AnnotationsWidget"},
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   127
            {type: "AnnotationsListWidget",
573
6ec62b3610c8 Update metadataplayer
Raphael Velt <raph.velt@gmail.com>
parents: 569
diff changeset
   128
             container: "AnnotationsListContainer",
6ec62b3610c8 Update metadataplayer
Raphael Velt <raph.velt@gmail.com>
parents: 569
diff changeset
   129
             ajax_mode: false},
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   130
            {type: "TagCloudWidget",
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   131
             container: "TagcloudContainer",
535
8276f3ff7a3f Added new player in player_embed
Raphael Velt <raph.velt@gmail.com>
parents: 534
diff changeset
   132
        <?php if (isset($config['hashtag'])) echo "excludeWords: ".json_encode(array($config['hashtag'])).","; ?>
8276f3ff7a3f Added new player in player_embed
Raphael Velt <raph.velt@gmail.com>
parents: 534
diff changeset
   133
            excludePattern: /^@/
581
7607516bd9f1 Add Tracewidget
Raphael Velt <raph.velt@gmail.com>
parents: 575
diff changeset
   134
        },{
583
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   135
            type: "TraceWidget",
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   136
         //   js_console : true,
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   137
            url: "http://traces.advene.org:5000/",
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   138
            requestmode: 'GET',
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   139
            syncmode: "sync"
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   140
        }
f655dafb741e added www2012
Raphael Velt <raph.velt@gmail.com>
parents: 581
diff changeset
   141
        ]
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   142
        },
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   143
      player:{
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   144
          type:'jwplayer',
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   145
          live: true, 
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   146
          height: 400, 
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   147
          width: 650, 
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   148
          provider: "rtmp",
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   149
          autostart: true
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   150
      },
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   151
      modules: [
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   152
               { type: "MediaFragment",
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   153
                         metadata:{
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   154
                       format:'cinelab',
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   155
                           src:json_url,
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   156
                             type:'json'}
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   157
                        }]
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   158
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   159
    };
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   160
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
   161
		jQuery(document).ready(function() {
205
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   162
			
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   163
			jQuery("#mdselect_"+metadata_key).attr("selected","selected");
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   164
			jQuery("#mdselect").change(function() {
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   165
				var metadata_key = this.options[this.selectedIndex].value;
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   166
				window.location.hash = "#metadata="+metadata_key;
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   167
				window.location.href = window.location.href;
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   168
				window.location.reload(true);
535
8276f3ff7a3f Added new player in player_embed
Raphael Velt <raph.velt@gmail.com>
parents: 534
diff changeset
   169
				jQuery(".embedbutton").attr('href','<?php echo(URL_ROOT.$rep);?>/embed_form.php?metadata='+metadata_key);
205
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   170
			});
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   171
			if(metadata_key !== "metadata") {
535
8276f3ff7a3f Added new player in player_embed
Raphael Velt <raph.velt@gmail.com>
parents: 534
diff changeset
   172
				jQuery(".embedbutton").attr('href','<?php echo(URL_ROOT.$rep);?>/embed_form.php?metadata='+metadata_key);
205
dfda2d71838b Correct metadataplayer embed
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 203
diff changeset
   173
			}
535
8276f3ff7a3f Added new player in player_embed
Raphael Velt <raph.velt@gmail.com>
parents: 534
diff changeset
   174
			jQuery(".embedbutton").fancybox({
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   175
				'width'				: 360,
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   176
				'height'			: 360,
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   177
				'autoDimensions'	: false,
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   178
				'transitionIn'		: 'none',
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   179
				'transitionOut'		: 'none',
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   180
				'type'				: 'iframe'
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   181
			});
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   182
			jQuery(".acctitre").click(function() {
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   183
			    var _nx = jQuery(this).next();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   184
			    if (_nx.is(":hidden")) {
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   185
    			    jQuery(".acctexte").slideUp();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   186
    			    _nx.slideDown();
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   187
			    }
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   188
			})
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   189
			
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   190
		});
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
   191
	</script>
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
   192
	<script type="text/javascript">
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
   193
		var _gaq = _gaq || [];
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
   194
		_gaq.push(['_setAccount', 'UA-23581291-1']);
361
95421370ea9e error script analytics anchor
Samuel Huron <samuel.huron@centrepompidou.fr>
parents: 292
diff changeset
   195
		_gaq.push(['_trackPageview', location.pathname + location.search + location.hash]);
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
   196
		_gaq.push(['_setAllowAnchor', true]);
276
f7669b499d41 _setAllowAnchor
Samuel Huron <samuel.huron@centrepompidou.fr>
parents: 259
diff changeset
   197
	  
202
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
   198
		(function() {
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
   199
		    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
   200
		    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
   201
		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
2bf0fd3432bf put more than one content for the polemical timeline
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 197
diff changeset
   202
		})();
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   203
	</script>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   204
  </head>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   205
  <body>
251
d81cc587cc4d add fablab and correction on feedback
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 236
diff changeset
   206
  <div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   207
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
   208
  <!-- tooltip -->
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   209
  </div>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   210
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   211
    <div id="container">
569
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   212
        <div class="barre">
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   213
            <img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" />
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   214
            <div id="minilogo"></div>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   215
            <ul class="menu">
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   216
                <li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   217
                    <a href="<?php echo(URL_ROOT); ?>" class="menuLink">
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   218
                        <?php print $translate->_("Accueil"); ?>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   219
                    </a>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   220
                </li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   221
                <li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   222
                    <a href="<?php echo($translate->_('config__link')); ?>" class="menuLink" target="_blank" id='Program'>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   223
                        <?php print $translate->_("Programme"); ?>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   224
                    </a>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   225
                </li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   226
                <li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   227
                    <a href="../about.php" class="menuLink" >
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   228
                        <?php print $translate->_("A propos"); ?>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   229
                    </a>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   230
                </li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   231
            </ul>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   232
            <ul class="menu">
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   233
                <li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   234
                    <a href="<?php URL_ROOT ?>client.php?lang=ja_JP" class="menuLink" >
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   235
                        <img src='<?php echo(URL_ROOT); ?>images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> />
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   236
                        <?php print $translate->_("Japonais"); ?>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   237
                    </a></li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   238
                <li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   239
                    <a href="<?php URL_ROOT ?>client.php?lang=fr" class="menuLink">
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   240
                        <img src='<?php echo(URL_ROOT); ?>images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> />
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   241
                        <?php print $translate->_("Français"); ?>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   242
                    </a>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   243
                </li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   244
                <li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   245
                    <a href="<?php URL_ROOT ?>client.php?lang=en" class="menuLink">
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   246
                        <img src='<?php echo(URL_ROOT); ?>images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> />
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   247
                        <?php print $translate->_("Anglais"); ?>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   248
                    </a>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   249
                </li>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   250
            </ul>
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   251
                    
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   252
    <?php if(is_array($translate->_('config__metadata'))): ?>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   253
    <ul id="content_select_ul" class="menu mdselect">
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   254
        <span><?php print $translate->_("changer de contenu"); ?></span><br/>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   255
        <select id="mdselect">
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   256
            <?php foreach ($translate->_('config__metadata') as $key => $value):?>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   257
            <option value="<?php echo($key); ?>" id="mdselect_<?php echo($key); ?>" ><?php echo($value['display']); ?></option>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   258
            <?php endforeach;?>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   259
        </select>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   260
    </ul>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   261
    <?php endif;?>
569
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   262
            <div class="embedbar">
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   263
                <a class="embedbutton" href="<?php echo(URL_ROOT.$rep)?>/embed_form.php">Intégrer</a>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   264
                <!-- AddThis Button BEGIN -->
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   265
                <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   266
                    <a class="addthis_button_facebook"></a>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   267
                    <a class="addthis_button_twitter"></a>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   268
                    <a class="addthis_button_email"></a>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   269
                    <a class="addthis_button_compact"></a>
535
8276f3ff7a3f Added new player in player_embed
Raphael Velt <raph.velt@gmail.com>
parents: 534
diff changeset
   270
                </div>
569
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   271
                <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   272
                <!-- AddThis Button END -->
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   273
            </div>
569
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   274
        </div>
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   275
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   276
	<!-- EXPLICATION  -->
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   277
	<div id="mdpgauche">
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   278
       <div id="out_fleche"></div>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   279
        <ul id="accordeon">
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   280
            <li class="acctitre">
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   281
                <h3><?php echo($translate->_('config__title')); ?></h3>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   282
            </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   283
            <li class="acctexte">
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   284
                <p><?php echo($translate->_('config__description')); ?></p>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   285
            </li>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   286
            <li class="acctitre">
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   287
                <h3>Liste des Annotations</h3>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   288
            </li>
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   289
            <li class="acctexte" style="display: none;">
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   290
                <div id="AnnotationsListContainer"></div>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   291
            </li>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   292
            <li class="acctitre">
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   293
                <h3>Mots-clés</h3>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   294
            </li>
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   295
            <li class="acctexte" style="display: none;">
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   296
                <div class="tagcloud" id="TagcloudContainer"></div>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   297
            </li>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   298
        </ul>
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   299
		
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   300
	  </div>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   301
	 
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   302
	  
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
   303
	  <!-- INFOS SUR LA CONF
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   304
	  	<div class="tweetExplain"  >
536
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   305
		<h3 class="tweetWriterTitle"></h3><br/>
5dd170a735e9 new embed and share buttons
Raphael Velt <raph.velt@gmail.com>
parents: 535
diff changeset
   306
			
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   307
	  </div>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   308
	  -->
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   309
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   310
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   311
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   312
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   313
	  <div id="mdpdroite" >
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   314
		<div id="LdtPlayer"></div>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   315
	  </div>
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   316
<script type="text/javascript">
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   317
    IriSP.initPlayer(config, json_url);
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   318
</script>
569
76ee1291e0c8 corrected player placement bug
Raphael Velt <raph.velt@gmail.com>
parents: 537
diff changeset
   319
  </div>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   320
 
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   321
      <div class="footer">
534
0a2505c3b547 New metadata player and big directory reorganization
Raphael Velt <raph.velt@gmail.com>
parents: 489
diff changeset
   322
          
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   323
		<hr>
291
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
   324
			<?php echo($translate->_('config__partenaires')); ?>
db1e6bfaa54e add translation for config data
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 276
diff changeset
   325
	  </div>
197
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   326
	
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   327
    </div>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   328
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   329
  </body>
77e3207456b7 rename MashUp to mashup step 2
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents:
diff changeset
   330
</html>