--- a/web/client_live.php Mon Jul 18 13:40:06 2011 +0200
+++ b/web/client_live.php Mon Jul 25 18:50:20 2011 +0200
@@ -62,16 +62,16 @@
<link rel="stylesheet" type="text/css" href="res/niceforms/niceforms-custom.css" media="screen" >
<!-- JAVASCRIPT -->
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
- <script type="text/javascript" src="res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
- <script type="text/javascript" src="res/metadataplayer/res/js/jquery.tools.min.js"></script>
- <script type="text/javascript" src="res/niceforms/niceforms.js"></script>
- <script src="http://widgets.twimg.com/j/2/widget.js"></script>
+ <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
+ <script type="text/javascript" src="<?php echo(registry_url('fancybox','js'))?>"></script>
+ <script type="text/javascript" src="<?php echo(registry_url('jquery-tools','js'))?>"></script>
+ <script type="text/javascript" src="<?php echo(registry_url('niceforms','js'))?>"></script>
+ <script type="text/javascript" src="<?php echo(registry_url('tw-widget','js'))?>"></script>
<!-- FONT -->
- <link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin' rel='stylesheet' type='text/css'>
- <link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'>
- <link href='http://fonts.googleapis.com/css?family=Geo&subset=latin' rel='stylesheet' type='text/css'>
+ <link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'>
+ <link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'>
+ <link href='<?php echo(registry_url('Geo','font'))?>' rel='stylesheet' type='text/css'>
<script type="text/javascript">
$(document).ready(function() {
@@ -79,10 +79,10 @@
doTimer();
//$("txt").hide();
$(".loginbutton").click(function() {
- document.location.href="<?php URL_ROOT ?>?CONNECT=true";
+ document.location.href="<?php URL_ROOT ?>client.php?CONNECT=true";
});
$("#IDENTIFIER").click(function() {
- document.location.href="<?php URL_ROOT ?>?CONNECT=true";
+ document.location.href="<?php URL_ROOT ?>client.php?CONNECT=true";
});
$("#messageSuccess").hide();
@@ -259,13 +259,13 @@
</ul>
<ul class="menu" >
- <li class="menuUnderline"><a href="<?php URL_ROOT ?>?lang=ja_JP" class="menuLink" >
+ <li class="menuUnderline"><a href="<?php URL_ROOT ?>client.php?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">
+ <li class="menuUnderline"><a href="<?php URL_ROOT ?>client.php?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">
+ <li ><a href="<?php URL_ROOT ?>client.php?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>
@@ -315,7 +315,7 @@
<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'>
+ echo("<div class='loginbutton' ><a href='".URL_ROOT."client.php?CONNECT=true' class='loginlink'>
".$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>");