web/index.php
changeset 233 10d6fd6ce9ab
parent 229 74c9ddc3640b
child 236 af97b1520964
--- a/web/index.php	Mon Jul 25 18:56:21 2011 +0200
+++ b/web/index.php	Tue Jul 26 16:49:36 2011 +0200
@@ -6,9 +6,9 @@
  * People still do this? ;)
  */
 
-include_once dirname(__FILE__).'/config.php';
+include_once dirname(__FILE__).'/common.php';
 include_once dirname(__FILE__).'/'.$C_default_rep.'/config.php';
-include_once dirname(__FILE__).'/common.php';
+
 
 /**
  * Do we already have a valid Access Token or need to go get one?
@@ -36,25 +36,17 @@
     <title>Polemic tweet - Live Video and Annotation</title>
 
     <!-- Framework CSS -->
-    <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="res/css/tabs-slideshow.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" >
+    <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('tabs-slideshow','css'));?>" type="text/css" media="screen, projection">
 
 	<!-- 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>
-	<script type="text/javascript" src="<?php echo(registry_url('fancybox','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='<?php echo(registry_url('PT-Sans_Narrow','font'));?>' rel='stylesheet' type='text/css'>
@@ -73,12 +65,9 @@
 			document.location.href="<?php echo(URL_ROOT.$C_default_rep); ?>/client.php";
 		});
 		$(".archivesVideoBox").mouseover(function() {
-			//$(this).animate({'backgroundColor'});
-			//$(this).css({'backgroundColor':'#d6d6d6'});
 			$(this).css({'backgroundColor':'#fff'});
 			$(this).cursor = "pointer";
 		}).mouseout(function() {
-			//$(this).css({'backgroundColor':'#f6f6f6'});
 			$(this).css({'backgroundColor':'#f2f2f2'});
 		});