minor changes

git-svn-id: file:///svn/phpbb/trunk@2759 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-07-27 00:16:55 +00:00
parent b598c4d7c9
commit dd700e5064

View file

@ -118,7 +118,7 @@ if ( $mode != '' )
<form method="post" action="<?php echo "admin_ranks.$phpEx$SID"; ?>"><table class="bg" cellspacing="1" cellpadding="4" border="0" align="center"> <form method="post" action="<?php echo "admin_ranks.$phpEx$SID"; ?>"><table class="bg" cellspacing="1" cellpadding="4" border="0" align="center">
<tr> <tr>
<th colspan="2"><?php echo $lang['Rank_title']; ?></th> <th colspan="2"><?php echo $lang['Ranks']; ?></th>
</tr> </tr>
<tr> <tr>
<td class="row1" width="40%"><?php echo $lang['Rank_title']; ?>: </td> <td class="row1" width="40%"><?php echo $lang['Rank_title']; ?>: </td>
@ -165,7 +165,6 @@ if ( $mode != '' )
if ( $special_rank == 1 ) if ( $special_rank == 1 )
{ {
$max_posts = -1;
$min_posts = -1; $min_posts = -1;
} }
@ -174,7 +173,7 @@ if ( $mode != '' )
// //
if ( $rank_image != '' ) if ( $rank_image != '' )
{ {
if ( !preg_match('/(\.gif|\.png|\.jpg)$/is', $rank_image)) if ( !preg_match('/(\.gif|\.png|\.jpg|\.jpeg)$/is', $rank_image))
{ {
$rank_image = ''; $rank_image = '';
} }