ModifyCalendarSettings

Description

This function handles all calendar-related settings.

Syntax

mixed ModifyCalendarSettings ([bool $return_config])



Parameter $return_config

Expected type: Boolean
Description: If true, the function returns the $config_vars array (used when searching from the admin center)



Return value

Expected type: Mixed
Description:

Possible types
Allowed values Description
Void Doesn't return anything if $config_vars is false
Array of arrays Returns the $config_vars array if $return_config is true


Notes

  • Just returns $config_vars if $return_config is true
  • Accessed at .../index.php?action=admin;area=managecalendar;sa=settings
  • Allows you to set the "calendar_view", "calendar_post", "calendar_edit_own" and "calendar_edit_any" permissions
  • Uses the standard 'show_settings' sub-template
Advertisement: