Zurück   WordPress Deutschland Forum > Support > Konfiguration

Antwort
 
Themen-Optionen Ansicht
Alt 19.02.2006, 21:25   #1 (permalink)
PostRank: 0
 
Registriert seit: 18.02.2006
Beiträge: 4
Ausgabe der Kommentare in GROßSCHRIFT

hallo, habe folgendes problem: jeder kommentar wird auf der seite in GROßSCHRIFT ausgegeben, code:

Code:
<?php // Do not delete these lines
 if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
  die ('Please do not load this page directly. Thanks!');
        if (!empty($post->post_password)) { // if there's a password
            if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
    ?>
    
    <p class="nocomments">This post is password protected. Enter the password to view comments.<p>
    
    <?php
    return;
            }
        }
  /* This variable is for alternating comment background */
  $oddcomment = 'alt';
?>
<!-- You can start editing here. -->
<?php if ($comments) : ?>
 <ol id="comments">
 <?php foreach ($comments as $comment) : ?>
  <li id="comment-<?php comment_ID() ?>">
   <cite>
    <span class="author"><?php comment_author_link() ?></span>
    <span class="date"><?php comment_date('n.j.y') ?> / <?php comment_date('ga') ?></span>
   </cite><font color="#000000">
   <div class="content">
    <?php if ($comment->comment_approved == '0') : ?>
    <em>Your comment is awaiting moderation.</em>
    <?php endif; ?>
    <?php comment_text() ?>
   </div>
   <div class="clear"></div></font><br>
  </li>

 <?php /* Changes every other comment to a different class */ 
  if ('alt' == $oddcomment) $oddcomment = '';
  else $oddcomment = 'alt';
 ?>
 <?php endforeach; /* end for each comment */ ?>
 </ol>
 <?php else : // this is displayed if there are no comments so far ?>
  <?php if ('open' == $post->comment_status) : ?> 
  <!-- If comments are open, but there are no comments. -->
  
  <?php else : // comments are closed ?>
  <!-- If comments are closed. -->
  <p class="nocomments"></p>
  
 <?php endif; ?>
<?php endif; ?>
<?php if ('open' == $post->comment_status) : ?>
  <div id="comment-form">
    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>
    <?php else : ?>
    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    <?php if ( $user_ID ) : ?>
    <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>, <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">logout &raquo;</a></p>
    <?php else : ?>
    
    <table border="0" width="100%" cellspacing="1">
 <tr>
  <td width="60"><label class="text">Name:<?php if ($req) echo " (required)"; ?></label><br /></td>
  <td><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" class="textfield" tabindex="0" /></td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="1">
 <tr>
  <td width="60"><label class="text">eMail:<?php if ($req) echo " (required)"; ?></label><br /></td>
  <td><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" class="textfield" tabindex="2" /></td>
 </tr>
</table>
<table border="0" width="100%" cellspacing="1">
 <tr>
  <td width="60"><label class="text">Website:</label><br /></td>
  <td><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" class="textfield" tabindex="3" /></td>
 </tr>
</table>
    <?php endif; ?>
    
    <textarea name="comment" id="comment" class="commentbox" rows="5" tabindex="10"></textarea>
    <div class="formactions">
     <span style="visibility:hidden"></span>
<br>
     <input type="submit" name="submit" tabindex="55" class="submit" value="Add your comment" />
    </div>
    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    <?php do_action('comment_form', $post->ID); ?>
    </form>
   </div>
<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>
weiß absolut nicht weiter, danke für eure mithilfe.
PRESSCUT|ORG ist offline   Mit Zitat antworten
Alt 19.02.2006, 21:43   #2 (permalink)
WPD-Team
 
Benutzerbild von jottlieb
 
Registriert seit: 20.08.2005
Ort: Berlin
Beiträge: 11.003
Der Übeltäter ist in deiner style.css, Zeile 273:
text-transform: uppercase;
__________________
Wordpress FAQ (Häufig gestellte Fragen) | Themepool
"Eine gut gestellte Frage ist schon halb beantwortet."
jottlieb ist offline   Mit Zitat antworten
Alt 19.02.2006, 21:54   #3 (permalink)
PostRank: 0
 
Registriert seit: 18.02.2006
Beiträge: 4
astreine ferndialyse, sauber - danke!
PRESSCUT|ORG ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist aus.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:55 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 | Impressum | Ein Inpsyde.com Projekt