1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

[feature/avatars] Move avatar specific settings to drivers

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-11-21 17:15:35 +01:00
parent 9b61204a17
commit 726d1a16d7
7 changed files with 76 additions and 9 deletions

View File

@@ -58,6 +58,16 @@ class phpbb_avatar_driver_remote extends phpbb_avatar_driver
return true;
}
/**
* @inheritdoc
**/
public function prepare_form_acp()
{
return array(
'allow_avatar_remote' => array('lang' => 'ALLOW_REMOTE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
);
}
/**
* @inheritdoc
*/