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
Previous revision
Last revision Both sides next revision
frontend:breadcrumb [2012/05/25 10:20]
giancarlo
frontend:breadcrumb [2013/05/23 11:45]
giancarlo
Line 36: Line 36:
                                and $parentObject <fedora-model:state> <info:fedora/fedora-system:def/model#Active>)                                and $parentObject <fedora-model:state> <info:fedora/fedora-system:def/model#Active>)
                                minus $content <mulgara:is> <info:fedora/fedora-system:FedoraObject-3.0>                                minus $content <mulgara:is> <info:fedora/fedora-system:FedoraObject-3.0>
 +</code>
 +<wrap tip>Tip</wrap>
 +<WRAP prewrap center caution>     
 +<code php>
                                order by $title';                                order by $title';
 +</code>
 +</WRAP>
 +<code php>
       $query_string = htmlentities(urlencode($query_string));       $query_string = htmlentities(urlencode($query_string));
  
Line 60: Line 67:
 /*        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