Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    Warning: Invalid argument supplied for foreach()

    Ciao come da titolo ricevo un errore durante l' esecuzione del codice seguente:
    Codice PHP:
        foreach ($JLMS_LANGUAGE as $jl_key => $jl_value) {
            if (!
    defined($jl_key)) {
                if (
    $do_utf && $utf_method) {
                    if (
    $utf_method == 'utf8_encode') {
                        
    $jl_value utf8_encode($jl_value);
                    } elseif (
    $utf_method == 'cp1251_manual') {
                        
    $jl_value JLMS_cp1251_to_utf8($jl_value);
                    }
                }
                
    define($jl_key$jl_value);
            }
        } 
    che si basa sul seguente codice:
    Codice PHP:
        JLMS_processLanguage$JLMS_LANGUAGEfalse"backend" );
        
    $option "com_joomla_lms";
        switch ( 
    $task )
        {
        case 
    "lms_forums" :
            require_once( 
    _JOOMLMS_ADMIN_HOME."/files/admin.forums.php" );
            break;
        case 
    "lms_roles" :
            require_once( 
    _JOOMLMS_ADMIN_HOME."/files/admin.roles.php" );
            break;
        case 
    "lms_users" :
            require_once( 
    _JOOMLMS_ADMIN_HOME."/files/admin.users.php" );
            break;
        case 
    "group_managers" :
            require_once( 
    _JOOMLMS_ADMIN_HOME."/files/admin.group_managers.php" );
            break;
        case 
    "lms_".__FILE__."tenance" :
            require_once( 
    _JOOMLMS_ADMIN_HOME."/files/admin.".__FILE__."tenance.php" );
            break;
        case 
    "dev_config" :
            require_once( 
    _JOOMLMS_ADMIN_HOME."/files/admin.dev_config.php" );
            break;
        case 
    "page_tips" :
            
    JLMS_PageTipsList$option );
            break;
        case 
    "edit_ptip" :
            
    JLMS_editPageTipintval$cid[0] ), $option );
            break;
        case 
    "editA_ptip" :
            
    JLMS_editPageTip$id$option );
            break;
        case 
    "new_ptip" :
            
    JLMS_editPageTip0$option );
            break;
        case 
    "cancel_ptip" :
            
    mosRedirect"index.php?option={$option}&task=page_tips" );
            break;
        case 
    "apply_ptip" :
        case 
    "save_ptip" :
            
    JLMS_savePageTip$option$task );
            break;
        case 
    "del_ptip" :
            
    JLMS_delPageTip$cid[0], $option );
            break;
        case 
    "roles" :
            
    JLMS_RolesList$option );
            break;
        case 
    "edit_role" :
            
    JLMS_editRoleintval$cid[0] ), $option );
            break;
        case 
    "editA_role" :
            
    JLMS_editRole$id$option );
            break;
        case 
    "new_role" :
            
    JLMS_editRole0$option );
            break;
        case 
    "cancel_role" :
            
    mosRedirect"index.php?option={$option}&task=roles" );
            break;
        case 
    "apply_role" :
        case 
    "save_role" :
            
    JLMS_saveRole$option$task );
            break;
        case 
    "del_role" :
            
    JLMS_delRoleintval$cid[0] ), $option );
            break;
        case 
    "new_payment" :
            
    JLMS_CreateNewPayment$option );
            break;
        case 
    "save_newpayment" :
            
    JLMS_SaveNewPayment$option );
            break;
        case 
    "sales_report_pdf" :
        case 
    "sales_report" :
            
    JLMS_salesReport$option );
            break;
        case 
    "cancel_newpayment" :
            
    mosRedirect"index.php?option={$option}&task=payments" );
            break;
        case 
    "pays_list_pdf" :
        case 
    "payments" :
            
    JLMS_PaymentsList$option );
            break;
        case 
    "edit_payment" :
            
    JLMS_EditPaymentInfo$cid[0], $option );
            break;
        case 
    "editA_payment" :
            
    JLMS_EditPaymentInfo$id$option );
            break;
        case 
    "del_payments" :
            
    JLMS_removeFromPayments$option );
            break;
        case 
    "save_payment" :
            
    JLMS_savePaymentInfo$option );
            break;
        case 
    "cancel_payment" :
        case 
    "skip_change" :
            
    mosRedirect"index.php?option={$option}&task=payments" );
            break;
        case 
    "apply_change" :
            
    JLMS_changePaymentInfo_FOR_user$option$cid$id );
            break;
        case 
    "get_payment_invoice" :
            
    JLMS_getPaymentInvoice$id$option );
            break;
        case 
    "gen_payment_invoice" :
            
    JLMS_GenerateNewInvoice$id$option );
            break;
        case 
    "assign" :
            
    JLMS_assign0$option );
            break;
        case 
    "save_assign" :
            
    JLMS_saveAssign$option );
            break;
        case 
    "cancel_assign" :
            
    JLMS_cancelAssign$option );
            break;
        case 
    "subscriptions" :
            
    JLMS_ListSubscriptions$option );
            break;
        case 
    "subscription_save" :
            
    JLMS_saveSubscription$option );
            break;
        case 
    "subscription_apply" :
            
    JLMS_saveSubscription$optiontrue );
            break;
        case 
    "publish_subscription" :
            
    JLMS_changeSubscriptions$cid1$option );
            break;
        case 
    "delete_subscription" :
            
    JLMS_removeFromSubscriptions$option );
            break;
        case 
    "unpublish_subscription" :
            
    JLMS_changeSubscriptions$cid0$option );
            break;
        case 
    "edit_subscription" :
            
    JLMS_NewEditSubscription$cid[0], $option );
            break;
        case 
    "editA_subscription" :
            
    JLMS_NewEditSubscription$id$option );
            break;
        case 
    "new_subscription" :
            
    JLMS_NewEditSubscription$cid[0], $option );
            break;
        case 
    "renew" :
            
    JLMS_ReNewSubscription$cid[0], $option );
            break;
        case 
    "renew_apply" :
            
    JLMS_ReNewSubscriptionApply$cid$id$option );
            break;
        case 
    "cancel_sub" :
            
    cancelSubscription$option );
            break;
        case 
    "processorslist" :
            
    JLMS_showProcessorsList$option );
            break;
        case 
    "default_p" :
            
    changeProcessor$option$id );
            break;
        case 
    "defaulta_p" :
            
    changeProcessor$option$cid[0] );
            break;
        case 
    "publish_proc" :
            
    changeProc$cid1$option );
            break;
        case 
    "unpublish_proc" :
            
    changeProc$cid0$option );
            break;
        case 
    "edit_p" :
            
    editProcessorintval$cid[0] ), $option );
            break;
        case 
    "editA_p" :
            
    editProcessor$id$option );
            break;
        case 
    "save_p" :
        case 
    "apply_p" :
            
    saveProcessor$option$task );
            break;
        case 
    "cancel_p" :
            
    cancelProcessor$id );
            break;
        case 
    "plans" :
            
    JLMS_showPlans$option );
            break;
        case 
    "duplicate_plan" :
            
    JLMS_duplicatePlan$cid$option );
            break;
        case 
    "edit_plan" :
            
    JLMS_editPlanintval$cid[0] ), $option );
            break;
        case 
    "editA_plan" :
            
    JLMS_editPlan$id$option );
            break;
        case 
    "new_plan" :
            
    JLMS_editPlan"0"$option );
            break;
        case 
    "save_plan" :
            
    JLMS_savePlan$option );
            break;
        case 
    "delete_plan" :
            
    JLMS_removePlan$cid$option );
            break;
        case 
    "cancel_plan" :
            
    JLMS_cancelPlan( );
            break;
        case 
    "publish_plan" :
            
    JLMS_changePlan$cid1$option );
            break;
        case 
    "unpublish_plan" :
            
    JLMS_changePlan$cid0$option );
            break;
        case 
    "new_discount" :
            
    JLMS_editDiscount0$option );
            break;
        case 
    "edit_discount" :
            
    JLMS_editDiscountintval$cid[0] ), $option );
            break;
        case 
    "editA_discount" :
            
    JLMS_editDiscount$id$option );
            break;
        case 
    "delete_discount" :
            
    JLMS_deleteDiscount$cid$option );
            break;
        case 
    "enable_discount" :
            
    JLMS_changeDiscount$cid1$option );
            break;
        case 
    "disable_discount" :
            
    JLMS_changeDiscount$cid0$option );
            break;
        case 
    "save_discount" :
            
    JLMS_saveDiscount$option );
            break;
        case 
    "cancel_discount" :
            
    JLMS_cancelDiscount$option );
            break;
        case 
    "discounts" :
            
    JLMS_showDiscounts$option );
            break;
        case 
    "new_discount_coupon" :
            
    JLMS_editDiscountCoupon0$option );
            break;
        case 
    "edit_discount_coupon" :
            
    JLMS_editDiscountCouponintval$cid[0] ), $option );
            break;
        case 
    "editA_discount_coupon" :
            
    JLMS_editDiscountCoupon$id$option );
            break;
        case 
    "delete_discount_coupon" :
            
    JLMS_deleteDiscountCoupon$cid$option );
            break;
        case 
    "enable_discount_coupon" :
            
    JLMS_changeDiscountCoupon$cid1$option );
            break;
        case 
    "disable_discount_coupon" :
            
    JLMS_changeDiscountCoupon$cid0$option );
            break;
        case 
    "save_discount_coupon" :
            
    JLMS_saveDiscountCoupon$option );
            break;
        case 
    "cancel_discount_coupon" :
            
    JLMS_cancelDiscountCoupon$option );
            break;
        case 
    "discount_coupons" :
            
    JLMS_showDiscountCoupons$option );
            break;
        case 
    "discount_coupons_statistics" :
            
    JLMS_showDiscountCouponsStatistics$option );
            break;
        case 
    "config_subscriptions" :
            
    configSubscription$option );
            break;
        case 
    "save_subconf" :
            
    saveSubsConfig$option );
            break;
        case 
    "publish_c" :
            
    jlms_changeCountry$cid1$option );
            break;
        case 
    "unpublish_c" :
            
    jlms_changeCountry$cid0$option );
            break;
        case 
    "new_c" :
            
    jlms_editCountry"0"$option );
            break;
        case 
    "edit_c" :
            
    jlms_editCountryintval$cid[0] ), $option );
            break;
        case 
    "editA_c" :
            
    jlms_editCountry$id$option );
            break;
        case 
    "save_c" :
            
    jlms_saveCountry$option );
            break;
        case 
    "remove_c" :
            
    jlms_removeCountry$cid$option );
            break;
        case 
    "cancel_c" :
            
    jlms_cancelCountry( );
            break;
        case 
    "countrieslist" :
            
    jlms_showCountriesList$option );
            break;
        case 
    "save_default_tax" :
            
    jlms_saveDefaultTax$option );
            break;
        case 
    "users" :
            
    mosRedirect"index.php?option={$option}&task=lms_users" );
            break;
        case 
    "add_user" :
            
    JLMS_editUser0$option );
            break;
        case 
    "edit_user" :
            
    JLMS_editUserintval$cid[0] ), $option );
            break;
        case 
    "editA_user" :
            
    JLMS_editUser$id$option );
            break;
        case 
    "apply_user" :
        case 
    "save_user" :
            
    JLMS_saveUser$option );
            break;
        case 
    "cancel_user" :
            
    JLMS_cancelUser$option );
            break;
        case 
    "del_user" :
            
    JLMS_removeUser$cid$option );
            break;
        case 
    "csv_operations" :
            
    jlms_listOperation1$option );
            break;
        case 
    "csv_import" :
            
    jlms_listOperation0$option );
            break;
        case 
    "csv_export" :
            
    jlms_listOperation1$option );
            break;
        case 
    "csv_delete" :
            
    jlms_listOperation2$option );
            break;
        case 
    "csv_do_import" :
            
    jlms_csvImport$option );
            break;
        case 
    "csv_do_export" :
            
    jlms_csvExport$option );
            break;
        case 
    "csv_do_delete" :
            
    jlms_csvDelete$option );
            break;
        case 
    "csv_do_delete_yes" :
            
    jlms_csvDelete_yes$option );
            break;
        case 
    "csv_back_to" :
            
    jlms_csvBackTo$option );
            break;
        case 
    "classes" :
            
    JLMS_ListClasses$option );
            break;
        case 
    "add_class" :
            
    JLMS_editClass0$option );
            break;
        case 
    "edit_class" :
            
    JLMS_editClassintval$cid[0] ), $option );
            break;
        case 
    "editA_class" :
            
    JLMS_editClass$id$option );
            break;
        case 
    "del_class" :
            
    JLMS_delClass$cid$option );
            break;
        case 
    "apply_class" :
        case 
    "save_class" :
            
    JLMS_saveClass$option );
            break;
        case 
    "cancel_class" :
            
    JLMS_cancelClass$option );
            break;
        case 
    "view_class" :
            
    JLMS_viewClass0$option );
            break;
        case 
    "viewA_class" :
            
    JLMS_viewClass$cid[0], $option );
            break;
        case 
    "remove_from_class" :
            
    JLMS_removeFromClass$option );
            break; 

  2. #2
    Codice PHP:
        case "remove_user" :
            
    JLMS_removeFromCourse$option );
            break;
        case 
    "add_to_class" :
            
    JLMS_addToClass$option );
            break;
        case 
    "add_new_to_class" :
            
    JLMS_addnewToClass$option );
            break;
        case 
    "view_class_users" :
            
    JLMS_viewClassUsers$option );
            break;
        case 
    "view_class_users_groups" :
            
    JLMS_viewUsersInGroups$option );
            break;
        case 
    "view_class_users_courses" :
            
    JLMS_viewUsersInCourses$option );
            break;
        case 
    "add_stu_to_group" :
            
    JLMS_addUserToGlobalGroup$option );
            break;
            switch ( 
    $task )
            {
            case 
    "add_stu_to_course" :
                
    JLMS_addUserToCourse$option );
                break;
            case 
    "list_courses_student" :
                
    JLMS_List_Courses_Student$option );
                break;
            case 
    "edit_stu_in_course" :
                
    JLMS_showEditUser$option);
                break;
            case 
    "save_stu_in_group" :
                
    JLMS_saveUserInGlobalGroup$option );
                break;
            case 
    "remove_stu_from_group" :
                
    JLMS_removeUsersFromGlobalGroup$cid$option );
                break;
            case 
    "cancel_user_in_group" :
                
    mosRedirect"index.php?option={$option}&task=view_class_users_groups" );
                break;
            case 
    "cancel_user_in_course" :
                
    mosRedirect"index.php?option={$option}&task=view_class_users_courses" );
                break;
            case 
    "view_assistants" :
                
    JLMS_viewAssistants$option );
                break;
            case 
    "add_assistant" :
                
    JLMS_showAddUser$option);
                break;
            case 
    "add_stu" :
                
    JLMS_showAddUser$option);
                break;
            case 
    "add_user_save" :
                
    JLMS_addUserToGroup$option );
                break;
            case 
    "remove_assistant" :
                
    JLMS_removeAssistantintval$cid[0] ), $option );
                break;
            case 
    "remove_stu" :
                
    JLMS_removeStudent$option );
                break;
            case 
    "remove_stu_from_course" :
                
    JLMS_removeStudent$option );
                break;
            case 
    "edit_stu" :
                
    JLMS_showEditUser$option);
                break;
            case 
    "edit_user_save" :
                
    JLMS_EditUserSave$option );
                break;
            case 
    "cancel_stu" :
                
    mosRedirect"index.php?option={$option}&task=view_class_users" );
                break;
            case 
    "cancel_assistant" :
                
    mosRedirect"index.php?option={$option}&task=view_assistants" );
                break;
            case 
    "view_childrens" :
                
    JLMS_viewChildrens$option );
                break;
            case 
    "add_child" :
            case 
    "edit_child" :
                
    JLMS_editChildren$option );
                break;
            case 
    "save_child" :
                
    JLMS_saveChildren$option );
                break;
            case 
    "delte_child" :
                
    JLMS_deleteChildren$option );
                break;
            case 
    "view_parents" :
                
    JLMS_viewParents$option );
                break;
            case 
    "add_parent" :
                
    JLMS_editParent0$option );
                break;
            case 
    "edit_parent" :
                
    JLMS_editParentintval$cid[0] ), $option );
                break;
            case 
    "editA_parent" :
                
    JLMS_editParent$id$option );
                break;
            case 
    "delete_parent" :
                
    JLMS_deleteParent$option );
                break;
            case 
    "remove_parent" :
                
    JLMS_removeParentintval$cid[0] ), $option );
                break;
            case 
    "cancel_parent" :
                
    mosRedirect"index.php?option={$option}&task=view_parents" );
                break;
            case 
    "save_parent" :
                
    JLMS_saveParent$option );
                break;
            case 
    "courses_list" :
                
    JLMS_coursesList$option );
                break;
            case 
    "back" :
                
    mosRedirect"index.php?option={$option}&task=courses_list" );
                break;
            case 
    "view_course_backup" :
                
    JLMS_courseBackups$option$id );
                break;
            case 
    "course_export" :
                require_once( 
    _JOOMLMS_INCLUDES_PATH."jlms_course_export.php" );
                
    JLMS_courseExport$option$id"exp" );
                break;
            case 
    "backup_download" :
                require_once( 
    _JOOMLMS_INCLUDES_PATH."jlms_download.php" );
                
    JLMS_download$backup_name );
                break;
            case 
    "course_backup_gen" :
                require_once( 
    _JOOMLMS_INCLUDES_PATH."jlms_course_export.php" );
                
    JLMS_courseExport$option$id"gen" );
                
    mosRedirect"index.php?option={$option}&task=view_course_backup&id={$id}"_JLMS_BCK_MSG_HAS_BEEN_CREATED );
                break;
            case 
    "import" :
                
    joomla_lms_adm_html::jlms_courseimport$option );
                break;
            case 
    "download" :
                
    $backup_id mosGetParam$_REQUEST"backup_id");
                
    JLMS_courseDownload$option$backup_id );
                break;
            case 
    "course_backups_del" :
                
    JLMS_coursebackupsDelete$cid$option$id );
                break;
            case 
    "course_import" :
                do
                {
                    if ( !
    class_exists"JParameter" ) )
                    {
                        break;
                    }
                    else
                    {
                        require_once( 
    _JOOMLMS_FRONT_HOME.DS."includes".DS."classes".DS."lms.params.new.php" );
                    }
                } while ( 
    );
                require_once( 
    _JOOMLMS_FRONT_HOME.DS."includes".DS."classes".DS."lms.params.php" );
                require_once( 
    _JOOMLMS_INCLUDES_PATH."jlms_course_import.php" );
                
    JLMS_courseImport$option );
                
    mosRedirect"index.php?option=com_joomla_lms&task=import"_JLMS_MSG_COURSE_HAS_BEEN_IMPORTED );
                break;
            case 
    "cancel_backups" :
                
    JLMS_cancelBackups$option );
                break;
            case 
    "backup" :
                
    JLMS_backupsList$option );
                break;
            case 
    "backup_generate" :
                
    JLMS_backupGenerate$option );
                break;
            case 
    "backup_restore" :
                
    JLMS_backupRestore$cid[0], $option );
                break;
            case 
    "backups_delete" :
                
    JLMS_backupDelete$cid$option );
                break;
            case 
    "cb_integration" :
                
    JLMS_cb_integration$option );
                break;
            case 
    "cb_integration_edit" :
                
    JLMS_cb_integration_edit$cid[0], $option );
                break;
            case 
    "cb_integration_add" :
                
    JLMS_cb_integration_edit0$option );
                break;
            case 
    "cb_integration_delete" :
                
    JLMS_cb_integration_delete$cid$option );
                break;
            case 
    "cb_integration_save" :
                
    JLMS_cb_integration_save$option );
                break;
            case 
    "menu_manage" :
                
    JLMS_menuManage$option );
                break;
            case 
    "saveorder" :
                
    JLMS_saveOrder$cid );
                break;
            case 
    "orderup" :
                
    JLMS_orderMenuintval$cid[0] ), 1$option );
                break;
            case 
    "orderdown" :
                
    JLMS_orderMenuintval$cid[0] ), 1$option );
                break;
            case 
    "publish_menu" :
                
    JLMS_changeMenu$cid1$option );
                break;
            case 
    "unpublish_menu" :
                
    JLMS_changeMenu$cid0$option );
                break;
            case 
    "config" :
                
    JLMS_config$option );
                break;
            case 
    "config_save" :
            case 
    "config_apply" :
                
    JLMS_config_save$option );
                break;
            case 
    "look_feel" :
                
    JLMS_Look_Feel$option );
                break;
            case 
    "look_feel_save" :
                
    JLMS_Look_Feel_Save$option );
                break;
            case 
    "courses" :
                
    JLMS_ListCourses$option );
                break;
            case 
    "publish_course" :
                
    JLMS_changeCourse$cid1$option );
                break;
            case 
    "unpublish_course" :
                
    JLMS_changeCourse$cid0$option );
                break;
            case 
    "new_course" :
                
    JLMS_newCourse$option );
                break;
            case 
    "edit_course" :
                
    JLMS_editCourse$cid[0], $option );
                break;
            case 
    "editA_course" :
                
    JLMS_editCourse$id$option );
                break;
            case 
    "save_course" :
                
    JLMS_saveCourse$id$option$task );
                break;
            case 
    "apply_course" :
                
    JLMS_saveCourse$id$option$task );
                break;
            case 
    "cancel_course" :
                
    JLMS_cancelCourse( );
                break;
            case 
    "del_course" :
                
    JLMS_pre_DeleteCourse$cid[0], $option );
                break;
            case 
    "course_delete_yes" :
                
    JLMS_deleteCourse$cid[0], $option );
                break;
            case 
    "courses_template" :
                
    JLMS_ListCoursesTemplate$option );
                break;
            case 
    "courses_templ_add" :
                
    JLMS_ListCoursesTemplAdd0$option );
                break;
            case 
    "courses_templ_edit" :
                
    JLMS_ListCoursesTemplAdd$cid[0], $option );
                break;
            case 
    "courses_templ_del" :
                
    JLMS_ListCoursesTemplDel$cid$option );
                break;
            case 
    "courses_templ_save" :
                
    JLMS_ListCoursesTemplSave$option );
                break;
            case 
    "course_order_up" :
                
    JLMS_orderCourseintval$cid[0] ), 1$option );
                break;
            case 
    "course_order_down" :
                
    JLMS_orderCourseintval$cid[0] ), 1$option );
                break;
            case 
    "course_save_order" :
                
    JLMS_course_saveOrder$cid$option );
                break;
            case 
    "multicat" :
                
    FLMS_ListCategories$option );
                break;
            case 
    "multicat_config" :
                
    FLMS_CategoriesConfig$option );
                break;
            case 
    "multicat_config_save" :
                
    FLMS_CategoriesConfigSave$option );
                break;
            case 
    "multicat_new" :
                
    FLMS_EditCategories0$option );
                break;
            case 
    "multicat_edit" :
                
    FLMS_EditCategories$cid[0], $option );
                break;
            case 
    "multicat_editA" :
                
    FLMS_EditCategories$id$option );
                break;
            case 
    "multicat_apply" :
            case 
    "multicat_save" :
                
    FLMS_SaveCategories$option$task );
                break;
            case 
    "multicat_delete" :
                
    FLMS_DeleteCategories$cid$option );
                break;
            case 
    "languages" :
                
    JLMS_ListLangs$option );
                break;
            case 
    "default_lang" :
                
    JLMS_makeLangDefault$cid[0], $option );
                break;
            case 
    "export_lang" :
                
    JLMS_ExportLang$cid[0], $option );
                break;
            case 
    "import_lang" :
                
    joomla_lms_adm_html::jlms_showimportlang$option );
                break;
            case 
    "upload_lang" :
                
    JLMS_UploadLang$option );
                break;
            case 
    "del_lang" :
                
    JLMS_DeleteLang$cid[0], $option );
                break;
            case 
    "cancel_lang" :
                
    mosRedirect"index.php?option=com_joomla_lms&task=languages" );
                break; 

  3. #3
    Codice PHP:
            case "publish_lang" :
                
    JLMS_changeLang$cid1$option );
                break;
            case 
    "unpublish_lang" :
                
    JLMS_changeLang$cid0$option );
                break;
            case 
    "certificates" :
                
    JLMS_ShowCertificatesList$option );
                break;
            case 
    "mailsup_list" :
                
    JLMS_MailSupList$option );
                break;
            case 
    "mailsup_new" :
                
    JLMS_MailSupEdit0$option );
                break;
            case 
    "mailsup_edit" :
                
    JLMS_MailSupEdit$cid[0], $option );
                break;
            case 
    "mailsup_apply" :
            case 
    "mailsup_save" :
                
    JLMS_MailSupSave$option$task );
                break;
            case 
    "mailsup_delete" :
                
    JLMS_MailSupDelete$cid$option );
                break;
            case 
    "mailsup_conf" :
                
    JLMS_MailSupConf$option );
                break;
            case 
    "mailsup_conf_save" :
                
    JLMS_MailSupConfSave$option );
                break;
            case 
    "pluginslist" :
                
    JLMS_showPluginsList$option );
                break;
            case 
    "publish_plugin" :
                
    changePlugin$cid1$option );
                break;
            case 
    "unpublish_plugin" :
                
    changePlugin$cid0$option );
                break;
            case 
    "edit_plugin" :
                
    editPluginintval$cid[0] ), $option );
                break;
            case 
    "editA_plugin" :
                
    editPlugin$id$option );
                break;
            case 
    "save_plugin" :
            case 
    "apply_plugin" :
                
    savePlugin$option$task );
                break;
            case 
    "remove_plugin" :
                
    removePlugin$cid$option );
                break;
            case 
    "cancel_plugin" :
                
    cancelPlugin$id$option );
                break;
            case 
    "install_plugin" :
                
    installPlugin$id$option );
                break;
            case 
    "save_plugins_order" :
                
    savePluginsOrder$option );
                break;
            case 
    "pluginsorderup" :
                
    pluginsReorder$optiontrue );
                break;
            case 
    "pluginsorderdown" :
                
    pluginsReorder$option );
                break;
            case 
    "show_waiting_lists" :
                
    showWaitingLists$option );
                break;
            case 
    "add_from_waiting_list" :
                
    addUserFromWaitingList$cid$option );
                break;
            case 
    "remove_from_waiting_list" :
                
    removeUsersFromWaitingList$cid$option );
                break;
            case 
    "orderup_waiting_list" :
                
    orderWaitingListElement$id1$option );
                break;
            case 
    "orderdown_waiting_list" :
                
    orderWaitingListElement$id1$option );
                break;
            case 
    "mail_".__FILE__ :
                
    $redirect_url urldecodemosGetParam$_REQUEST"redirect" ) );
                
    $user_id mosGetParam$_REQUEST"assigned""-1" );
                
    $mail_object = new JLMS_Mail$db$redirect_url"back" );
                
    $mail_object->setAssigned$user_id );
                
    $mail_object->showPage( );
                break;
            case 
    "mail_iframe" :
                
    $redirect_url urldecodemosGetParam$_REQUEST"redirect" ) );
                
    $user_id mosGetParam$_REQUEST"assigned""-1" );
                
    $mail_object = new JLMS_Mail$db$redirect_url"back" );
                
    $mail_object->setAssigned$user_id );
                
    $mail_object->getMails( );
                
    $mail_object->showIFrame( );
                exit( );
                break;
            case 
    "notifications" :
                
    JLMS_ListNotifications( );
                break;
            case 
    "edit_notification" :
                
    JLMS_EditNotificationintval$cid[0] ) ? intval$cid[0] ) : $id );
                break;
            case 
    "apply_notification" :
            case 
    "save_notification" :
                
    JLMS_SaveNotification$id );
                break;
            case 
    "enable_notification" :
                
    JLMS_EnableNotification$id );
                break;
            case 
    "disable_notification" :
                
    JLMS_EnableNotification$idfalse );
                break;
            case 
    "email_templates" :
                
    JLMS_ListEmailTemplates( );
                break;
            case 
    "new_email_template" :
            case 
    "edit_email_template" :
                
    JLMS_EditEmailTemplateintval$cid[0] ) ? intval$cid[0] ) : $id );
                break;
            case 
    "apply_email_template" :
            case 
    "save_email_template" :
                
    JLMS_SaveEmailTemplate$id );
                break;
            case 
    "enable_email_template" :
                
    JLMS_EnableEmailTemplate$id );
                break;
            case 
    "disable_email_template" :
                
    JLMS_EnableEmailTemplate$idfalse );
                break;
            case 
    "delete_email_templates" :
                
    JLMS_DeleteEmailTemplates$cid );
                break;
            case 
    "about" :
                
    jlms_ViewAboutPage$option );
                break;
            case 
    "support" :
                
    joomla_lms_adm_html::view_supportpage( );
                break;
            case 
    "latestVersion" :
            }
            
    jlms_latestVersion( );
            break;
            
    jlms_ViewAboutPage$option );
            break;
        } 

  4. #4
    L' elenco è un pò lungo, però secondo me tra i vari errori

    Questo:
    require_once( _JOOMLMS_ADMIN_HOME."/files/admin.forums.php" );
    Dovrebbe essere scritto così:
    require_once( _JOOMLMS_ADMIN_HOME.DS."/files/admin.forums.php" );

    Questo:
    require_once( _JOOMLMS_ADMIN_HOME."/files/admin.".__FILE__."tenance.php" );
    Dovrebbe essere scritto così:
    require_once( _JOOMLMS_ADMIN_HOME.DS."/files/admin.".(__FILE__)."tenance.php" );

    Questo, non saprei proprio:
    mosRedirect( "index.php?option={$option}&task=page_tips" );

  5. #5
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Ti sposto in PHP che credo sia più appropriato...

    Roby

  6. #6
    Grazie, mi sono appena accorto di aver cliccato nella sezione sbagliata
    Ciao

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.