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:searchres [2012/05/16 10:03]
giancarlo
frontend:searchres [2012/05/17 09:15]
giancarlo
Line 49: Line 49:
  
 <?php if ($style == 'div'): ?> <?php if ($style == 'div'): ?>
- 
- 
 <?php elseif ($style == 'table'): ?> <?php elseif ($style == 'table'): ?>
  
Line 62: Line 60:
    <tr class="islandora_solr_result">    <tr class="islandora_solr_result">
      <td class="label" rowspan="2">      <td class="label" rowspan="2">
-              <?php print "<img src=\"".base_path()."fedora/repository/".$result['PID']['value']."/TN\"></img>"; ?>+              <?php print "<a href=\"".base_path()."fedora/repository/".substr($result['PID']['value'],0,-5)."\"><img src=\"".base_path()."fedora/repository/".substr($result['PID']['value'], 0, -5)."/TN\"></img></a>"; ?>
      </td>      </td>
      <td class="value">      <td class="value">
-       <?php print "<a href=\"".base_path()."fedora/repository/".$result['PID']['value']."\"><b>".$result['dc.title']['value']."</b></a>"; ?><br><br>+       <?php print "<b>".substr($result['dc.title']['value'],0,-12)."</b>"; ?><br><br>
               <i><?php print $result['dc.creator']['value']; ?></i><br>               <i><?php print $result['dc.creator']['value']; ?></i><br>
               <i><?php print $result['dc.publisher']['value']; ?></i><br>               <i><?php print $result['dc.publisher']['value']; ?></i><br>
               <i><?php print $result['dc.description']['value']; ?></i><br>               <i><?php print $result['dc.description']['value']; ?></i><br>
 +     </td>
 +     <td class="plabel" rowspan="2">
 +              <?php print "<a href=\"".base_path()."fedora/repository/".$result['PID']['value']."\"><img height=\"150\" src=\"".base_path()."fedora/repository/".$result['PID']['value']."/TN\"></img></a>"; ?>
 +       <?php print "<br><b>".substr($result['dc.title']['value'],-9)."</b>"; ?>
      </td>      </td>
    </tr>    </tr>
Line 79: Line 81:
           <tr class="islandora_solr_result">           <tr class="islandora_solr_result">
             <td class="label">             <td class="label">
-              <?php print "<img src=\"".base_path()."fedora/repository/".$result['PID']['value']."/TN\"></img>"; ?>+              <?php print "<a href=\"".base_path()."fedora/repository/".$result['PID']['value']."\"><img src=\"".base_path()."fedora/repository/".$result['PID']['value']."/TN\"></img></a>"; ?>
             </td>             </td>
      <td class="value">      <td class="value">
-       <?php print "<a href=\"".base_path()."fedora/repository/".$result['PID']['value']."\"><b>".$result['dc.title']['value']."</b></a>"; ?><br><br>+       <?php print "<b>".$result['dc.title']['value']."</b>"; ?><br><br>
               <i><?php print $result['dc.creator']['value']; ?></i><br>               <i><?php print $result['dc.creator']['value']; ?></i><br>
               <i><?php print $result['dc.publisher']['value']; ?></i><br>               <i><?php print $result['dc.publisher']['value']; ?></i><br>
 
 
frontend/searchres.txt ยท Last modified: 2013/09/05 11:38 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