Ejemplo n.º 1
0
         echo vBCms_ContentManager::showCategories(false, $per_page, $vbulletin->GPC['page']);
     }
     print_cp_footer();
     break;
 case 'delete_category':
 case 'save_category':
 case 'new_category':
 case 'save_categories':
 case 'move_category':
 case 'saveonecategorystate':
     $vbulletin->input->clean_array_gpc('r', array('categoryid' => TYPE_INT, 'sectionid' => TYPE_INT, 'target_categoryid' => TYPE_INT, 'title' => TYPE_STR, 'page' => TYPE_INT));
     if ($vbulletin->GPC_exists['sectionid'] or $vbulletin->GPC_exists['categoryid']) {
         echo vBCms_ContentManager::updateCategories();
     }
     print_cp_header($vbphrase['category_manager']);
     echo vBCms_ContentManager::showCategories($vbulletin->GPC['sectionid'], $per_page, $vbulletin->GPC['page']);
     print_cp_footer();
     break;
 case 'move_node':
 case 'publish_nodes':
 case 'unpublish_nodes':
 case 'save_nodes':
 case 'delete_nodes':
 case 'set_order':
 case 'new':
     echo vBCms_ContentManager::updateSections();
     print_cp_header($vbphrase['content_manager']);
     echo vBCms_ContentManager::showNodes($per_page);
     print_cp_footer();
     break;
 case 'delete_section':