Verzeichnisstruktur phpBB-3.1.0
- Veröffentlicht
- 27.10.2014
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
includecss.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14 namespace phpbb\template\twig\node;
15
16 class includecss extends \phpbb\template\twig\node\includeasset
17 {
18 /**
19 * {@inheritdoc}
20 */
21 public function get_definition_name()
22 {
23 return 'STYLESHEETS';
24 }
25
26 /**
27 * {@inheritdoc}
28 */
29 public function append_asset(\Twig_Compiler $compiler)
30 {
31 $compiler
32 ->raw("<link href=\"' . ")
33 ->raw("\$asset_file . '\"")
34 ->raw(' rel="stylesheet" type="text/css" media="screen, projection" />')
35 ;
36 }
37 }
38