From: <sk...@us...> - 2008-02-06 15:24:13
|
Revision: 501 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=501&view=rev Author: sknappe Date: 2008-02-06 07:24:06 -0800 (Wed, 06 Feb 2008) Log Message: ----------- changed the design a bit Modified Paths: -------------- trunk/src/dbpedia-navigator/ajaxfunctions.php trunk/src/dbpedia-navigator/index.php Modified: trunk/src/dbpedia-navigator/ajaxfunctions.php =================================================================== --- trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-02-06 14:47:37 UTC (rev 500) +++ trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-02-06 15:24:06 UTC (rev 501) @@ -118,7 +118,7 @@ //BUILD ARTICLE TITLE $artTitle=$triples['http://www.w3.org/2000/01/rdf-schema#label'][0]; - + session_start(); //store article in session, to navigate between last 5 articles quickly $contentArray=array('content' => $content,'subject' => $artTitle); if (!isset($_SESSION['nextArticle'])){ @@ -153,6 +153,7 @@ } } else { + session_start(); //Article is in session $content=$_SESSION['articles'][$fromCache]['content']; $artTitle=$_SESSION['articles'][$fromCache]['subject']; Modified: trunk/src/dbpedia-navigator/index.php =================================================================== --- trunk/src/dbpedia-navigator/index.php 2008-02-06 14:47:37 UTC (rev 500) +++ trunk/src/dbpedia-navigator/index.php 2008-02-06 15:24:06 UTC (rev 501) @@ -42,7 +42,7 @@ <body> <!-- <h1>DBpedia Navigator</h1> --> -<div><img src="images/dbpedia_navigator.png" alt="DBpedia Navigator" style="padding:5px" /> <input type="button" value="Learn" class="button" onclick="xajax_learnConcept();return false;" /> <span id="conceptlink"></span><span id="Loading" style="display:none">Server Call... <input type="button" value="Stop" class="button" onclick="xajax_stopServerCall();return false;" /></span></div> +<div><table border="0" width="100%"><tr><td width="35%"><img src="images/dbpedia_navigator.png" alt="DBpedia Navigator" style="padding:5px" /></td><td width="50%"><span id="conceptlink"></span></td><td width="15%"><span id="Loading" style="display:none">Server Call... <img src="images/remove.png" onclick="xajax_stopServerCall();return false;" /></span></td></tr></table></div> <div id="layer" style="display:none"> <div id="layerContent" style="display:none"></div> </div> @@ -81,7 +81,7 @@ <a href="http://www.w3.org/2001/sw/DataAccess/"><img src="images/sw-sparql-green.png" alt="SPARQL logo"/></a> </div> - + <input type="button" value="Learn" class="button" onclick="xajax_learnConcept();return false;" /> </div><!-- END leftSidebar --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |