diff options
| author | Cesar G <prototech91@gmail.com> | 2013-12-06 13:38:54 -0800 |
|---|---|---|
| committer | Cesar G <prototech91@gmail.com> | 2014-04-22 15:21:02 -0700 |
| commit | 3163388f63a6d0bac77ada86e2f1561f1d7f9714 (patch) | |
| tree | cdd5acc22c8a83bf47b5048e678b2489dea9ce20 /phpBB/includes/functions_content.php | |
| parent | e1c6b40ee82a79a58276d8e85de9c3593a6f3703 (diff) | |
| download | forums-3163388f63a6d0bac77ada86e2f1561f1d7f9714.tar forums-3163388f63a6d0bac77ada86e2f1561f1d7f9714.tar.gz forums-3163388f63a6d0bac77ada86e2f1561f1d7f9714.tar.bz2 forums-3163388f63a6d0bac77ada86e2f1561f1d7f9714.tar.xz forums-3163388f63a6d0bac77ada86e2f1561f1d7f9714.zip | |
[ticket/11508] Move helper functions to path_helper class.
PHPBB3-11508
Diffstat (limited to 'phpBB/includes/functions_content.php')
| -rw-r--r-- | phpBB/includes/functions_content.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php index 387695a9e8..ff75a5b05d 100644 --- a/phpBB/includes/functions_content.php +++ b/phpBB/includes/functions_content.php @@ -110,7 +110,7 @@ function gen_sort_selects(&$limit_days, &$sort_by_text, &$sort_days, &$sort_key, */ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list = false, $force_display = false) { - global $config, $auth, $template, $user, $db; + global $config, $auth, $template, $user, $db, $phpbb_container; // We only return if the jumpbox is not forced to be displayed (in case it is needed for functionality) if (!$config['load_jumpbox'] && $force_display === false) @@ -195,7 +195,9 @@ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list } $db->sql_freeresult($result); unset($padding_store); - $url_parts = phpbb_get_url_parts($action); + + $path_helper = $phpbb_container->get('path_helper'); + $url_parts = $path_helper->get_url_parts($action); $template->assign_vars(array( 'S_DISPLAY_JUMPBOX' => $display_jumpbox, |
