1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11626] Remove LDAP dependency on template

Returns template vars rather than requiring the template.

PHPBB3-11626
This commit is contained in:
Joseph Warner
2013-07-12 15:53:36 -04:00
parent f24a8e5b81
commit 631ce22f2c
4 changed files with 25 additions and 19 deletions

View File

@@ -72,9 +72,14 @@ interface phpbb_auth_provider_interface
* provider.
* @param array $new_config Contains the new configuration values that
* have been set in acp_board.
* @return string|null Returns null if not implemented or a string
* containing the name of the acp tempalte file for
* the authentication provider.
* @return array|null Returns null if not implemented or an array with
* the template file name and an array of the vars
* that the template needs that must conform to the
* following example:
* array(
* 'TEMPLATE_FILE' => string,
* 'TEMPLATE_VARS' => array(...),
* )
*/
public function get_acp_template($new_config);