Index: /trunk/admin/cat_modify.php =================================================================== --- /trunk/admin/cat_modify.php (revision 5334) +++ /trunk/admin/cat_modify.php (revision 5335) @@ -27,5 +27,4 @@ } -include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); @@ -290,5 +289,5 @@ $template->assign( array( - 'U_DELETE' => $self_url.'&delete='.$category['id'], + 'U_DELETE' => $self_url.'&delete='.$category['id'].'&pwg_token='.get_pwg_token(), ) ); @@ -345,10 +344,10 @@ 'DIRECTION' => array('ASC'), ); - + if ( isset($matches[1][$i]) ) { $tpl_image_order_select['FIELD'] = array($matches[1][$i]); } - + if (isset($matches[2][$i]) and strcasecmp($matches[2][$i],'DESC')==0) { @@ -451,5 +450,5 @@ set_make_full_url(); - /* TODO: if $category['representative_picture_id'] + /* TODO: if $category['representative_picture_id'] is empty find child representative_picture_id */ if (!empty($category['representative_picture_id'])) @@ -475,5 +474,5 @@ } } - + if (!isset($img_url)) { @@ -513,5 +512,5 @@ ;'; list($group_name) = pwg_db_fetch_row(pwg_query($query)); - + array_push( $page['infos'], Index: /trunk/admin/themes/default/template/cat_modify.tpl =================================================================== --- /trunk/admin/themes/default/template/cat_modify.tpl (revision 5334) +++ /trunk/admin/themes/default/template/cat_modify.tpl (revision 5335) @@ -22,5 +22,5 @@ {/if} {if isset($U_DELETE) } -