mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 15:16:16 +02:00
[ticket/12557] Template fixes
PHPBB3-12557
This commit is contained in:
parent
8f2395857e
commit
dfcbace621
@ -24,6 +24,7 @@ class asset
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param string $url URL
|
* @param string $url URL
|
||||||
|
* @param \phpbb\path_helper $path_helper Path helper object
|
||||||
*/
|
*/
|
||||||
public function __construct($url, \phpbb\path_helper $path_helper)
|
public function __construct($url, \phpbb\path_helper $path_helper)
|
||||||
{
|
{
|
||||||
|
@ -25,6 +25,8 @@ class definition
|
|||||||
* Get a DEFINE'd variable
|
* Get a DEFINE'd variable
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
|
* @param array $arguments
|
||||||
|
*
|
||||||
* @return mixed Null if not found
|
* @return mixed Null if not found
|
||||||
*/
|
*/
|
||||||
public function __call($name, $arguments)
|
public function __call($name, $arguments)
|
||||||
|
@ -36,11 +36,10 @@ class environment extends \Twig_Environment
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param \phpbb\config\config $phpbb_config
|
* @param \phpbb\config\config $phpbb_config The phpBB configuration
|
||||||
* @param \phpbb\path_helper
|
* @param \phpbb\path_helper $path_helper phpBB path helper
|
||||||
* @param \phpbb\extension\manager
|
* @param \phpbb\extension\manager $extension_manager phpBB extension manager
|
||||||
* @param string $phpbb_root_path
|
* @param \Twig_LoaderInterface $loader Twig loader interface
|
||||||
* @param \Twig_LoaderInterface $loader
|
|
||||||
* @param array $options Array of options to pass to Twig
|
* @param array $options Array of options to pass to Twig
|
||||||
*/
|
*/
|
||||||
public function __construct($phpbb_config, \phpbb\path_helper $path_helper, \phpbb\extension\manager $extension_manager = null, \Twig_LoaderInterface $loader = null, $options = array())
|
public function __construct($phpbb_config, \phpbb\path_helper $path_helper, \phpbb\extension\manager $extension_manager = null, \Twig_LoaderInterface $loader = null, $options = array())
|
||||||
|
@ -162,7 +162,6 @@ class extension extends \Twig_Extension
|
|||||||
* (e.g. in the ACP, L_TITLE)
|
* (e.g. in the ACP, L_TITLE)
|
||||||
* If not, we return the result of $user->lang()
|
* If not, we return the result of $user->lang()
|
||||||
*
|
*
|
||||||
* @param string $lang name
|
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function lang()
|
function lang()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user