Hi,
habe leider einen Fehler mit meinem Theme: Deskspace 1.5 unter Wordpress 3.1
Es wird der Fehler:
Code
[B]Parse error[/B]: syntax error, unexpected $end in [B]/users/hazelnut/www/wp/wp-content/themes/deskspace1.5/lib/desk_functions.php[/B] on line [B]80[/B]
angezeigt.
Habe auch schon versucht den Fehler selber zu fixen, das funktionierte aber nicht. Deswegen wende ich mich jetzt an euch.
Kann mir da einer von euch eventuell helfen?
Hier ist der betreffende Code:
PHP
[LEFT]<?
// Custom comment styling
function confederate_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php } comment_ID() ?>">
<div id="comment-<?php comment_ID(); ?>">
[COLOR=#000080]<div class=[COLOR=#0000ff]"commentblock"[/COLOR]>[/COLOR]
[COLOR=#000080]<div class=[COLOR=#0000ff]"gravatar"[/COLOR]>[/COLOR]
<?php if (get_comment_author_url()) { ?>
<a href="<?php comment_author_url(); ?>" title="Visit <?php comment_author_url(); ?>"><?php echo get_avatar($comment,$size='48',$default='' ); ?>[COLOR=#008000]</a>[/COLOR]
<?php } else { echo get_avatar($comment,$size='48',$default='' ); } ?>
[COLOR=#000080]</div>[/COLOR]
[COLOR=#000080]<div class=[COLOR=#0000ff]"comment-author vcard"[/COLOR]>[/COLOR]
<?php [URL="http://www.php.net/printf"]printf[/URL](__('<strong class="fn">%s</strong>'), get_comment_author_link()) ?>
[COLOR=#000080]</div>[/COLOR]
[COLOR=#000080]<div class=[COLOR=#0000ff]"comment-meta commentmetadata"[/COLOR]>[/COLOR]
<a href="<?php echo [URL="http://www.php.net/htmlspecialchars"]htmlspecialchars[/URL]( get_comment_link( $comment->comment_ID ) ) ?>"><?php [URL="http://www.php.net/printf"]printf[/URL](__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?>[COLOR=#008000]</a>[/COLOR] <?php edit_comment_link(__('(Edit)'),' ','') ?>
[COLOR=#000080]</div>[/COLOR]
<?php if ($comment->comment_approved == '0') : ?>
[COLOR=#000080]<em>[/COLOR]<?php _e('Your comment is awaiting moderation.') ?>[COLOR=#000080]</em>[/COLOR]
[COLOR=#000080]<br />[/COLOR]
<?php endif; ?>
<?php comment_text() ?>
[COLOR=#000080]<div class=[COLOR=#0000ff]"reply"[/COLOR]>[/COLOR]
<?php comment_reply_link([URL="http://www.php.net/array_merge"]array_merge[/URL]( $args, [URL="http://www.php.net/array"]array[/URL]('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
[COLOR=#000080]</div>[/COLOR]
[COLOR=#000080]</div>[/COLOR]
[COLOR=#000080]</div>[/COLOR]
<?php
function confederate_trackback($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<div id="comment-<?php comment_ID(); ?>">
[COLOR=#000080]<div class=[COLOR=#0000ff]"grid_7 omega"[/COLOR]>[/COLOR]
[COLOR=#000080]<div class=[COLOR=#0000ff]"comment-author vcard"[/COLOR]>[/COLOR]
<?php [URL="http://www.php.net/printf"]printf[/URL](__('<span class="fn">%s</span>'), get_comment_author_link()) ?>
[COLOR=#000080]</div>[/COLOR]
[COLOR=#000080]<div class=[COLOR=#0000ff]"comment-meta commentmetadata"[/COLOR]>[/COLOR]
<a href="<?php echo [URL="http://www.php.net/htmlspecialchars"]htmlspecialchars[/URL]( get_comment_link( $comment->comment_ID ) ) ?>"><?php [URL="http://www.php.net/printf"]printf[/URL](__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?>[COLOR=#008000]</a>[/COLOR] <?php edit_comment_link(__('(Edit)'),' ','') ?>
[COLOR=#000080]</div>[/COLOR]
[COLOR=#000080]</div>[/COLOR]
[COLOR=#000080]</div>[/COLOR]
<?php
}
?>[/LEFT]
Alles anzeigen