From: <sk...@us...> - 2008-10-01 13:04:57
|
Revision: 1335 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1335&view=rev Author: sknappe Date: 2008-10-01 13:04:47 +0000 (Wed, 01 Oct 2008) Log Message: ----------- added favicon Modified Paths: -------------- trunk/src/dbpedia-navigator/ajax_get_article.php trunk/src/dbpedia-navigator/index.php Modified: trunk/src/dbpedia-navigator/ajax_get_article.php =================================================================== --- trunk/src/dbpedia-navigator/ajax_get_article.php 2008-10-01 08:50:21 UTC (rev 1334) +++ trunk/src/dbpedia-navigator/ajax_get_article.php 2008-10-01 13:04:47 UTC (rev 1335) @@ -329,6 +329,12 @@ $array=$_SESSION['positive']; if ($redirect!="") $array[$redirect] = $artTitle; else $array[$uri]=$artTitle; + if (count($array)>3){ + foreach ($array as $key=>$value){ + unset($array[$key]); + break; + } + } $_SESSION['positive']=$array; } Modified: trunk/src/dbpedia-navigator/index.php =================================================================== --- trunk/src/dbpedia-navigator/index.php 2008-10-01 08:50:21 UTC (rev 1334) +++ trunk/src/dbpedia-navigator/index.php 2008-10-01 13:04:47 UTC (rev 1335) @@ -40,6 +40,7 @@ <title>DBpedia Navigator</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <link rel="stylesheet" href="css/default.css"/> + <link rel="Shortcut Icon" href="images/favicon.ico"> <script src="http://maps.google.com/maps?file=api&v=2&key=<?php print $settings->googleMapsKey;?>" type="text/javascript"></script> <script src="js/ajax.js"></script> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |