From: <sk...@us...> - 2008-10-05 10:26:32
|
Revision: 1343 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1343&view=rev Author: sknappe Date: 2008-10-05 09:08:08 +0000 (Sun, 05 Oct 2008) Log Message: ----------- bugfixes Modified Paths: -------------- trunk/src/dbpedia-navigator/ajax_search.php trunk/src/dbpedia-navigator/helper_functions.php trunk/src/dbpedia-navigator/js/navigator.js Modified: trunk/src/dbpedia-navigator/ajax_search.php =================================================================== --- trunk/src/dbpedia-navigator/ajax_search.php 2008-10-05 09:07:00 UTC (rev 1342) +++ trunk/src/dbpedia-navigator/ajax_search.php 2008-10-05 09:08:08 UTC (rev 1343) @@ -62,11 +62,11 @@ $bestsearches=getBestSearches($names,$labels); } else - $content.="Your Search brought no results."; + $content.="Your search brought no results."; print $content; print '$$$'; - print "Searchresult for \"".$label."\""; + print "search result for \"".$label."\""; print '$$$'; print $bestsearches; ?> \ No newline at end of file Modified: trunk/src/dbpedia-navigator/helper_functions.php =================================================================== --- trunk/src/dbpedia-navigator/helper_functions.php 2008-10-05 09:07:00 UTC (rev 1342) +++ trunk/src/dbpedia-navigator/helper_functions.php 2008-10-05 09:08:08 UTC (rev 1343) @@ -119,7 +119,7 @@ function getCategoryResultsTable($names,$labels,$category,$number) { - $ret="<p>These are your Searchresults. Show best "; + $ret="<p>These are your the results of your search. Show best "; for ($k=10;$k<125;){ $ret.="<a href=\"#\" onclick=\"getSubjectsFromCategory('category=".$category."&number=".$k."');return false;\""; if ($k==$number) $ret.=" style=\"text-decoration:none;\""; Modified: trunk/src/dbpedia-navigator/js/navigator.js =================================================================== --- trunk/src/dbpedia-navigator/js/navigator.js 2008-10-05 09:07:00 UTC (rev 1342) +++ trunk/src/dbpedia-navigator/js/navigator.js 2008-10-05 09:08:08 UTC (rev 1343) @@ -51,6 +51,7 @@ } else links[i].style.display='none'; } + links[i].innerHTML=links[i].innerHTML.substr(0,24)+j+links[i].innerHTML.substr(links[i].innerHTML.indexOf('<a')-7); } if (j<number){ show_results(class,0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |