Skip to content

Commit

Permalink
Merge pull request #15 from orynider/patch-3
Browse files Browse the repository at this point in the history
Update usu.php for php 5.6+
  • Loading branch information
meis2m authored May 1, 2019
2 parents 9743728 + 054aa62 commit 2b87cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acp/usu.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ function main($id, $mode)
case 'server':

$display_vars['title'] = 'ACP_REWRITE_CONF';
$this->language['ACP_REWRITE_CONF_EXPLAIN'] = $this->language['ACP_REWRITE_CONF_EXPLAIN'] . '</p><hr/><p><b>' . $this->user->lang['ACP_PHPBB_SEO_VERSION'] . ' : ' . $this->modrtype_lang['link'] . ' - ( ' . $this->modrtype_lang['forumlink'] . ' )</b></p><p>';
$display_vars['description'] = $this->language->lang('ACP_REWRITE_CONF_EXPLAIN') . '</p><hr/><p><b>' . $this->user->lang('ACP_PHPBB_SEO_VERSION') . ' : ' . $this->modrtype_lang['link'] . ' - ( ' . $this->modrtype_lang['forumlink'] . ' )</b></p><p>';
$display_vars['vars'] = array();
$display_vars['vars']['legend1'] = 'ACP_REWRITE_CONF';
if ($this->core->seo_path['phpbb_script'] && !$this->core->seo_opt['virtual_root'])
Expand All @@ -347,7 +347,7 @@ function main($id, $mode)
}

// Dirty yet simple templating
$this->language['ACP_REWRITE_CONF_EXPLAIN'] = $this->language['ACP_REWRITE_CONF_EXPLAIN'] . $this->seo_server_conf();
$display_vars['description'] = $this->language->lang('ACP_REWRITE_CONF_EXPLAIN') . $this->seo_server_conf();

$this->template->assign_vars(array(
'S_SEO_HTACCESS' => 1,
Expand Down

0 comments on commit 2b87cb7

Please sign in to comment.