first commit
This commit is contained in:
26
administrator/components/com_admin/tmpl/help/langforum.php
Normal file
26
administrator/components/com_admin/tmpl/help/langforum.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_admin
|
||||
*
|
||||
* @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
$this->getLanguage()->load('mod_menu', JPATH_ADMINISTRATOR);
|
||||
|
||||
$forumId = (int) Text::_('MOD_MENU_HELP_SUPPORT_OFFICIAL_LANGUAGE_FORUM_VALUE');
|
||||
|
||||
if (empty($forumId)) {
|
||||
$forumId = 511;
|
||||
}
|
||||
|
||||
$forumUrl = 'https://forum.joomla.org/viewforum.php?f=' . $forumId;
|
||||
|
||||
Factory::getApplication()->redirect($forumUrl);
|
||||
Reference in New Issue
Block a user