diff options
author | mrgoldy <gijsmartens1@gmail.com> | 2019-03-09 10:30:19 +0100 |
---|---|---|
committer | mrgoldy <gijsmartens1@gmail.com> | 2019-03-09 10:30:19 +0100 |
commit | 479201a3a1b821d2b3212000955fad1343f4efd0 (patch) | |
tree | 0093923eda92a1e60e9c2275faad44315882bc83 /phpBB | |
parent | 214cf2c0116cffdb0eed27c81ebb12d8697c485b (diff) | |
download | forums-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
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions_content.php | 1 | ||||
-rw-r--r-- | phpBB/phpbb/group/helper.php | 1 |
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&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&g={GROUP_ID}", 'tpl_noprofile' => '<span class="username">{GROUP_NAME}</span>', |