ModifyNewsSettings

Description

Set general news and newsletter settings and permissions.

Syntax

mixed ModifyNewsSettings ([bool $return_config])



Parameter $return_config

Expected type: Boolean
Description: If true, returns the config vars. Default is false.



Return value

Expected type: Mixed
Description:

Possible types
Allowed values Description
Void Returns nothing if $return_config is false
Array of arrays Returns the appropriate $config_vars arrays if $return_config is true (see AdminSearchInternal())


Notes

  • Uses the ManageNews template and news_settings sub template.
  • Called by ?action=admin;area=news;sa=settings.
  • Requires the forum_admin permission.
  • Returns config vars for AdminSearchInternal() if $return_config is true
Advertisement: