git-svn-id: file:///svn/phpbb/trunk@1621 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-12-17 10:40:23 +00:00
parent 4a6c692484
commit 19ad462c32

View file

@ -97,7 +97,8 @@ if( isset($HTTP_POST_VARS['doprune']) )
);
$i = 0;
@reset($forum_rows);
reset($forum_rows);
while(list(, $forum_data) = each ($forum_rows))
{
$p_result = prune($forum_data['forum_id'], $prunedate);
@ -117,6 +118,7 @@ if( isset($HTTP_POST_VARS['doprune']) )
);
}
$template->assign_vars(array(
"L_FORUM" => $lang['Forum'],
"L_TOPICS_PRUNED" => $lang['Topics_pruned'],
@ -162,7 +164,8 @@ else
}
else
{
$forum_id = intval($HTTP_POST_VARS[POST_FORUM_URL]);
$forum_id = $HTTP_POST_VARS[POST_FORUM_URL];
//
// Output the form to retrieve Prune information.