Ejemplo n.º 1
0
     }
     $AVE_Template->assign('content', $AVE_Template->fetch('rubs/multi.tpl'));
     break;
 case 'edit':
     if (check_permission_acp('rubric_edit')) {
         switch ($_REQUEST['sub']) {
             case '':
                 switch ($_REQUEST['submit']) {
                     case 'saveperms':
                         $AVE_Rubric->rubricPermissionSave((int) $_REQUEST['Id']);
                         break;
                     case 'save':
                         $AVE_Rubric->rubricFieldSave((int) $_REQUEST['Id']);
                         break;
                     case 'linked_rubric':
                         $AVE_Rubric->rubricShow(1);
                         break;
                     case 'code':
                         $AVE_Rubric->rubricCode((int) $_REQUEST['Id']);
                         break;
                     case 'description':
                         $AVE_Rubric->rubricDesc((int) $_REQUEST['Id']);
                         break;
                     case 'next':
                         header('Location:index.php?do=rubs&action=template&Id=' . $_REQUEST['Id'] . '&cp=' . SESSION);
                         exit;
                         //							break;
                     //							break;
                     case 'newfield':
                         $AVE_Rubric->rubricFieldNew((int) $_REQUEST['Id']);
                         break;