1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/11859] Make avatar drivers return template filename

The service name might not follow the expected naming scheme which would
cause abnormally long filenames and confusion for authors that might add
more avatar drivers.

PHPBB3-11859
This commit is contained in:
Marc Alexander
2013-11-27 15:18:42 +01:00
parent 125e76f9aa
commit 6618f0ea24
5 changed files with 32 additions and 11 deletions

View File

@@ -167,6 +167,14 @@ class upload extends \phpbb\avatar\driver\driver
return true;
}
/**
* @inheritdoc
*/
public function get_template_name()
{
return 'ucp_avatar_options_upload.html';
}
/**
* Check if user is able to upload an avatar
*