mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fix various missing /> in input fields
git-svn-id: file:///svn/phpbb/trunk@2129 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
88edd41f5d
commit
28fa6e80a9
1 changed files with 7 additions and 7 deletions
|
@ -351,19 +351,19 @@ switch($mode)
|
||||||
message_die(GENERAL_MESSAGE, $lang['None_selected'], "");
|
message_die(GENERAL_MESSAGE, $lang['None_selected'], "");
|
||||||
}
|
}
|
||||||
|
|
||||||
$hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '"><input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '">';
|
$hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '" /><input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '" />';
|
||||||
|
|
||||||
if( isset($HTTP_POST_VARS['topic_id_list']) )
|
if( isset($HTTP_POST_VARS['topic_id_list']) )
|
||||||
{
|
{
|
||||||
$topics = $HTTP_POST_VARS['topic_id_list'];
|
$topics = $HTTP_POST_VARS['topic_id_list'];
|
||||||
for($i = 0; $i < count($topics); $i++)
|
for($i = 0; $i < count($topics); $i++)
|
||||||
{
|
{
|
||||||
$hidden_fields .= '<input type="hidden" name="topic_id_list[]" value="' . $topics[$i] . '">';
|
$hidden_fields .= '<input type="hidden" name="topic_id_list[]" value="' . $topics[$i] . '" />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$hidden_fields .= '<input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '">';
|
$hidden_fields .= '<input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '" />';
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -496,7 +496,7 @@ switch($mode)
|
||||||
message_die(GENERAL_MESSAGE, $lang['None_selected']);
|
message_die(GENERAL_MESSAGE, $lang['None_selected']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '"><input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '">';
|
$hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '" /><input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '" />';
|
||||||
|
|
||||||
if( isset($HTTP_POST_VARS['topic_id_list']) )
|
if( isset($HTTP_POST_VARS['topic_id_list']) )
|
||||||
{
|
{
|
||||||
|
@ -504,12 +504,12 @@ switch($mode)
|
||||||
|
|
||||||
for($i = 0; $i < count($topics); $i++)
|
for($i = 0; $i < count($topics); $i++)
|
||||||
{
|
{
|
||||||
$hidden_fields .= '<input type="hidden" name="topic_id_list[]" value="' . intval($topics[$i]) . '">';
|
$hidden_fields .= '<input type="hidden" name="topic_id_list[]" value="' . intval($topics[$i]) . '" />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$hidden_fields .= '<input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '">';
|
$hidden_fields .= '<input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '" /
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -721,7 +721,7 @@ switch($mode)
|
||||||
message_die(GENERAL_ERROR, "Could not get topic/post information", "", __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, "Could not get topic/post information", "", __LINE__, __FILE__, $sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
$s_hidden_fields = '<input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '"><input type="hidden" name="mode" value="split">';
|
$s_hidden_fields = '<input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '" /><input type="hidden" name="mode" value="split" />';
|
||||||
|
|
||||||
if( ( $total_posts = $db->sql_numrows($result) ) > 0 )
|
if( ( $total_posts = $db->sql_numrows($result) ) > 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue