Mercurial > hg > MPIWG-drupal-modules
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:015d06b10d37 |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * @file | |
5 * Default theme implementation for displaying a single search result. | |
6 | |
7 * @see template_preprocess() | |
8 * @see template_preprocess_search_result() | |
9 * @see template_process() | |
10 * | |
11 * @ingroup themeable | |
12 */ | |
13 ?> | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 <tr class="line <?php print $classes; ?>"<?php print $attributes; ?>> | |
22 | |
23 | |
24 | |
25 <td> | |
26 <?php if ($access_type !="free"):?> | |
27 | |
28 <a href="<?php print $url; ?>"><span class="solrsearch_internal" c> | |
29 intern | |
30 </span> | |
31 <?php endif ;?><img src="<?php print $thumburl; ?>"/></a></td> | |
32 <td> <a href="<?php print $url; ?>"><?php print $title; ?> | |
33 <?php if (isset ($signature)):?><?php print $signature; ?><?php endif;?> | |
34 </a></td> | |
35 <td><?php print $author; ?></td> | |
36 | |
37 <td><?php if (isset ($date)):?> | |
38 <?php print $date; ?> | |
39 <?php else: ?> | |
40 <?php print $year; ?></td> | |
41 <?php endif;?> | |
42 <td></td> | |
43 </tr> | |
44 <!-- <tr class="line"> | |
45 <td> </td> | |
46 | |
47 | |
48 <td colspan="4"> | |
49 | |
50 <div class="search-snippet-info"> | |
51 <?php if ($snippet): ?> | |
52 <p class="search-snippet"<?php print $content_attributes; ?>><?php print $snippet; ?></p> | |
53 <?php endif; ?> | |
54 | |
55 | |
56 </div> | |
57 </td>--> | |
58 </tr> |