phpBB

Code Changes

File: phpbb/template/assets_bag.php

  Unmodified   Added   Modified   Removed
Line 62Line 62
	}

/**

	}

/**

	 * Returns the HTML code to includes all css assets

	 * Returns the HTML code to include all css assets

	 *
* @return string
*/

	 *
* @return string
*/

	public function get_stylesheets_content()

	public function get_stylesheets_content(): string

	{
$output = '';
foreach ($this->stylesheets as $stylesheet)
{

	{
$output = '';
foreach ($this->stylesheets as $stylesheet)
{

			$output .= "<link href=\"{$stylesheet->get_url()}\" rel=\"stylesheet\" media=\"screen\" />\n";

			$output .= "<link href=\"{$stylesheet->get_url()}\" rel=\"stylesheet\" media=\"screen\">\n";

		}

return $output;
}

/**

		}

return $output;
}

/**

	 * Returns the HTML code to includes all js assets

	 * Returns the HTML code to include all js assets

	 *
* @return string
*/

	 *
* @return string
*/

	public function get_scripts_content()

	public function get_scripts_content(): string

	{
$output = '';
foreach ($this->scripts as $script)

	{
$output = '';
foreach ($this->scripts as $script)