aboutsummaryrefslogtreecommitdiffstats
path: root/admin/intro.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/intro.php')
-rw-r--r--admin/intro.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/admin/intro.php b/admin/intro.php
index 45e34a439..d7beec762 100644
--- a/admin/intro.php
+++ b/admin/intro.php
@@ -177,8 +177,10 @@ $template->assign_vars(
'DB_USERS' => sprintf(l10n('%d users'), $nb_users),
'DB_GROUPS' => sprintf(l10n('%d groups'), $nb_groups),
'DB_COMMENTS' => sprintf(l10n('%d comments'), $nb_comments),
- 'U_CHECK_UPGRADE' => PHPWG_ROOT_PATH.'admin.php?action=check_upgrade',
- 'U_PHPINFO' => PHPWG_ROOT_PATH.'admin.php?action=phpinfo'
+ 'U_CHECK_UPGRADE' =>
+ add_session_id(PHPWG_ROOT_PATH.'admin.php?action=check_upgrade'),
+ 'U_PHPINFO' =>
+ add_session_id(PHPWG_ROOT_PATH.'admin.php?action=phpinfo')
)
);
@@ -215,7 +217,7 @@ if ($nb_waiting > 0)
$template->assign_block_vars(
'waiting',
array(
- 'URL' => PHPWG_ROOT_PATH.'admin.php?page=waiting',
+ 'URL' => add_session_id(PHPWG_ROOT_PATH.'admin.php?page=waiting'),
'INFO' => sprintf(l10n('%d waiting for validation'), $nb_waiting)
)
);
@@ -234,7 +236,7 @@ if ($nb_comments > 0)
$template->assign_block_vars(
'unvalidated',
array(
- 'URL' => PHPWG_ROOT_PATH.'admin.php?page=comments',
+ 'URL' => add_session_id(PHPWG_ROOT_PATH.'admin.php?page=comments'),
'INFO' => sprintf(l10n('%d waiting for validation'), $nb_comments)
)
);