From: <sk...@us...> - 2008-10-27 08:34:08
|
Revision: 1437 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1437&view=rev Author: sknappe Date: 2008-10-27 08:31:27 +0000 (Mon, 27 Oct 2008) Log Message: ----------- bugfix Modified Paths: -------------- trunk/src/dbpedia-navigator/ajax_get_article.php Modified: trunk/src/dbpedia-navigator/ajax_get_article.php =================================================================== --- trunk/src/dbpedia-navigator/ajax_get_article.php 2008-10-27 08:29:37 UTC (rev 1436) +++ trunk/src/dbpedia-navigator/ajax_get_article.php 2008-10-27 08:31:27 UTC (rev 1437) @@ -17,6 +17,8 @@ die(); } + $settings=new Settings(); + //write last action into session if (strpos($subject,"http://dbpedia.org/resource/")===0) $actionuri=substr (strrchr ($subject, "/"), 1); else $actionuri=urlencode($subject); @@ -124,7 +126,7 @@ if(isset($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type'])){ // display a list of classes - if ($classSystem=="YAGO") $content.='<br/><hr><h4>YAGO Classes</h4><br/>'; + if ($settings->classSystem=="YAGO") $content.='<br/><hr><h4>YAGO Classes</h4><br/>'; $content .= '<p>'.formatClassArray($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type'],$classSystem).'</p>'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |