--- a/web/client.php Thu Apr 07 16:39:32 2011 +0200
+++ b/web/client.php Fri Apr 22 12:31:41 2011 +0200
@@ -46,7 +46,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
-<html lang="en">
+<html lang="<?php echo($actual); ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>RSLN - Live Video and Annotation</title>
@@ -56,11 +56,8 @@
<link rel="stylesheet" href="res/blueprint/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="res/blueprint/print.css" type="text/css" media="print">
<!--[if lt IE 8]><link rel="stylesheet" href="blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
-
- <!-- Import fancy-type plugin for the sample page. -->
-
<link rel="stylesheet" href="res/blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection">
- <link rel="stylesheet" href="res/css/custom.css" type="text/css" media="screen, projection">
+ <link rel="stylesheet" href="custom.css" type="text/css" media="screen, projection">
<link rel="stylesheet" type="text/css" href="res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css" media="screen">
<link rel="stylesheet" type="text/css" href="res/niceforms/niceforms-custom.css" media="screen" >
@@ -253,11 +250,26 @@
<img src="<?php echo($C_REP); ?>/images/head_logo.gif" class="Producteur logo">
<div id="minilogo" style="margin-left:85px;height:5px;top:5px;"></div>
<ul class="menu">
- <li class="menuUnderline"><a href="index.php" class="menuLink">Archives </a></li>
- <li class="menuUnderline" ><a href="http://www.rslnmag.fr/blog/2011/3/13/_nous-en-sommes-2020_toutes-les-donnees-sont-liberees_/" class="menuLink" target="_blank"> Programme</a>
- <li ><a href="about.php" class="menuLink" >A propos</a></li>
+ <li class="menuUnderline"><a href="index.php" class="menuLink">
+ <?php print $translate->_("Accueil"); ?> </a></li>
+ <li class="menuUnderline" ><a href="<?php echo($C_link); ?>" class="menuLink" target="_blank" id='Program'>
+ <?php print $translate->_("Programme"); ?></a></li>
+ <li ><a href="about.php" class="menuLink" >
+ <?php print $translate->_("A propos"); ?></a></li>
</ul>
+
+ <ul class="menu" >
+ <li class="menuUnderline"><a href="<?php URL_ROOT ?>?lang=ja_JP" class="menuLink" >
+ <img src='images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> />
+ <?php print $translate->_("Japonais"); ?></a></li>
+ <li class="menuUnderline"><a href="<?php URL_ROOT ?>?lang=fr" class="menuLink">
+ <img src='images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> />
+ <?php print $translate->_("Français"); ?></a></li>
+ <li ><a href="<?php URL_ROOT ?>?lang=en" class="menuLink">
+ <img src='images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> />
+ <?php print $translate->_("Anglais"); ?></a></li>
+ </ul>
<div class="videoLive">
@@ -281,12 +293,11 @@
</div>
<div class="tweetWriter">
- <h3 class="tweetWriterTitle">Annotations polémique : </h3>
+ <h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?></h3>
<form action="tweet.php" method="post" id="statusform" >
<?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
echo("<div class='loginbutton' ><a href='".URL_ROOT."?CONNECT=true' class='loginlink'>
- Vous n'êtes pas connecté.<br>
- Pour participer, veuillez vous identifier en cliquant ici. </a></div>");
+ ".$translate->_("Vous n'êtes pas connecté.")."</a></div>");
}else{
echo("<textarea name='status' id='status' rows='3' cols='50' onkeypress='return imposemax(this);'>".$C_hashtag."</textarea>");
}
@@ -294,16 +305,17 @@
<div id="messageSuccess" style="background-color:lightgreen;">
- Votre tweet a bien été envoyé !<br><br>
+ <?php print $translate->_("Envoyé"); ?><br><br>
</div>
<div id="messageFailed" style="background-color:red;">
- Ooups! il y a une erreur vous avez le droit de frapper le developpeur :<div id="error"> </div><br/><br>
+ <?php print $translate->_("Erreur1"); ?><div id="error"> </div><br/><br>
</div>
- <a class="button_w" href="#" id="sendTweet" style="float:right;margin-right:15px;margin-left:35px;width:70px;" ><span>Envoyer</span></a>
+ <a class="button_w" href="#" id="sendTweet" style="float:right;margin-right:15px;margin-left:35px;width:70px;" >
+ <span><?php print $translate->_("Envoyer"); ?></span></a>
<!--<button name="s" type="button" id="sendTweet"
style="float:right;margin-right:15px;margin-left:35px;width:70px;" >Envoyer</button>-->
<a
@@ -371,10 +383,9 @@
echo($C_partenaires);
if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
- echo("| <a href='clear.php' class='footerLink'>Déconnexion</a>");
+ echo("| <a href='clear.php' class='footerLink'>".$translate->_("Déconnexion")."</a>");
}
?>
- <div href="#Aboutbox" id="About">about</div>
<input type="text" id="txt" size="3"/>
</div>
@@ -387,13 +398,12 @@
<div id="Aboutbox" >
<div class="lightBorder">
<div class="lightTitle" style="height:45px;"> </div>
- <div class="lightSubTitle">Annotation polémique par tweet </div>
- <div class="lightDescription">À partir de cette interface ou de votre client twitter habituel, vous pouvez réagir en direct aux conférences en twittant. Vos tweets seront synchronisés avec l'enregistrement des conférences. Vous pourrez qualifier vos tweets en y intégrant la syntaxe ci-contre.
- </div>
+ <div class="lightSubTitle"><?php print $translate->_("splatchPageTitle"); ?></div>
+ <div class="lightDescription"><?php print $translate->_("splatchPageText"); ?></div>
<div>
<br/>
- <a class="button_b" href="#" id="IDENTIFIER"><span>S'identifier</span></a> <br/><br/>
- <a class="button_w" href="#" id="ACCES"><span>Libre accès</span></a>
+ <a class="button_b" href="#" id="IDENTIFIER"><span><?php print $translate->_("S'identifier"); ?></span></a> <br/><br/>
+ <a class="button_w" href="#" id="ACCES"><span><?php print $translate->_("Libre accès"); ?></span></a>
</div>
</div>
</div>