Home
last modified time | relevance | path

Searched refs:template (Results 1 – 25 of 974) sorted by relevance

12345678910>>...39

/template/twigstarter/vendor/twig/twig/src/
H A DTemplateWrapper.php22 private $template; variable in Twig\\TemplateWrapper
30 public function __construct(Environment $env, Template $template) argument
33 $this->template = $template;
45 return $this->template->render($context, \func_get_args()[1] ?? []);
57 $this->template->display($context, \func_get_args()[1] ?? []);
68 return $this->template->hasBlock($name, $context);
80 return $this->template->getBlockNames($context);
101 $this->template->displayBlock($name, $context);
126 return $this->template->getSourceContext();
131 return $this->template->getTemplateName();
[all …]
H A DTemplate.php165 $template = $blocks[$name][0];
168 $template = $this->blocks[$name][0];
171 $template = null;
176 if (null !== $template && !$template instanceof self) {
180 if (null !== $template) {
182 $template->$block($context, $blocks);
316 if (\is_array($template)) {
317 return $this->env->resolveTemplate($template);
320 if ($template instanceof self || $template instanceof TemplateWrapper) {
321 return $template;
[all …]
/template/pinboard/css/
H A Dpinboard-responsive.css139 .page-template-template-full-width-php .hentry.onecol .wp-post-image,
141 .page-template-template-full-width-php .hentry.onecol .post-gallery,
144 .page-template-template-blog-four-col-php .entry-thumbnail {
155 .page-template-template-full-width-php .hentry.onecol .entry-header,
181 .page-template-template-portfolio-php .post.onecol .wp-post-image,
183 .page-template-template-portfolio-php .post.onecol .post-gallery {
190 .page-template-template-portfolio-php .post.onecol .post-gallery {
194 .page-template-template-portfolio-php .post.onecol .entry-header,
260 .page-template-template-no-sidebars-php #wrapper,
261 .page-template-template-blog-no-sidebars-php #wrapper,
[all …]
H A Dpinboard.css654 .page-template-template-no-sidebars-php #wrapper,
655 .page-template-template-blog-no-sidebars-php #wrapper,
998 .page-template-template-no-sidebars-php #container {
1270 .page-template-template-no-sidebars-php #content,
1271 .page-template-template-blog-no-sidebars-php #content,
1306 .page-template-template-sidebar-content-php #content,
1313 .page-template-template-content-sidebar-php #content {
1373 .page-template-template-blog-php.page .entry,
1375 .page-template-template-blog-four-col-php.page .entry,
1378 .page-template-template-portfolio-php.page .entry,
[all …]
/template/twigstarter/vendor/twig/twig/doc/functions/
H A Dinclude.rst4 The ``include`` function returns the rendered content of a template:
8 {{ include('template.html') }}
22 {{ include('template.html', {foo: 'bar'}) }}
35 {{ include('template.html', with_context = false) }}
40 // {{ include(template) }}
42 $template = $twig->load('some_template.twig');
44 $twig->display('template.twig', ['template' => $template]);
47 the template does not exist:
54 inclusion. The first template that exists will be rendered:
73 * ``template``: The template to render
[all …]
H A Dtemplate_from_string.rst8 The ``template_from_string`` function loads a template from a string:
13 {{ include(template_from_string(page.template)) }}
15 To ease debugging, you can also give the template a name that will be part of
20 {{ include(template_from_string(page.template, "template for page " ~ page.name)) }}
35 takes a template as an argument (like the ``embed`` or ``extends`` tags).
40 * ``template``: The template
41 * ``name``: A name for the template
H A Dsource.rst4 The ``source`` function returns the content of a template without rendering it:
8 {{ source('template.html') }}
12 the template does not exist:
16 {{ source('template.html', ignore_missing = true) }}
18 The function uses the same template loaders as the ones used to include
25 * ``name``: The name of the template to read
/template/twigstarter/vendor/twig/twig/doc/tags/
H A Dinclude.rst29 {% include 'template.html' %}
32 {% set content = include('template.html') %}
34 {# Apply filter on a rendered template #}
36 {% include 'template.html' %}
39 {{ include('template.html')|upper }}
57 {% include 'template.html' with vars %}
69 {% include 'template.html' only %}
77 The template name can be any valid Twig expression:
87 // {% include template %}
89 $template = $twig->load('some_template.twig');
[all …]
H A Dextends.rst4 The ``extends`` tag can be used to extend a template from another one.
39 template may override those portions of the template.
44 A child template might look like this:
65 template "extends" another template. When the template system evaluates this
67 in the template.
70 value from the parent template is used instead.
76 similarly-named ``block`` tags in a template, that template's parent wouldn't
155 instance, Twig will use it as the parent template::
164 first template that exists will be used as a parent:
180 In this example, the template will extend the "minimum.html" layout template
[all …]
H A Duse.rst8 template blocks reusable without using inheritance.
11 limited to single inheritance; a template can only extend one other template.
12 This limitation makes template inheritance simple to understand and easy to
35 ``blocks.html`` into the current template (it's like macros, but for blocks):
44 main template. The code is mostly equivalent to the following one (the
57 The ``use`` tag only imports a template if it does not extend another
58 template, if it does not define macros, and if the body is empty. But it
64 passed to the template, the template reference cannot be an expression.
66 The main template can also override any imported block. If the template
82 template:
[all …]
H A Dembed.rst6 It allows you to include another template's contents, just like ``include``
8 included template, like when extending a template.
10 Think of an embedded template as a "micro layout skeleton".
25 The ``embed`` tag takes the idea of template inheritance to the level of
26 content fragments. While template inheritance allows for "document skeletons",
32 Imagine a base template shared by multiple HTML pages, defining a single block
42 │ │ (child template to │ │
89 template: one with vertically stacked boxes to be used by the "foo" and
94 template directly.
114 Page template ``foo.twig``:
[all …]
/template/bootstrap3/
H A DREADME.md1template-bootstrap3.svg)](https://github.com/giterlizzi/dokuwiki-template-bootstrap3/releases) [![…
3 # Bootstrap3 template for DokuWiki
9 * Bootstrap 3.x based template
65 All documentation for this template can be found at
66 https://www.dokuwiki.org/template:bootstrap3
68 If you install this template manually, make sure it is installed in
74 Please refer to https://www.dokuwiki.org/template for additional info
H A DAUTHORS.md1 # Bootstrap3 template for DokuWiki
23 …erlizzi/dokuwiki-template-bootstrap3/commits?author=phy25" title="Code">��</a> <a href="https://gi…
28 …Lucy</b></sub></a><br /><a href="https://github.com/giterlizzi/dokuwiki-template-bootstrap3/commit…
30 …Ládi</b></sub></a><br /><a href="https://github.com/giterlizzi/dokuwiki-template-bootstrap3/commit…
31 …Cory</b></sub></a><br /><a href="https://github.com/giterlizzi/dokuwiki-template-bootstrap3/commit…
34 …phal</b></sub></a><br /><a href="https://github.com/giterlizzi/dokuwiki-template-bootstrap3/commit…
37 …rlizzi/dokuwiki-template-bootstrap3/commits?author=polyzen" title="Code">��</a> <a href="https://g…
39 …arty</b></sub></a><br /><a href="https://github.com/giterlizzi/dokuwiki-template-bootstrap3/commit…
42 …nett</b></sub></a><br /><a href="https://github.com/giterlizzi/dokuwiki-template-bootstrap3/commit…
59 …e who have contributed to the template, see [GitHub's list of contributors](https://github.com/git…
[all …]
/template/monochrome/
H A DREADME.md3 This template is meant for traditional wiki usage. The general look was partly inspired by Dokuwiki…
7 This template is published under the GNU General Public License (GPL) V2.
11 This template is based on the starter template and uses parts from Dokuwiki’s default template.
19 In the configuration plugin chose `monochrome` as your template.
23 The basic configuration is done via template style settings.
27 This template should work well with all current browsers.
/template/prsnl10/
H A DREADME9 Website: <https://www.dokuwiki.org/template:prsnl10>
21 template in the Config Manager by adjusting the template option.
25 [1] <https://www.dokuwiki.org/template>
26 [2] <https://www.dokuwiki.org/template:prsnl10#update>
30 III. Customizing the template
33 these hints for customizing the template:
39 to update the template without loosing your changes.
114 [1] <https://www.dokuwiki.org/template:prsnl10#faq>
129 this template follows its rules.
194 template's "main.php".
[all …]
/template/flarum/
H A DREADME.md1 # dokuwiki-template-flarum
3 dokuwiki-template-flarum
11 ![首页截图](https://github.com/wfsdaj/dokuwiki-template-flarum/blob/main/screenshot_homepage.png)
13 ![最近更改截图](https://github.com/wfsdaj/dokuwiki-template-flarum/blob/main/screenshot_recent.png)
15 ![编辑页面截图](https://github.com/wfsdaj/dokuwiki-template-flarum/blob/main/screenshot_edit.png)
17 ![管理页面截图](https://github.com/wfsdaj/dokuwiki-template-flarum/blob/main/screenshot_admin.png)
/template/mnml-blog/
H A DREADME8 Website: <https://www.dokuwiki.org/template:mnml-blog>
22 template in the Config Manager by adjusting the template option.
31 template [3]. Please copy these files into all used BlogTNG data template
46 See the mnml-blog template website for instructions [5].
48 [1] <https://www.dokuwiki.org/template>
56 III. Customizing the template
59 these hints for customizing the template:
159 this template follows its rules.
181 VII. Explanatory notes about the dirs of this template
228 template's "main.php".
[all …]
/template/twigstarter/vendor/twig/twig/doc/
H A Drecipes.rst31 template names as keys and template contents as values (as done by
98 A template can be customized in two different ways:
100 * *Inheritance*: A template *extends* a parent template and overrides some
104 template it finds in a list of configured directories; a template found in a
108 (aka a template in a directory further in the list)?
231 instance, if you have the following template data::
302 saving it. If the template code is stored in a ``$template`` variable, here is
308 // the $template is valid
320 // the $template is valid
477 From a template, you can load a template stored in a string via the
[all …]
H A Dinternals.rst12 The rendering of a Twig template can be summarized into four key steps:
14 * **Load** the template: If the template is already compiled, load it and go
17 * First, the **lexer** tokenizes the template source code into small pieces
25 * **Evaluate** the template: It means calling the ``display()``
26 method of the compiled template and passing it the context.
31 The lexer tokenizes a template source code into a token stream (each token is
44 * ``\Twig\Token::EOF_TYPE``: Ends of template.
56 Here is the output for the ``Hello {{ name }}`` template:
89 Here is the output for the ``Hello {{ name }}`` template:
111 generates PHP code usable for runtime execution of the template.
[all …]
/template/icke/
H A Dtemplate.info.txt1 base icke-template
5 name ICKE template
6 desc The ICKE template is a two-sidebar, variable-width template integrating various plugins.
7 url https://www.dokuwiki.org/template:icke
/template/default/
H A DREADME.md3 This used to be the [default template for DokuWiki](http://dokuwiki.org/template:default) until 201…
6 Now the default template for dokuwiki [is called dokuwiki](http://dokuwiki.org).
10 * Metadata is in template.info.txt
12 * [More information](http://dokuwiki.org/template:default)
14 ![no longer default template screenshot](https://i.imgur.com/loAkjsa.png)
/template/khum1/
H A DREADME.md1 # Khum1, Dokuwiki template for Khaganat
5 This template is based on default Dokuwiki template (version available on 2020-04-09).
14 …ate certain plugins in particular. They have special css or hack on the template. It work without …
22 Install it like any other template. Do "search and install" in the extension manager, find "Khum1",…
29 Refer to [template](https://www.dokuwiki.org/template) on how to install and use templates in Dokuw…
44 …nika Henke and Clarence Lee (see [Dokuwiki default template credits](https://www.dokuwiki.org/temp…
46 Change on this template :
53 Dokuwiki is on GPL, so this template too. More easy and legal.
/template/twigstarter/vendor/twig/twig/src/Profiler/
H A DProfile.php26 private $template; variable in Twig\\Profiler\\Profile
33 …public function __construct(string $template = 'main', string $type = self::ROOT, string $name = '… argument
39 $this->template = $template;
47 return $this->template;
180 … return [$this->template, $this->name, $this->type, $this->starts, $this->ends, $this->profiles];
188 …list($this->template, $this->name, $this->type, $this->starts, $this->ends, $this->profiles) = $da…
/template/dokukit/
H A DREADME.md2 A dokuwiki template with the official KIT corporate design, based on the [DokuCMS](http://www.tuhh.…
6template for the old KIT webpage design. A template for the new design launched in August 2020 can…
/template/twigstarter/vendor/twig/twig/src/Error/
H A DError.php196 $template = null;
205 $template = $trace['object'];
212 if (null !== $template && null === $this->name) {
213 $this->name = $template->getTemplateName();
217 if (null !== $template && null === $this->sourcePath) {
218 $src = $template->getSourceContext();
223 if (null === $template || $this->lineno > -1) {
227 $r = new \ReflectionObject($template);
244 foreach ($template->getDebugInfo() as $codeLine => $templateLine) {

12345678910>>...39