Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 1610) sorted by relevance

12345678910>>...65

/plugin/mdpage/vendor/cebe/markdown/
DMarkdownExtra.php5 use cebe\markdown\block\TableTrait;
20 use block\TableTrait;
21 use block\FencedCodeTrait;
109 $block = [
117 $block['attributes'] = substr($line, $pos);
126 $block['content'] = implode("\n", $content);
127 return [$block, $i];
130 protected function renderCode($block) argument
132 $attributes = $this->renderAttributes($block);
134 . htmlspecialchars($block['content'] . "\n", ENT_NOQUOTES | ENT_SUBSTITUTE, 'UTF-8')
[all …]
/plugin/mdpage/src/DokuWiki/Plugin/Mdpage/
DMarkdownRendererTrait.php43 foreach ($blocks as $block) {
44 if ($block[0] == 'text') {
45 $result .= $block[1];
54 protected function renderParagraph($block) { argument
58 $this->renderAbsy($block['content']);
66 protected function renderText($block) { argument
67 $contentLines = preg_split('/ +\n/', $block[1]);
84 protected function renderCode($block) { argument
86 if (array_key_exists('language', $block)) {
87 $lang = $block['language'];
[all …]
/plugin/wysiwyg/fckeditor/editor/_source/commandclasses/
Dfckblockquotecommand.js39 var block ;
45 while ( ( block = iterator.GetNextParagraph() ) )
46 paragraphs.push( block ) ;
53 block = paragraphs[i] ;
54 commonParent = FCKDomTools.GetCommonParents( block.parentNode, commonParent ).pop() ;
59 block = paragraphs.shift() ;
60 while ( block.parentNode != commonParent )
61 block = block.parentNode ;
62 if ( block != lastBlock )
63 tmp.push( block ) ;
[all …]
/plugin/mdpage/vendor/cebe/markdown/inline/
DLinkTrait.php194 protected function renderEmail($block) argument
196 $email = htmlspecialchars($block[1], ENT_NOQUOTES | ENT_SUBSTITUTE, 'UTF-8');
200 protected function renderUrl($block) argument
202 $url = htmlspecialchars($block[1], ENT_COMPAT | ENT_HTML401, 'UTF-8');
203 $decodedUrl = urldecode($block[1]);
204 $secureUrlText = preg_match('//u', $decodedUrl) ? $decodedUrl : $block[1];
218 protected function renderLink($block) argument
220 if (isset($block['refkey'])) {
221 if (($ref = $this->lookupReference($block['refkey'])) !== false) {
222 $block = array_merge($block, $ref);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/
Duse.test9 {% block content_parent %}
13 {% block content_use1 %}
17 {% block content_use2 %}
21 {% block content %}
22 {{ block('content_use1_only') }}
23 {{ block('content_use2_only') }}
26 {% block content_parent 'content_parent' %}
27 {% block content_use1 'content_parent' %}
28 {% block content_use2 'content_parent' %}
29 {% block content '' %}
[all …]
/plugin/wysiwyg/fckeditor/editor/_source/classes/
Dfckdomrangeiterator.js65 var block ;
123 block = currentNode ;
214 if ( !block )
223 block = range.StartBlock ;
225 if ( !block
231 block = range.StartBlockLimit ;
233 else if ( !block || ( this.EnforceRealBlocks && block.nodeName.toLowerCase() == 'li' ) )
236 block = this.Range.Window.document.createElement( FCKConfig.EnterMode == 'p' ? 'p' : 'div' ) ;
239 range.ExtractContents().AppendTo( block ) ;
240 FCKDomTools.TrimNode( block ) ;
[all …]
/plugin/mdpage/vendor/cebe/markdown/block/
DListTrait.php8 namespace cebe\markdown\block;
47 $block = [
53 return $this->consumeList($lines, $current, $block, 'ol');
63 $block = [
68 return $this->consumeList($lines, $current, $block, 'ul');
71 private function consumeList($lines, $current, $block, $type) argument
100 if (!isset($block['attr']['start']) && isset($matches[2])) {
101 $block['attr']['start'] = $matches[2];
105 $block['items'][++$item][] = $line;
106 $block['lazyItems'][$item] = $lastLineEmpty;
[all …]
DTableTrait.php8 namespace cebe\markdown\block;
33 $block = [
47 $block['cols'][] = '';
53 $block['cols'][] = 'center';
55 $block['cols'][] = 'left';
57 $block['cols'][] = 'right';
59 $block['cols'][] = '';
79 $r = count($block['rows']);
81 $block['rows'][] = [];
83 if (!isset($block['rows'][$r][$c])) {
[all …]
DHeadlineTrait.php8 namespace cebe\markdown\block;
42 $block = [
47 return [$block, $current];
50 $block = [
55 return [$block, $current + 1];
62 protected function renderHeadline($block) argument
64 $tag = 'h' . $block['level'];
65 return "<$tag>" . $this->renderAbsy($block['content']) . "</$tag>\n";
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
Dblock.rst1 ``block``
5 Using ``block`` with the ``defined`` test was added in Twig 1.28.
10 When a template uses inheritance and if you want to print a block multiple
11 times, use the ``block`` function:
13 .. code-block:: jinja
15 <title>{% block title %}{% endblock %}</title>
17 <h1>{{ block('title') }}</h1>
19 {% block body %}{% endblock %}
21 The ``block`` function can also be used to display one block from another
24 .. code-block:: jinja
[all …]
Dparent.rst5 parent block when overriding a block by using the ``parent`` function:
7 .. code-block:: jinja
11 {% block sidebar %}
17 The ``parent()`` call will return the content of the ``sidebar`` block as
20 … seealso:: :doc:`extends<../tags/extends>`, :doc:`block<../functions/block>`, :doc:`block<../tags/
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/
Dextends.rst15 .. code-block:: html+jinja
20 {% block head %}
22 <title>{% block title %}{% endblock %} - My Webpage</title>
26 <div id="content">{% block content %}{% endblock %}</div>
28 {% block footer %}
35 In this example, the :doc:`block<block>` tags define four blocks that child
38 All the ``block`` tag does is to tell the template engine that a child
46 .. code-block:: jinja
50 {% block title %}Index{% endblock %}
51 {% block head %}
[all …]
Duse.rst18 .. code-block:: jinja
22 {% block title %}{% endblock %}
23 {% block content %}{% endblock %}
28 .. code-block:: jinja
34 {% block title %}{% endblock %}
35 {% block content %}{% endblock %}
40 .. code-block:: jinja
44 {% block sidebar %}{% endblock %}
46 In this example, the ``use`` statement imports the ``sidebar`` block into the
50 .. code-block:: jinja
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/
Ddefined_for_blocks.test5 {% block icon %}icon{% endblock %}
6 {% block body %}
8 {{ block('foo') is defined ? 'ok' : 'ko' }}
9 {{ block('footer') is defined ? 'ok' : 'ko' }}
10 {{ block('icon') is defined ? 'ok' : 'ko' }}
11 {{ block('block1') is defined ? 'ok' : 'ko' }}
13 {% block content %}content{% endblock %}
18 {% block body %}
19 {{ block('icon') is defined ? 'ok' : 'ko' -}}
21 {% block footer %}{% endblock %}
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/
Drecursive_block_with_inheritance.test2 "block" function recursively called in a parent template
5 {% block label %}"{{ parent() }}"{% endblock %}
6 {% block list %}{% set class = 'b' %}{{ parent() }}{% endblock %}
9 {% block list %}{% set class = class|default('a') %}<ol class="{{ class }}">{{ block('children') }}…
12 {% block list %}<ul>{{ block('children') }}</ul>{% endblock %}
13 {% block children %}{% set currentItem = item %}{% for item in currentItem %}{{ block('item') }}{% …
14 {% block item %}<li>{% if item is not iterable %}{{ block('label') }}{% else %}{{ block('list') }}{…
15 {% block label %}{{ item }}{% endblock %}
17 {{ block('list') }}
/plugin/asciidocjs/node_modules/pug-parser/
Dindex.js104 var block = this.emptyBlock(0);
110 block.nodes = block.nodes.concat(this.parseTextHtml());
115 block.nodes = block.nodes.concat(expr.nodes);
117 block.nodes.push(expr);
123 return block;
230 return this.parseText({block: true}); property
308 if (!options || !options.block) break loop;
360 var block = this.block();
361 block.nodes.forEach(function (node) {
400 return this.block();
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/
Dparent_block.test5 {% block foobar %}
6 {{- block('base_base_foobar') -}}
7 Content of block (second override)
11 {% block foobar %}
12 {{- block('base_foobar') -}}
13 Content of block (first override)
16 {% block foobar -%}
17 Content of block
22 Content of block
23 Content of block (first override)
[all …]
Dparent_block2.test5 {% block foobar %}
7 Content of block (second override)
11 {% block foobar %}
13 Content of block (first override)
16 {% block foobar -%}
17 Content of block
22 Content of block
23 Content of block (first override)
24 Content of block (second override)
Dmultiple_aliases.test7 {{ block('content') }}
8 {{ block('foo') }}
9 {{ block('bar') }}
10 {{ block('foo_content') }}
12 {% block content 'foo' %}
13 {% block foo 'foo' %}
15 {% block content 'bar' %}
16 {% block bar 'bar' %}
Dmultiple.test7 {{ block('content') }}
8 {{ block('foo') }}
9 {{ block('bar') }}
11 {% block content 'foo' %}
12 {% block foo 'foo' %}
14 {% block content 'bar' %}
15 {% block bar 'bar' %}
Ddeep.test6 {{ block('content') }}
7 {{ block('foo') }}
8 {{ block('bar') }}
12 {% block content 'foo' %}
13 {% block foo 'foo' %}
15 {% block content 'bar' %}
16 {% block bar 'bar' %}
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/
DAddBlock.php31 protected $block; variable in Elasticsearch\\Endpoints\\Indices\\AddBlock
36 $block = $this->block ?? null;
38 if (isset($index) && isset($block)) {
39 return "/$index/_block/$block";
60 public function setBlock($block): AddBlock argument
62 if (isset($block) !== true) {
65 $this->block = $block;
/plugin/html2pdf/html2pdf/html2ps/classes/org/active-link/doc/
DPHPClass.php121 $block = array();
135 $block[$name][] = $value;
137 $block[$name] = $value;
142 if(array_key_exists("method", $block)) {
143 $tempMethod = new Method($block["method"]);
144 unset($block["method"]);
145 if(isset($block["param"]) && is_array($block["param"])) {
146 foreach($block["param"] as $param) {
150 unset($block["param"]);
151 foreach($block as $name => $value) {
[all …]
/plugin/questionnaire/
DminiYAML.php261 * @param string[] $block
266 function _readVar($block,&$lines_read,$options = array()){ argument
271 if(is_string($block)){ $block = array($block); }
275 if(sizeof($block)==0){ return null; }
278 if(preg_match("/^- /",$block[0])){
279 return $this->_readIndexedArray($block,$lines_read);
281 if(preg_match("/^[^\\s\"]+?:(\\s+[^\\s].*|\\s*)$/",$block[0])){
282 return $this->_readHashArray($block,$lines_read);
286 if(sizeof($block)==1){ // toto je spatne!!!! zde zapadne i indexove pole o velikosti 1
288 $out = trim($block[0]);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/LegacyFixtures/functions/
Dundefined_block.legacy.test2 "block" function with undefined block
5 {% block foo %}{{ parent() }}{{ block('unknown') }}{{ block('bar') }}{% endblock %}
7 {% block foo %}Foo{% endblock %}
8 {% block bar %}Bar{% endblock %}

12345678910>>...65