diff --git a/main/admin/settings.php b/main/admin/settings.php index 19428c4bf7..fe7f7445b7 100755 --- a/main/admin/settings.php +++ b/main/admin/settings.php @@ -484,7 +484,13 @@ if (!empty($_GET['category'])) { // add event to system log $user_id = api_get_user_id(); $category = $_GET['category']; - event_system(LOG_CONFIGURATION_SETTINGS_CHANGE, LOG_CONFIGURATION_SETTINGS_CATEGORY, $category, api_get_utc_datetime(), $user_id); + event_system( + LOG_CONFIGURATION_SETTINGS_CHANGE, + LOG_CONFIGURATION_SETTINGS_CATEGORY, + $category, + api_get_utc_datetime(), + $user_id + ); Display :: display_confirmation_message(get_lang('DashboardPluginsHaveBeenUpdatedSucesslly')); } } diff --git a/main/inc/lib/dashboard.lib.php b/main/inc/lib/dashboard.lib.php index b8d01302e5..75818cba2b 100755 --- a/main/inc/lib/dashboard.lib.php +++ b/main/inc/lib/dashboard.lib.php @@ -19,24 +19,24 @@ class DashboardManager * contructor */ public function __construct() - { - } + { + } - /** + /** * This function allows easy activating and inactivating of dashboard plugins * @return void - */ + */ public static function handle_dashboard_plugins() - { - $token = Security::get_existing_token(); - $tokenCondition = '&sec_token='.$token; + { + $token = Security::get_existing_token(); + $tokenCondition = '&sec_token='.$token; /* We scan the plugin directory. Each folder is a potential plugin. */ $dashboard_pluginpath = api_get_path(SYS_PLUGIN_PATH).'dashboard/'; $possibleplugins = self::get_posible_dashboard_plugins_path(); $table_cols = array('name', 'version', 'description'); - echo Display::page_subheader(get_lang('DashboardPlugins')); + echo Display::page_subheader(get_lang('DashboardPlugins')); echo '