see changelog entry

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4096 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2003-06-07 17:52:31 +00:00
parent 722529044d
commit df041a6fc2
3 changed files with 6 additions and 1 deletions

View file

@ -116,6 +116,7 @@ p,ul,td {font-size:10pt;}
<li>Prevent registration if user is logged in or user trying to register a second time</li> <li>Prevent registration if user is logged in or user trying to register a second time</li>
<li>Prevent usage of ALT-255 in Usernames</li> <li>Prevent usage of ALT-255 in Usernames</li>
<li>Fixed IP retrieval for users with two proxy setups while the first proxy is hiding the clients IP Address - <b>cosmos</b></li> <li>Fixed IP retrieval for users with two proxy setups while the first proxy is hiding the clients IP Address - <b>cosmos</b></li>
<li>If user votes in poll without selecting an option, he will be redirected to the topic.</li>
</ul> </ul>
<a name="203"></a><h3 class="h3">1.ii. Changes since 2.0.3</h3> <a name="203"></a><h3 class="h3">1.ii. Changes since 2.0.3</h3>

View file

@ -512,6 +512,10 @@ else if ( $mode == 'vote' )
$message .= '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id") . '">', '</a>'); $message .= '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id") . '">', '</a>');
message_die(GENERAL_MESSAGE, $message); message_die(GENERAL_MESSAGE, $message);
} }
else
{
redirect(append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id", true));
}
} }
else if ( $submit || $confirm ) else if ( $submit || $confirm )
{ {

View file

@ -792,7 +792,7 @@ if ( !empty($forum_topic_data['topic_vote']) )
$vote_title = preg_replace($orig_word, $replacement_word, $vote_title); $vote_title = preg_replace($orig_word, $replacement_word, $vote_title);
} }
$s_hidden_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; $s_hidden_fields .= '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />';
$template->assign_vars(array( $template->assign_vars(array(
'POLL_QUESTION' => $vote_title, 'POLL_QUESTION' => $vote_title,