From ffcddf6202da3ca53f7371292ef9db736d0b2d46 Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Tue, 17 Oct 2017 15:11:37 +0200 Subject: [PATCH] Minor - format code, fix php docs --- main/admin/skill_edit.php | 3 +- main/admin/skills_profile.php | 1 - main/forum/download.php | 4 +- main/forum/editpost.php | 5 +- main/group/group_edit.php | 34 +-- main/group/group_overview.php | 21 +- main/group/group_space.php | 15 +- main/group/member_settings.php | 18 +- main/group/settings.php | 14 +- .../formvalidator/Element/DateTimePicker.php | 1 - .../Rule/CompareDateTimeText.php | 2 +- .../lib/formvalidator/Rule/DateCompare.php | 2 +- main/inc/lib/formvalidator/Rule/Filetype.php | 2 +- main/inc/lib/formvalidator/Rule/HTML.php | 6 +- .../lib/formvalidator/Rule/MaxFileSize.php | 1 + .../formvalidator/Rule/MobilePhoneNumber.php | 4 +- .../formvalidator/Rule/MultipleRequired.php | 28 +- .../inc/lib/formvalidator/Rule/UploadFile.php | 1 + main/inc/lib/formvalidator/Rule/Url.php | 1 - .../formvalidator/Rule/UsernameAvailable.php | 3 +- .../HookResubscribeObserverInterface.php | 2 +- main/inc/lib/pear/HTML/QuickForm/Rule.php | 4 +- main/session/add_many_session_to_category.php | 1 - main/social/group_view.php | 19 +- main/social/group_waiting_list.php | 1 - main/social/groups.php | 81 +++++- main/social/home.php | 10 +- main/social/message_for_group_form.inc.php | 1 - main/social/profile.php | 1 - .../social/profile_friends_and_groups.inc.php | 1 - main/ticket/categories.php | 2 +- main/ticket/report.php | 4 +- main/ticket/status.php | 2 +- main/ticket/tutor_report.lib.php | 1 - main/work/download.php | 10 +- main/work/download_comment_file.php | 13 +- main/work/downloadfolder.inc.php | 9 +- main/work/show_file.php | 12 +- main/work/work.lib.php | 34 +-- plugin/hello_world/plugin.php | 3 +- plugin/openmeetings/start.php | 2 - .../resubscription/src/HookResubscription.php | 5 +- plugin/resubscription/src/Resubscription.php | 2 - .../lib/register_course_widget.class.php | 23 +- .../lib/search_course_plugin.class.php | 7 +- plugin/sepe/src/configuration.php | 14 +- plugin/tour/ajax/steps.ajax.php | 1 + .../CoreBundle/Entity/Notification.php | 11 +- .../Repository/ExtraFieldRelTagRepository.php | 1 - .../Entity/Repository/SequenceRepository.php | 1 - .../Entity/Repository/SessionRepository.php | 1 - .../Entity/Repository/SkillRepository.php | 1 - .../Entity/Repository/TemplatesRepository.php | 1 + .../TrackECourseAccessRepository.php | 4 +- .../CoreBundle/Entity/SettingsCurrent.php | 5 +- .../CoreBundle/Entity/SpecificField.php | 4 +- .../DependencyInjection/Configuration.php | 5 +- src/Chamilo/SkillBundle/Entity/Profile.php | 1 - .../Controller/BreadcrumbController.php | 6 +- .../Controller/DefaultController.php | 24 +- .../Controller/ExceptionController.php | 9 +- .../Controller/NavbarController.php | 7 +- .../Controller/SecurityController.php | 13 +- .../Controller/SidebarController.php | 6 +- .../Controller/WidgetController.php | 22 +- .../ChamiloAdminThemeExtension.php | 262 +++++++++--------- .../DependencyInjection/Configuration.php | 4 +- .../ThemeBundle/Event/MessageListEvent.php | 9 +- .../Event/NotificationListEvent.php | 10 +- .../ThemeBundle/Event/ShowUserEvent.php | 6 +- .../ThemeBundle/Event/SidebarMenuEvent.php | 17 +- .../ThemeBundle/Event/SidebarMenuKnpEvent.php | 1 + .../ThemeBundle/Event/TaskListEvent.php | 11 +- src/Chamilo/ThemeBundle/Event/ThemeEvent.php | 6 +- src/Chamilo/ThemeBundle/Event/ThemeEvents.php | 6 +- .../EventListener/ContextListener.php | 12 +- .../NavbarMessageListDemoListener.php | 12 +- .../NavbarNotificationListDemoListener.php | 12 +- .../NavbarShowUserDemoListener.php | 11 +- .../NavbarTaskListDemoListener.php | 11 +- .../EventListener/SetupThemeListener.php | 11 +- .../SidebarSetupMenuDemoListener.php | 13 +- .../ThemeBundle/Form/FormDemoModelType.php | 10 +- .../ThemeBundle/Helper/WidgetHelper.php | 15 +- .../ThemeBundle/Model/MenuItemInterface.php | 4 +- .../ThemeBundle/Model/MenuItemModel.php | 1 - .../ThemeBundle/Model/MessageInterface.php | 1 - .../ThemeBundle/Model/MessageModel.php | 1 - .../Model/NotificationInterface.php | 10 +- .../ThemeBundle/Model/NotificationModel.php | 18 +- .../ThemeBundle/Model/TaskInterface.php | 14 +- src/Chamilo/ThemeBundle/Model/TaskModel.php | 8 +- .../ThemeBundle/Model/UserInterface.php | 11 +- src/Chamilo/ThemeBundle/Model/UserModel.php | 15 +- .../Util/DependencyResolverInterface.php | 11 +- 95 files changed, 535 insertions(+), 551 deletions(-) diff --git a/main/admin/skill_edit.php b/main/admin/skill_edit.php index e7932fff6c..07653ba328 100644 --- a/main/admin/skill_edit.php +++ b/main/admin/skill_edit.php @@ -78,7 +78,8 @@ $extraField = new ExtraField('skill'); $returnParams = $extraField->addElements($editForm, $skillId); $jquery_ready_content = $returnParams['jquery_ready_content']; -// the $jquery_ready_content variable collects all functions that will be load in the $(document).ready javascript function +// the $jquery_ready_content variable collects all functions that will be load +// in the $(document).ready javascript function if (!empty($jquery_ready_content)) { $htmlHeadXtra[] = '