From: <jen...@us...> - 2008-01-09 09:26:22
|
Revision: 352 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=352&view=rev Author: jenslehmann Date: 2008-01-09 01:26:20 -0800 (Wed, 09 Jan 2008) Log Message: ----------- - fixed DBpedia Navigator HTML header - fixed clear session script - added images Modified Paths: -------------- trunk/src/dbpedia-navigator/clearsession.php trunk/src/dbpedia-navigator/default.css trunk/src/dbpedia-navigator/index.php Added Paths: ----------- trunk/src/dbpedia-navigator/images/ trunk/src/dbpedia-navigator/images/tab_back.png trunk/src/dbpedia-navigator/images/valid-css.png trunk/src/dbpedia-navigator/images/valid-xhtml10.png Modified: trunk/src/dbpedia-navigator/clearsession.php =================================================================== --- trunk/src/dbpedia-navigator/clearsession.php 2008-01-09 08:51:30 UTC (rev 351) +++ trunk/src/dbpedia-navigator/clearsession.php 2008-01-09 09:26:20 UTC (rev 352) @@ -7,6 +7,7 @@ require_once 'SparqlConnection.php'; require_once 'Settings.php'; $settings=new Settings(); -SparqlConnection::loadWSDLfiles($settings->wsdluri); -header("Location: http://" . $_SERVER["HTTP_HOST"] . "/Ajax-Test/index.php"); +SparqlConnection::loadWSDLfiles($settings->wsdluri); +$index_uri = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME']).'/index.php'; +header('Location: ' . $index_uri); ?> \ No newline at end of file Modified: trunk/src/dbpedia-navigator/default.css =================================================================== --- trunk/src/dbpedia-navigator/default.css 2008-01-09 08:51:30 UTC (rev 351) +++ trunk/src/dbpedia-navigator/default.css 2008-01-09 09:26:20 UTC (rev 352) @@ -1,8 +1,8 @@ /** - * default.css - * main Ontowiki style sheet + * Main DBpedia Navigator Style Sheet. + * * @author: Norman Heino - * @version: $Id: default.css 751 2007-02-14 19:20:17Z nheino $ + * @author: Jens Lehmann */ /* remove browser specific margins */ Added: trunk/src/dbpedia-navigator/images/tab_back.png =================================================================== (Binary files differ) Property changes on: trunk/src/dbpedia-navigator/images/tab_back.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/src/dbpedia-navigator/images/valid-css.png =================================================================== (Binary files differ) Property changes on: trunk/src/dbpedia-navigator/images/valid-css.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/src/dbpedia-navigator/images/valid-xhtml10.png =================================================================== (Binary files differ) Property changes on: trunk/src/dbpedia-navigator/images/valid-xhtml10.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/src/dbpedia-navigator/index.php =================================================================== --- trunk/src/dbpedia-navigator/index.php 2008-01-09 08:51:30 UTC (rev 351) +++ trunk/src/dbpedia-navigator/index.php 2008-01-09 09:26:20 UTC (rev 352) @@ -11,13 +11,14 @@ $_SESSION['id']=$ids[0]; $_SESSION['ksID']=$ids[1]; -echo "<a href='clearsession.php'>start from scratch</a>"; - require("ajax.php"); echo '<?xml version="1.0" encoding="UTF-8"?>'; -?> -<html> +?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>DL Learner</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> @@ -58,7 +59,8 @@ } </script> </head> - <body> + <body> +<p><a href='clearsession.php'>start from scratch</a></p> <h3>DBPedia-Navigator-Test</h3> <div id="layer" style="display:none"><div id="layerContent" style="display:none"></div></div> <div id="wrapper"> @@ -134,7 +136,18 @@ <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> </div><!-- rightSidebar --> <div id="clear"></div> -</div> +</div> +<?php + +$uri = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; + +echo '<a href="http://validator.w3.org/check?uri='.$uri.'"'; +echo '><img src="images/valid-xhtml10.png" alt="valid XHTML 1.0" /></a>'."\n"; +echo '<a href="http://jigsaw.w3.org/css-validator/validator?uri='.$uri.'"'; +echo '><img src="images/valid-css.png" alt="valid CSS" /></a>'."\n"; + +?> + </body> </html> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |