<small class="metadata">
<?php comments_popup_link('0 <span>'.__('Kommentare','k2_domain').'</span>', '1 <span>'.__('Kommentar','k2_domain').'</span>', '% <span>'.__('Kommentare','k2_domain').'</span>', 'commentslink', '<span class="commentslink">'.__('Closed','k2_domain').'</span>'); ?>
<span class="chronodata">
<?php
$count_users = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->usermeta WHERE `meta_key` = '" . $table_prefix . "user_level' AND `meta_value` > 1");
printf(__('Geschrieben am %1$s %2$s.','k2_domain'),
(($count_users > 1) ? sprintf(__('by %s','k2_domain'), '<a href="' . get_author_link(0, $authordata->ID, $authordata->user_nicename) .'">' . get_the_author() . '</a>') : ('')),
(function_exists('time_since') ? sprintf(__('%s ago','k2_domain'), time_since(abs(strtotime($post->post_date_gmt . " GMT")))) : get_the_time(__('F jS, Y','k2_domain')))
);
?>
</span>
<?php if (is_single() && function_exists(UTW_ShowTagsForCurrentPost)) { ?>
<span class="tagdata"><?php _e('Tags:','k2_domain'); ?> <?php UTW_ShowTagsForCurrentPost("commalist") ?>.</span>
<?php } ?>
</small>
</div>
<div class="itemtext">
<?php the_content(__('Weiterlesen:','k2_domain') . " '" . the_title('', '', false) . "'"); ?>
</div>
</div>
<?php /* Normal Entries */ } elseif (!(in_category($k2asidescategory))) { ?>
<div id="post-<?php the_ID(); ?>" class="item entry">
<div class="itemhead">
<h3 <?php /* Support for noteworthy plugin */ foreach((get_the_category()) as $cat) { if ($cat->cat_name == 'Noteworthy') { ?> class="noteworthy"<?php } } ?>><a href="<?php the_permalink() ?>" rel="bookmark" title='<?php printf(__('Permanent Link to "%s"','k2_domain'), strip_tags(get_the_title())) ?>'><?php the_title(); ?></a></h3>
<?php /* Support for noteworthy plugin */ get_currentuserinfo(); global $user_level; if (function_exists(nw_noteworthyLink) and ($user_level == 10) ) { ?><?php nw_noteworthyLink($post->ID); ?><?php } ?>
<?php edit_post_link('<img src="'.get_bloginfo(template_directory).'/images/pencil.png" alt="Edit Link" />','<span class="editlink">','</span>'); ?>
<small class="metadata">
<?php comments_popup_link('0 <span>'.__('Kommentare','k2_domain').'</span>', '1 <span>'.__('Kommentar','k2_domain').'</span>', '% <span>'.__('Kommentare','k2_domain').'</span>', 'commentslink', '<span class="commentslink">'.__('Closed','k2_domain').'</span>'); ?>
<span class="chronodata">
<?php
$count_users = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->usermeta WHERE `meta_key` = '" . $table_prefix . "user_level' AND `meta_value` > 1");
printf(__('Geschrieben am %1$s %2$s %3$s.','k2_domain'),
(($count_users > 1) ? sprintf(__('by %s','k2_domain'), '<a href="' . get_author_link(0, $authordata->ID, $authordata->user_nicename) .'">' . get_the_author() . '</a>') : ('')),
(function_exists('time_since') ? sprintf(__('%s ago','k2_domain'), time_since(abs(strtotime($post->post_date_gmt . " GMT")))) : get_the_time(__('F jS, Y','k2_domain'))),
(sprintf(__('in %s','k2_domain'), function_exists('the_nice_category') ? the_nice_category(', ') : get_the_category_list(', ')))
);
?>
</span>
<?php if (is_single() && function_exists(UTW_ShowTagsForCurrentPost)) { ?>
<span class="tagdata"><?php _e('Tags:','k2_domain'); ?> <?php UTW_ShowTagsForCurrentPost("commalist") ?>.</span>
<?php } ?>
</small>
</div>
<div class="itemtext">
<?php if ( is_archive() or is_search() or (function_exists('is_tag') and is_tag()) ) {
the_excerpt();
} else {
the_content(__('Weiterlesen:','k2_domain') . " '" . the_title('', '', false) . "'");
} ?>
<?php link_pages('<p><strong>'.__('Pages:','k2_domain').'</strong> ', '</p>', __('number','k2_domain')); ?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
</div>
<?php /* End Asides Segregation Code */ }
} /* End The Loop */ ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Vorherige Einträge') ?></div>
<div class="alignright"><?php previous_posts_link('Nächste Einträge »') ?></div>
</div>
</div></div>
<?php /* Insert Paged Navigation */ if (!is_single() && get_option('k2rollingarchives') != 1) { include (TEMPLATEPATH.'/navigation.php'); } ?>
<?php /* If there is nothing to loop */ } else { $notfound = '1'; /* So we can tell the sidebar what to do */ ?>
<div class="center">
<h2><?php _e('Nicht gefunden!','k2_domain'); ?></h2>
</div>
<div class="item">
<div class="itemtext">
<p><?php _e('Ohhh Nein! Deine Suche hat leider zu keinem Ergebnis gefürt.','k2_domain'); ?></p>
</div>
</div>
<?php /* End Loop Init */ } ?>
Alles anzeigen