aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/twig/node/includejs.php
blob: 0f67f9ff609aef56ae0bddf15304fe958bd3a3da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/

namespace phpbb\template\twig\node;

class includejs extends \phpbb\template\twig\node\includeasset
{
	/**
	* {@inheritdoc}
	*/
	public function get_definition_name()
	{
		return 'SCRIPTS';
	}

	/**
	* {@inheritdoc}
	*/
	protected function append_asset(\Twig_Compiler $compiler)
	{
		$config = $this->environment->get_phpbb_config();

		$compiler
			->raw("<script type=\"text/javascript\" src=\"' . ")
			->raw("\$asset_file")
			->raw(". '\"></script>\n")
		;
	}
}
pan>/+1 * *** empty log message ***Pascal Rigaux2004-02-201-1/+41 * (update_for_renumbered_partitions):Pascal Rigaux2004-02-201-9/+13 * remove debug statementThierry Vignaud2004-02-201-1/+0 * uim-anthy works ok in on-the-spot mode with KDEPablo Saratxaga2004-02-201-1/+1 * aliase Free non dégroupé 1024/256 on "Free non dégroupé 512/128" (#7615)Thierry Vignaud2004-02-201-0/+3 * Shrink code per Thierry.Stew Benedict2004-02-201-36/+12 * alias agpgart should be only for 2.6, since code doesn't allow this easily,Pascal Rigaux2004-02-202-6/+5 * 10-1mdkThierry Vignaud2004-02-201-1/+5 * fix writing aliases (fix broken speedtouch)Thierry Vignaud2004-02-201-2/+2 * *** empty log message ***Pascal Rigaux2004-02-201-1/+54 * add umask=0022 capability, and use it for security level 3Pascal Rigaux2004-02-201-4/+18 * Gnome is no good, GNOME is goodPascal Rigaux2004-02-202-2/+2 * fix warning LSB chosen implies kernel 2.4Pascal Rigaux2004-02-201-1/+1 * don't force buttons a size related to $::windowwidth since this is no more us...Guillaume Cottenceau2004-02-204-3/+4 * 10.0Guillaume Cottenceau2004-02-201-1/+1 * allow to specify the Xnest wanted resolution with --vgaGuillaume Cottenceau2004-02-201-1/+1 * Gnome icon order. Drop an unused button box.Stew Benedict2004-02-201-53/+28 * 10-0.21mdkThierry Vignaud2004-02-201-1/+11 * since no PCMCIA cards support link status notification, ifplugd shouldThierry Vignaud2004-02-191-1/+3 * updateThierry Vignaud2004-02-191-15103/+17412 * fix stringThierry Vignaud2004-02-191-1/+1 * *** empty log message ***Pascal Rigaux2004-02-191-1/+40 * use $ugtk2::current_window in place of @interactive::objects (which was unuse...Pascal Rigaux2004-02-192-8/+9 * UpdatedArkadiusz Lipiec2004-02-191-14459/+16604 * updated pot filePablo Saratxaga2004-02-19