From: <sk...@us...> - 2008-09-29 14:34:23
|
Revision: 1299 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1299&view=rev Author: sknappe Date: 2008-09-29 14:34:15 +0000 (Mon, 29 Sep 2008) Log Message: ----------- adding a title to the pictures 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-09-29 14:32:13 UTC (rev 1298) +++ trunk/src/dbpedia-navigator/ajax_get_article.php 2008-09-29 14:34:15 UTC (rev 1299) @@ -66,10 +66,10 @@ else $alt='Picture of '.$artTitle; if(isset($triples['http://xmlns.com/foaf/0.1/depiction'])&&@fopen($triples['http://xmlns.com/foaf/0.1/depiction'][0]['value'], 'r')){ - $content.='<img src="'.$triples['http://xmlns.com/foaf/0.1/depiction'][0]['value'].'" alt="'.$alt.'" style="float:right; max-width:200px;" \>'; + $content.='<img src="'.$triples['http://xmlns.com/foaf/0.1/depiction'][0]['value'].'" alt="'.$alt.'" style="float:right; max-width:200px;" title="'.$alt.'"\>'; } else if(isset($triples['http://xmlns.com/foaf/0.1/img'])&&fopen($triples['http://xmlns.com/foaf/0.1/img'][0]['value'], 'r')){ - $content.='<img src="'.$triples['http://xmlns.com/foaf/0.1/img'][0]['value'].'" alt="'.$alt.'" style="float:right; max-width:200px;" \>'; + $content.='<img src="'.$triples['http://xmlns.com/foaf/0.1/img'][0]['value'].'" alt="'.$alt.'" style="float:right; max-width:200px;" title="'.$alt.'"\>'; } //display where it was redirected from, if it was redirected This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |