1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/8319] Add explanation for RELATIVE_URL and update LOCAL_URL

The explanation now states that links are prefixed with the board URL.

PHPBB3-8319
This commit is contained in:
Joas Schilling
2013-06-03 12:35:57 +02:00
parent 24bfaa1327
commit 6206d4aa4e
2 changed files with 4 additions and 3 deletions

View File

@@ -113,8 +113,8 @@ class acp_bbcodes
{
$template->assign_block_vars('token', array(
'TOKEN' => '{' . $token . '}',
'EXPLAIN' => $token_explain)
);
'EXPLAIN' => ($token === 'LOCAL_URL') ? sprintf($token_explain, generate_board_url() . '/') : $token_explain,
));
}
return;