-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.php
executable file
·52 lines (41 loc) · 1.9 KB
/
search.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php get_header(); ?>
<?
/**
* header.php lässt drei DIVs offen:
* #body > .content > .col1
**/
?>
<div class="blog module">
<?php if (have_posts()) : ?>
<h2 style="padding-left:1em;"><?php _e('Suchergebnisse'); ?></h2>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Vorherige', 'kubrick')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Neuere »', 'kubrick')) ?></div>
</div>
<ul>
<?php while (have_posts()) : the_post(); ?>
<li <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h3>
<small><?php the_time('l, F jS, Y') ?></small>
<p class="postmetadata"><?php the_tags(__('Schlagworte:', 'kubrick') . ' ', ', ', '<br />'); ?> <?php printf(__('Abgelegt unter %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Bearbeiten', 'kubrick'), '', ' | '); ?> <?php comments_popup_link(__('Keine Kommentare »', 'kubrick'), __('1 Kommentar »', 'kubrick'), __('% Kommentare »', 'kubrick'), '', __('Kommentare geschlossen', 'kubrick') ); ?></p>
</li>
<?php endwhile; ?>
</ul>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Vorherige', 'kubrick')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Neuere »', 'kubrick')) ?></div>
</div>
<?php else : ?>
<ul>
<li>
<h2 class="center"><?php _e('Die Suche ergab keine Treffer.', 'kubrick'); ?></h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</li></ul>
<?php endif; ?>
</div><!--.blog.module-->
</div><!--#col1-->
<div id="col2">
<?php get_sidebar(1); ?>
<?php get_sidebar(2); ?>
</div>
<?php get_footer(); ?>