web/index.php
changeset 291 db1e6bfaa54e
parent 276 f7669b499d41
child 294 106c4ec894aa
--- a/web/index.php	Wed Oct 05 13:39:57 2011 +0200
+++ b/web/index.php	Wed Oct 05 18:11:31 2011 +0200
@@ -38,12 +38,12 @@
     <!-- Framework CSS -->
     <link rel="stylesheet" href="<?php echo(registry_url('blueprint-screen','css'));?>" type="text/css" media="screen, projection"/>
     <link rel="stylesheet" href="<?php echo(registry_url('blueprint-print','css'));?>" type="text/css" media="print"/>
-    <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(registry_url('blueprint-ie','css'));?>" type="text/css" media="screen, projection"><![endif]--> 
+    <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(registry_url('blueprint-ie','css'));?>" type="text/css" media="screen, projection"><![endif]-->
 	<link rel="stylesheet" href="<?php echo(registry_url('blueprint-plugins-fancy-type','css'));?>" type="text/css" media="screen, projection"/>
 	<link rel="stylesheet" href="<?php echo(registry_url('custom','css'));?>" type="text/css" media="screen, projection"/>
 	<link rel="stylesheet" href="<?php echo(registry_url('tabs-slideshow','css'));?>" type="text/css" media="screen, projection">
 
-	<!-- JAVASCRIPT --> 
+	<!-- JAVASCRIPT -->
 	<script type="text/javascript" src="<?php echo(registry_url('jquery','js'));?>"></script>
 	<script type="text/javascript" src="<?php echo(registry_url('jquery-tools','js'));?>"></script>
 	<script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'));?>"></script>
@@ -53,7 +53,7 @@
 	<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">	
+	<script type="text/javascript">
 	$(document).ready(function() {
 		$(".loginbutton").click(function() {
 			document.location.href="<?php echo(URL_ROOT.$C_default_rep); ?>/client.php?CONNECT=true";
@@ -77,7 +77,7 @@
 			rotate: false,
 			interval: 4000,
 			clickable:false
-		}).slideshow();		
+		}).slideshow();
 		
 		$(".slidetabs").data("slideshow").play();
 
@@ -93,7 +93,7 @@
 	  var _gaq = _gaq || [];
 	  _gaq.push(['_setAccount', 'UA-23581291-1']);
 	  _gaq.push(['_trackPageview']);
-	  _gaq.push(['_setAllowAnchor', true]); 
+	  _gaq.push(['_setAllowAnchor', true]);
 	
 	  (function() {
 	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
@@ -106,7 +106,7 @@
 	<div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div>
     <div class="container">
       <img src="images/ENMI_2010_logo.gif" class="logo">
-	  <ul class="menu"> 
+	  <ul class="menu">
 	  <li class="menuUnderline"><a href="<?php echo(URL_ROOT.$C_default_rep); ?>/client.php?CONNECT=true" class="menuLink">
 	  	<?php print $translate->_("S&apos;identifier"); ?></a></li>
 	  <li class="menuUnderline"><a href="about.php" class="menuLink">
@@ -114,12 +114,12 @@
 	  <li ><a href="mailto:contact@iri.centrepompidou.fr" class="menuLink" >
 	  	<?php print $translate->_("Contact"); ?></a></li>
 	  </ul>
-	  <ul class="menu"> 
+	  <ul class="menu">
 		  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>archives.php" class="menuLink">
 		  	<?php print $translate->_("Archives"); ?></a></li>
 	  </ul>
 	  
-	  <ul class="menu lang" > 
+	  <ul class="menu lang" >
 	  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>index.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>
@@ -155,7 +155,7 @@
 				<?php print $translate->_("1.1 TextSlide"); ?></span></a>
 				<?php print $translate->_("1.2 TextSlide"); ?>,<br/> <br/>
 				<a class="button_w" href="#"  id="ACCES"><span>
-				<?php print $translate->_("1.3 TextSlide"); ?></span></a> 
+				<?php print $translate->_("1.3 TextSlide"); ?></span></a>
 				</p>
 				</div>
 				<!-- second slide -->
@@ -202,7 +202,7 @@
 		</div>
 		  
 	  </div>
-	  <!-- --> 
+	  <!-- -->
 	  <div class="archivesBox">
 	  <div class="archivesBoxHeader"></div>
 
@@ -220,7 +220,7 @@
 			<div class="items">
 			    <?php
 			    $arch_list = array_reverse($archives_list);
-			   	display_archives_list($arch_list, "archive_box_3 item", URL_ROOT, dirname(__FILE__)."/");
+			   	display_archives_list($arch_list, "archive_box_3 item", URL_ROOT, dirname(__FILE__)."/", $translate);
 			    ?>
 		    </div>
 		</div>
@@ -231,18 +231,18 @@
       <div class="footer">
 		<hr>
 		<?php
-			print $translate->_("footer text home"); 
+			print $translate->_("footer text home");
 			if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
 					echo("| 	<a href='clear.php'  class='footerLink'>".$translate->_("D&eacute;connexion")."</a>");
 			}
 		 ?>
 		  <input type="text" id="txt" size="3" style="visibility:hidden;"/>
-	  </div>   
+	  </div>
 	
 
     </div>
 	
-	<!-- LIGHTBOX --> 
+	<!-- LIGHTBOX -->
 	<div style="display:none;">
 		<div id="Aboutbox" >
 		<div class="lightBorder">
@@ -253,7 +253,7 @@
 			<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_w" href="#"  id="ACCES"><span>Libre accès</span></a>
 			</div>
 		</div>
 		</div>