aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrgoldy <gijsmartens1@gmail.com>2019-03-09 10:30:19 +0100
committermrgoldy <gijsmartens1@gmail.com>2019-03-09 10:30:19 +0100
commit479201a3a1b821d2b3212000955fad1343f4efd0 (patch)
tree0093923eda92a1e60e9c2275faad44315882bc83
parent214cf2c0116cffdb0eed27c81ebb12d8697c485b (diff)
downloadforums-479201a3a1b821d2b3212000955fad1343f4efd0.tar
forums-479201a3a1b821d2b3212000955fad1343f4efd0.tar.gz
forums-479201a3a1b821d2b3212000955fad1343f4efd0.tar.bz2
forums-479201a3a1b821d2b3212000955fad1343f4efd0.tar.xz
forums-479201a3a1b821d2b3212000955fad1343f4efd0.zip
[ticket/15886] Add @html doc for group/user strings
PHPBB3-15886
-rw-r--r--phpBB/includes/functions_content.php1
-rw-r--r--phpBB/phpbb/group/helper.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index 8284aab6a4..e83a9ec195 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -1501,6 +1501,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '',
{
global $phpbb_root_path, $phpEx;
+ /** @html User name strings for usage in the template */
$_profile_cache['base_url'] = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&amp;u={USER_ID}');
$_profile_cache['tpl_noprofile'] = '<span class="username">{USERNAME}</span>';
$_profile_cache['tpl_noprofile_colour'] = '<span style="color: {USERNAME_COLOUR};" class="username-coloured">{USERNAME}</span>';
diff --git a/phpBB/phpbb/group/helper.php b/phpBB/phpbb/group/helper.php
index 5e60270931..7f249d7aee 100644
--- a/phpBB/phpbb/group/helper.php
+++ b/phpBB/phpbb/group/helper.php
@@ -73,6 +73,7 @@ class helper
$this->phpbb_root_path = $path_helper->get_phpbb_root_path();
+ /** @html Group name strings for usage in the template */
$this->name_strings = array(
'base_url' => "{$path_helper->get_phpbb_root_path()}memberlist.{$path_helper->get_php_ext()}?mode=group&amp;g={GROUP_ID}",
'tpl_noprofile' => '<span class="username">{GROUP_NAME}</span>',