if ('functions.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('<h1 style="color:red;">Bu sayfayı direk yüklemeyin.</h1>');
// Recent Comments
//
function mw_recent_comments(
$no_comments = 10,
$show_pass_post = false,
$title_length = 100, // shortens the title if it is longer than this number of chars
$author_length = 30, // shortens the author if it is longer than this number of chars
$wordwrap_length = 50, // adds a blank if word is longer than this number of chars
$type = 'all', // Comments, trackbacks, or both?
$format = '<li>%date%: <a href="%permalink%" title="%title%">%title%</a> (via %author_full%)</li>',
$date_format = 'd.m.y, H:i',
$none_found = '<li>Keine Kommentare vorhanden.</li>', // None found
$type_text_pingback = 'Pingback via',
$type_text_trackback = 'Trackback via',
$type_text_comment = 'yazan'
) {
|