mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
minor changes
git-svn-id: file:///svn/phpbb/trunk@2759 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b598c4d7c9
commit
dd700e5064
1 changed files with 3 additions and 4 deletions
|
@ -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">
|
||||
<tr>
|
||||
<th colspan="2"><?php echo $lang['Rank_title']; ?></th>
|
||||
<th colspan="2"><?php echo $lang['Ranks']; ?></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1" width="40%"><?php echo $lang['Rank_title']; ?>: </td>
|
||||
|
@ -165,7 +165,6 @@ if ( $mode != '' )
|
|||
|
||||
if ( $special_rank == 1 )
|
||||
{
|
||||
$max_posts = -1;
|
||||
$min_posts = -1;
|
||||
}
|
||||
|
||||
|
@ -174,7 +173,7 @@ if ( $mode != '' )
|
|||
//
|
||||
if ( $rank_image != '' )
|
||||
{
|
||||
if ( !preg_match('/(\.gif|\.png|\.jpg)$/is', $rank_image))
|
||||
if ( !preg_match('/(\.gif|\.png|\.jpg|\.jpeg)$/is', $rank_image))
|
||||
{
|
||||
$rank_image = '';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue