diff options
author | gweltas <gweltas@piwigo.org> | 2004-11-26 16:10:17 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-11-26 16:10:17 +0000 |
commit | 2e6ace2df02bbd1499c351e32d1d10d68a4bb4ac (patch) | |
tree | 649e7658b9dc61bf5cf02cc058fcf2590bee75b2 /admin/cat_modify.php | |
parent | 8f97f21eb2025c563cf7d8a56adb0193f3dc5eab (diff) |
New template for group management
French translation for synchronization
Minor update of the css file
git-svn-id: http://piwigo.org/svn/trunk@623 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/cat_modify.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php index ca133d79c..98ea0b287 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -170,40 +170,6 @@ if ( $category['site_id'] != 1 ) $template->assign_block_vars('storage' ,array()); } -/* -// can the parent category be changed ? (is the category virtual ?) -if ( $row['dir'] == '' ) -{ - $vtp->addSession( $sub, 'parent' ); - // We only show a List Of Values if the number of categories is less than - // $conf['max_LOV_categories'] - $query = 'SELECT COUNT(id) AS nb_total_categories'; - $query.= ' FROM '.CATEGORIES_TABLE; - $query.= ';'; - $countrow = mysql_fetch_array( pwg_query( $query ) ); - if ( $countrow['nb_total_categories'] < $conf['max_LOV_categories'] ) - { - $vtp->addSession( $sub, 'associate_LOV' ); - $vtp->addSession( $sub, 'associate_cat' ); - $vtp->setVar( $sub, 'associate_cat.value', '-1' ); - $vtp->setVar( $sub, 'associate_cat.content', '' ); - $vtp->closeSession( $sub, 'associate_cat' ); - $page['plain_structure'] = get_plain_structure( true ); - $structure = create_structure( '', array() ); - display_categories( $structure, ' ', $row['id_uppercat'],$row['id'] ); - $vtp->closeSession( $sub, 'associate_LOV' ); - } - // else, we only display a small text field, we suppose the administrator - // knows the id of its category - else - { - $vtp->addSession( $sub, 'associate_text' ); - $vtp->setVar( $sub, 'associate_text.value', $row['id_uppercat'] ); - $vtp->closeSession( $sub, 'associate_text' ); - } - $vtp->closeSession( $sub, 'parent' ); -} -*/ //----------------------------------------------------------- sending html code $template->assign_var_from_handle('ADMIN_CONTENT', 'categories'); ?> |