web/client.php
changeset 233 10d6fd6ce9ab
parent 231 1006d8050b22
child 236 af97b1520964
--- a/web/client.php	Mon Jul 25 18:56:21 2011 +0200
+++ b/web/client.php	Tue Jul 26 16:49:36 2011 +0200
@@ -1,7 +1,7 @@
 <?php
 
 if(!isset($_REQUEST['rep'])) {
-	include_once dirname(__FILE__).'/config.php';
+	include_once dirname(__FILE__).'/common.php';
 	header('Location: ' . URL_ROOT . "$C_default_rep/client.php" );
 	exit();
 }
@@ -51,19 +51,17 @@
 	<meta http-equiv="X-UA-Compatible" content="IE=8" /> 
 
     <!-- Framework CSS -->
-    <link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/blueprint/screen.css" type="text/css" media="screen, projection">
-    <link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/blueprint/print.css" type="text/css" media="print">
-    <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
-	<link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection">
-	<link rel="stylesheet" href="<?php echo(URL_ROOT); ?>res/css/custom.css" type="text/css" media="screen, projection">
-	<link rel="stylesheet" type="text/css" href="<?php echo(URL_ROOT); ?>res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css" media="screen">
-	<link rel="stylesheet" type="text/css" href="<?php echo(URL_ROOT); ?>res/niceforms/niceforms-custom.css" media="screen" >
+    <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]--> 
+	<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('fancybox','css'));?>" type="text/css" media="screen">
 
 	<!-- JAVASCRIPT --> 
 	<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 -->
@@ -141,16 +139,7 @@
 			$(".timeFrame").tooltip();
 			/*
 			*   Lightbox button 
-			*/
-			$("#About").fancybox({
-				'titlePosition'		: 'inside',
-				'transitionIn'		: 'none',
-				'transitionOut'		: 'none',
-				'enableEscapeButton': 'none',
-				'margin' 			: 1,
-				'padding' 			: 0
-			}<?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){echo(").trigger('click');");}else{echo(");");} ?>
-			
+			*/			
 			
 			$("#Program").fancybox({
 				'width'				: '75%',
@@ -160,15 +149,6 @@
 				'transitionOut'		: 'none',
 				'type'				: 'iframe'
 			});
-
-			$("#Video_ldt").fancybox({
-				'width'				: 1021,
-				'height'			: 661,
-				'autoScale'			: false,
-				'transitionIn'		: 'none',
-				'transitionOut'		: 'none',
-				'type'				: 'iframe'
-			});
 			
 			$("#ACCES").click(function() {
 				$.fancybox.close();
@@ -257,7 +237,7 @@
   <body>
     <div class="container">
       <img src="<?php echo($head_logo); ?>" class="Producteur logo">
-		<div id="minilogo" style="margin-left:85px;height:5px;top:5px;"></div>
+      <div id="minilogo" style="margin-left:85px;height:5px;top:5px;"></div>
 	  <ul class="menu"> 
 	  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>" class="menuLink">
 	  	<?php print $translate->_("Accueil"); ?> </a></li>
@@ -433,23 +413,5 @@
 
     </div>
 	
-	<!-- LIGHTBOX --> 
-	<div style="display:none;">
-		<div id="Aboutbox" >
-		<div class="lightBorder">
-			<div class="lightTitle" style="height:45px;">&nbsp;  </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><?php print $translate->_("S&apos;identifier"); ?></span></a> <br/><br/>
-				<a class="button_w" href="#"  id="ACCES"><span><?php print $translate->_("Libre accès"); ?></span></a> 
-			</div>
-		</div>
-		</div>
-	</div>
-	<!-- END LIGHTBOX -->
-
-	
   </body>
 </html>