mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10073] Display contact info
PHPBB3-10073
This commit is contained in:
parent
971b3f59bf
commit
4f2f3d9757
1 changed files with 10 additions and 2 deletions
|
@ -136,8 +136,16 @@ class admin_form extends form
|
||||||
*/
|
*/
|
||||||
public function render(\phpbb\template\template $template)
|
public function render(\phpbb\template\template $template)
|
||||||
{
|
{
|
||||||
// @todo Add option to fill the db with it and add migration
|
$l_admin_info = $this->config_text->get('contact_admin_info');
|
||||||
$l_admin_info = '';//$this->config_text['contact_admin_info'];
|
if ($l_admin_info)
|
||||||
|
{
|
||||||
|
$l_admin_info = generate_text_for_display(
|
||||||
|
$this->config_text->get('contact_admin_info'),
|
||||||
|
$this->config['contact_admin_info_uid'],
|
||||||
|
$this->config['contact_admin_info_bitfield'],
|
||||||
|
$this->config['contact_admin_info_flags']
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'S_CONTACT_ADMIN' => true,
|
'S_CONTACT_ADMIN' => true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue