saveCategory(); break; case "remove": removeCategories($option, $bid); break; case "publish": publishCategories("com_booklibrary", $id, $bid, 1); break; case "unpublish": publishCategories("com_booklibrary", $id, $bid, 0); break; case "orderup": orderCategory($bid[0], -1); break; case "orderdown": orderCategory($bid[0], 1); break; case "accesspublic": accessCategory($bid[0], 0); break; case "accessregistered": accessCategory($bid[0], 1); break; case "accessspecial": accessCategory($bid[0], 2); break; case "show": default: showCategories(); } } elseif (isset($section) && $section == 'language_manager') {
removeCategories($section, $cid); break; case 'publish': publishCategories($section, $cid, 1); break; case 'unpublish': publishCategories($section, $cid, 0); break; case 'cancel': cancelCategory(); break; case 'orderup': orderCategory($cid[0], -1); break; case 'orderdown': orderCategory($cid[0], 1); break; case 'accesspublic': accessMenu($cid[0], 0, $section); break; case 'accessregistered': accessMenu($cid[0], 1, $section); break; case 'accessspecial': accessMenu($cid[0], 2, $section); break; case 'saveorder': saveOrder($cid, $section); break; default: showCategories($section, $option);
removeCategories($section, $cid); break; case 'publish': publishCategories($section, $id, $cid, 1); break; case 'unpublish': publishCategories($section, $id, $cid, 0); break; case 'cancel': cancelCategory(); break; case 'orderup': orderCategory(intval($cid[0]), -1); break; case 'orderdown': orderCategory(intval($cid[0]), 1); break; case 'accesspublic': accessMenu(intval($cid[0]), 0, $section); break; case 'accessregistered': accessMenu(intval($cid[0]), 1, $section); break; case 'accessspecial': accessMenu(intval($cid[0]), 2, $section); break; case 'saveorder': saveOrder($cid, $section); break; default: showCategories($section, $option);