|
From: Paul S. O. <ps...@us...> - 2001-12-24 13:54:37
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv19988/admin
Modified Files:
admin_forum_prune.php
Log Message:
Minor updates, changed ALL to -1 other small issues.
Index: admin_forum_prune.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_forum_prune.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** admin_forum_prune.php 2001/12/17 10:40:23 1.13
--- admin_forum_prune.php 2001/12/24 13:54:34 1.14
***************
*** 87,91 ****
if( isset($HTTP_POST_VARS['doprune']) )
{
! $prunedays = ( isset($HTTP_POST_VARS['prunedays']) ) ? $HTTP_POST_VARS['prunedays'] : 0;
// Convert days to seconds for timestamp functions...
--- 87,91 ----
if( isset($HTTP_POST_VARS['doprune']) )
{
! $prunedays = ( isset($HTTP_POST_VARS['prunedays']) ) ? intval($HTTP_POST_VARS['prunedays']) : 0;
// Convert days to seconds for timestamp functions...
***************
*** 143,147 ****
$select_list = "<select name=\"" . POST_FORUM_URL . "\">\n";
! $select_list .= "<option value=\"ALL\">" . $lang['All_Forums'] . "</option>\n";
for($i = 0; $i < count($forum_rows); $i++)
--- 143,147 ----
$select_list = "<select name=\"" . POST_FORUM_URL . "\">\n";
! $select_list .= "<option value=\"-1\">" . $lang['All_Forums'] . "</option>\n";
for($i = 0; $i < count($forum_rows); $i++)
***************
*** 165,171 ****
else
{
! $forum_id = $HTTP_POST_VARS[POST_FORUM_URL];
-
//
// Output the form to retrieve Prune information.
--- 165,170 ----
else
{
! $forum_id = intval($HTTP_POST_VARS[POST_FORUM_URL]);
//
// Output the form to retrieve Prune information.
***************
*** 175,179 ****
);
! $forum_name = ( $forum_id == "ALL" ) ? $lang['All_Forums'] : $forum_rows[0]['forum_name'];
$prune_data = $lang['Prune_topics_not_posted'] . " ";
--- 174,178 ----
);
! $forum_name = ( $forum_id == -1 ) ? $lang['All_Forums'] : $forum_rows[0]['forum_name'];
$prune_data = $lang['Prune_topics_not_posted'] . " ";
***************
*** 205,207 ****
include('page_footer_admin.'.$phpEx);
! ?>
--- 204,206 ----
include('page_footer_admin.'.$phpEx);
! ?>
\ No newline at end of file
|