Mercurial > hg > MPIWG-drupal-modules
diff sites/all/modules/custom/solrsearch/solr-search-result.tpl.php @ 0:015d06b10d37 default tip
initial
author | dwinter |
---|---|
date | Wed, 31 Jul 2013 13:49:13 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sites/all/modules/custom/solrsearch/solr-search-result.tpl.php Wed Jul 31 13:49:13 2013 +0200 @@ -0,0 +1,58 @@ +<?php + +/** + * @file + * Default theme implementation for displaying a single search result. + + * @see template_preprocess() + * @see template_preprocess_search_result() + * @see template_process() + * + * @ingroup themeable + */ +?> + + + + + + + +<tr class="line <?php print $classes; ?>"<?php print $attributes; ?>> + + + +<td> + <?php if ($access_type !="free"):?> + +<a href="<?php print $url; ?>"><span class="solrsearch_internal" c> +intern +</span> +<?php endif ;?><img src="<?php print $thumburl; ?>"/></a></td> +<td> <a href="<?php print $url; ?>"><?php print $title; ?> +<?php if (isset ($signature)):?><?php print $signature; ?><?php endif;?> +</a></td> +<td><?php print $author; ?></td> + +<td><?php if (isset ($date)):?> +<?php print $date; ?> +<?php else: ?> +<?php print $year; ?></td> +<?php endif;?> + <td></td> +</tr> +<!-- <tr class="line"> +<td> </td> + + + <td colspan="4"> + +<div class="search-snippet-info"> + <?php if ($snippet): ?> + <p class="search-snippet"<?php print $content_attributes; ?>><?php print $snippet; ?></p> + <?php endif; ?> + + + </div> + </td>--> + </tr>