Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
frontend:breadcrumb [2012/05/25 10:20]
giancarlo
frontend:breadcrumb [2012/11/25 21:25]
giancarlo
Line 60: Line 60:
 /*        else if (strlen($matches[1]) > 20){ */ /*        else if (strlen($matches[1]) > 20){ */
             if (strlen($matches[1]) > 25){             if (strlen($matches[1]) > 25){
-              $breadcrumbs[] = l(substr($matches[1],0,25) . '...', 'fedora/repository/' . $pid);+              $breadcrumbs[] = l(htmlentities(substr($matches[1],0,25)) . '...', 'fedora/repository/' . $pid);
             }             }
             else {             else {
 
 
frontend/breadcrumb.txt ยท Last modified: 2013/05/23 11:45 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki