Anonym statt IP anzeigen
This commit is contained in:
BIN
resources/images/default_s.gif
Normal file
BIN
resources/images/default_s.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 388 B |
@@ -102,8 +102,12 @@ function getcommentsAll( $input, $args, $parser ) {
|
|||||||
'" title="' . $title->getText() . '" rel="nofollow">' .
|
'" title="' . $title->getText() . '" rel="nofollow">' .
|
||||||
$commentsAllTemp['username'] . '</a>';
|
$commentsAllTemp['username'] . '</a>';
|
||||||
//avatar = new wAvatar( $commentsAllTemp['userid'], 's' );
|
//avatar = new wAvatar( $commentsAllTemp['userid'], 's' );
|
||||||
$commentIcon = 'extensions/Comments/images/default_s.gif';
|
$commentIcon = 'extensions/Comments/resources/images/default_s.gif';
|
||||||
|
|
||||||
|
if ( filter_var($commentPoster_Display, FILTER_VALIDATE_IP) !== false ){
|
||||||
|
// Wert ist eine IP-Adresse
|
||||||
|
$commentPoster = "Anonym";
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
$commentPoster_Display = wfMsg( 'comment-anon-name' );
|
$commentPoster_Display = wfMsg( 'comment-anon-name' );
|
||||||
$commentPoster = wfMsg( 'comment-anon-name' );
|
$commentPoster = wfMsg( 'comment-anon-name' );
|
||||||
|
|||||||
Reference in New Issue
Block a user