aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_modify.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/cat_modify.php')
-rw-r--r--admin/cat_modify.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php
index 8291e9030..0d82c13d4 100644
--- a/admin/cat_modify.php
+++ b/admin/cat_modify.php
@@ -171,11 +171,13 @@ $template->assign_vars(array(
'L_SUBMIT'=>$lang['submit'],
'L_SET_RANDOM_REPRESENTANT'=>$lang['cat_representant'],
- 'U_JUMPTO'=>PHPWG_ROOT_PATH.'category.php?cat='.$category['id'],
- 'U_CHILDREN'=>$cat_list_url.'&parent_id='.$category['id'],
+ 'U_JUMPTO'=>
+ add_session_id(PHPWG_ROOT_PATH.'category.php?cat='.$category['id']),
+ 'U_CHILDREN'=>
+ add_session_id($cat_list_url.'&parent_id='.$category['id']),
'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=cat_modify',
- 'F_ACTION'=>$form_action
+ 'F_ACTION'=>add_session_id($form_action)
));
@@ -184,7 +186,7 @@ if ('private' == $category['status'])
$template->assign_block_vars(
'permissions',
array(
- 'URL'=>$base_url.'cat_perm&cat='.$category['id']
+ 'URL'=>add_session_id($base_url.'cat_perm&cat='.$category['id'])
)
);
}
@@ -195,7 +197,7 @@ if ($category['nb_images'] > 0)
$template->assign_block_vars(
'elements',
array(
- 'URL'=>$base_url.'element_set&cat='.$category['id']
+ 'URL'=>add_session_id($base_url.'element_set&cat='.$category['id'])
)
);
}
@@ -265,7 +267,7 @@ else
$template->assign_block_vars(
'delete',
array(
- 'URL'=>$self_url.'&delete='.$category['id']
+ 'URL'=>add_session_id($self_url.'&delete='.$category['id'])
)
);