Home
last modified time | relevance | path

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

12345678910>>...36

/plugin/doodle4/
Ddoodle_template.php11 $template = $this->template; variable
12 $c = count($template['choices']);
13 $c1 = count($template['doodleData']);
18 <form action="<?php echo wl() ?>" method="post" name="doodle__form" id="<?php echo $template['formI…
23 <input type="hidden" name="formId" value="<?php echo $template['formId'] ?>" >
29 if ($template['userlist'] == 'vertical'){
37 <?php echo $template['title'] ?>
42 <?php foreach ($template['choices'] as $choice) { ?>
43 …<td class="centeralign" style="width:<?php echo $template['fieldwidth'] ?>"><?php echo $choice ?><…
47 <?php foreach ($template['doodleData'] as $fullname => $userData) { ?>
[all …]
/plugin/onlineordering/
Dsend_form.php63 $template = @file_get_contents(DOKU_PLUGIN.'onlineordering/template_'.$conf['lang'].'.txt'); variable
66 $template = str_replace('{title}', $form['title'], $template); variable
67 $template = str_replace('{firstname}', $form['firstname'], $template); variable
68 $template = str_replace('{lastname}', $form['lastname'], $template); variable
69 $template = str_replace('{postcode}', $form['postcode'], $template); variable
70 $template = str_replace('{street}', $form['street'], $template); variable
71 $template = str_replace('{place}', $form['place'], $template); variable
72 $template = str_replace('{country}', $form['country'], $template); variable
73 $template = str_replace('{remarks}', $form['remarks'], $template); variable
75 $template = str_replace('{ticket}', $ticket, $template); variable
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
DTemplateTest.php31 $template = $this->getMockForAbstractClass('\Twig\Template', [], '', false);
32 $template->displayBlock('foo', [], ['foo' => [new \stdClass(), 'foo']]);
38 public function testGetAttributeExceptions($template, $message) argument
40 $templates = ['index' => $template];
42 $template = $env->load('index');
55 $template->render($context);
93 $template = new Twig_TemplateTest($twig);
96 $template->getAttribute($object, $item, [], 'any');
133 $template = new Twig_TemplateTest($twig, 'index.twig');
136 $this->assertInstanceOf('\Twig\Markup', $template->getAttribute($template1, 'string'));
[all …]
DLexerTest.php32 $template = '{% § %}';
35 $stream = $lexer->tokenize(new Source($template, 'index'));
43 $template = '{{ §() }}';
46 $stream = $lexer->tokenize(new Source($template, 'index'));
54 $template = '{{ {"a":{"b":"c"}} }}';
56 $this->assertEquals(2, $this->countToken($template, Token::PUNCTUATION_TYPE, '{'));
57 $this->assertEquals(2, $this->countToken($template, Token::PUNCTUATION_TYPE, '}'));
60 protected function countToken($template, $type, $value = null) argument
63 $stream = $lexer->tokenize(new Source($template, 'index'));
80 $template = "foo\n"
[all …]
DErrorTest.php53 $template = $twig->load('index.html');
55 $template->render([]);
81 $template = $twig->load('index.html');
83 $template->render(['foo' => new Twig_Tests_ErrorTest_Foo()]);
98 $template = $twig->load('index.html');
100 $template->render([]);
117 $template = $twig->load('index.html');
119 $template->render(['foo' => new Twig_Tests_ErrorTest_Foo()]);
139 $template = $twig->load('index');
142 $template->render([]);
[all …]
/plugin/doodle3/
Ddoodle_template.php11 $template = $this->template; variable
12 $c = count($template['choices']);
17 <form action="<?php echo wl() ?>" method="post" name="doodle__form" id="<?php echo $template['formI…
22 <input type="hidden" name="formId" value="<?php echo $template['formId'] ?>" >
31 <?php echo $template['title'] ?>
36 <?php foreach ($template['choices'] as $choice) { ?>
37 …<td class="centeralign" style="width:<?php echo $template['fieldwidth'] ?>"><?php echo $choice ?><…
41 <?php foreach ($template['doodleData'] as $fullname => $userData) { ?>
54 <th class="rightalign"><b><?php echo $template['result'] ?></b></th>
56 <th class="centeralign"><b><?php echo $template['count'][$col] ?></b></th>
[all …]
/plugin/authucenter/lib/uc_client/control/
Dfeed.php88 function _parsetemplate($template) { argument
89 $template = str_replace(array("\r", "\n"), '', $template);
90 $template = str_replace(array('<br>', '<br />', '<BR>', '<BR />'), "\n", $template);
91 $template = str_replace(array('<b>', '<B>'), '[B]', $template);
92 $template = str_replace(array('<i>', '<I>'), '[I]', $template);
93 $template = str_replace(array('<u>', '<U>'), '[U]', $template);
94 $template = str_replace(array('</b>', '</B>'), '[/B]', $template);
95 $template = str_replace(array('</i>', '</I>'), '[/I]', $template);
96 $template = str_replace(array('</u>', '</U>'), '[/U]', $template);
97 $template = dhtmlspecialchars($template);
[all …]
/plugin/combo/vendor/salesforce/handlebars-php/src/Handlebars/
H A DHelpers.php223 public function helperIf($template, $context, $args, $source) argument
225 $tpl = $template->getEngine()->loadString('{{#if ' . $args . '}}' . $source . '{{/if}}');
237 $template->setStopToken($token);
238 $buffer = $template->render($context);
239 $template->setStopToken(false);
240 $template->discard();
246 $template->setStopToken($node['name']);
247 $template->discard();
248 $template->setStopToken(false);
260 $template->setStopToken($token);
[all …]
/plugin/doodle2/
Ddoodle_template.php11 $template = $this->template; variable
12 $c = count($template['choices']);
16 <form action="<?php echo wl() ?>" method="post" name="doodle__form" id="<?php echo $template['formI…
21 <input type="hidden" name="formId" value="<?php echo $template['formId'] ?>" >
29 <?php echo $template['title'] ?>
34 <?php foreach ($template['choices'] as $choice) { ?>
39 <?php foreach ($template['doodleData'] as $fullname => $userData) { ?>
52 <th class="rightalign"><b><?php echo $template['result'] ?></b></th>
54 <th class="centeralign"><b><?php echo $template['count'][$col] ?></b></th>
60 echo $template['inputTR']
[all …]
/plugin/freechat/phpfreechat/lib/csstidy-1.2/
Dclass.csstidy_print.php72 $this->template =& $css->template;
131 $template =& $this->template;
134 $template = array_map('strip_tags', $template);
142 $output .= $template[0].'@charset '.$template[5].$this->charset.$template[6];
147 $output .= $template[0].'@import '.$template[5].$this->import[$i].$template[6];
152 $output .= $template[0].'@namespace '.$template[5].$this->namespace.$template[6];
155 $output .= $template[13];
164 $out .= $template[0].$this->_htmlsp($token[1], $plain).$template[1];
170 …$out .= ($token[1]{0} !== '@') ? $template[2].$this->_htmlsp($token[1], $plain) : $template[0].$th…
171 $out .= $template[3];
[all …]
/plugin/pagecss/vendor/csstidy-2.2.1/
H A Dclass.csstidy_print.php70 public $template; variable in csstidy_print
85 $this->template = & $css->template;
190 $template = & $this->template;
193 $template = array_map('strip_tags', $template);
201 …$output .= $template[0] . '@charset ' . $template[5] . $this->charset . $template[6] . $template[1…
216 …$output .= $template[0] . '@import ' . $template[5] . $this->import[$i] . $template[6] . $template
226 …$output .= $template[0] . '@namespace ' . $template[5] . $this->namespace . $template[6] . $templa…
236 $out .= $template[0] . $this->_htmlsp($token[1], $plain) . $template[1];
247 …$out .= ( $token[1][0] !== '@') ? $template[2] . $this->_htmlsp($token[1], $plain) : $template[0] …
248 $out .= $template[3];
[all …]
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
Dutility.js197 var basicTemplate = _.template("<%= thing %> is gettin' on my noives!");
201 var sansSemicolonTemplate = _.template('A <% this %> B');
204 var backslashTemplate = _.template('<%= thing %> is \\ridanculous');
207 var escapeTemplate = _.template('<%= a ? "checked=\\"checked\\"" : "" %>');
210 var fancyTemplate = _.template('<ul><% ' +
216 …var escapedCharsInJavascriptTemplate = _.template('<ul><% _.each(numbers.split("\\n"), function(it…
220 …var namespaceCollisionTemplate = _.template('<%= pageCount %> <%= thumbnails[pageCount] %> <% _.ea…
231 …var noInterpolateTemplate = _.template('<div><p>Just some text. Hey, I know this is silly but it a…
235 var quoteTemplate = _.template("It's its, not it's");
238 var quoteInStatementAndBody = _.template('<% ' +
[all …]
/plugin/randomtables/table-roller/src/Generator/
DBaseGenerator.php11 protected string $template; variable in TableRoller\\Generator\\BaseGenerator
20 * @param string $template
29 * @param string $template
31 public function setTemplate(string $template): void argument
33 $this->template = $template;
59 $template = $this->getTemplate();
60 } elseif (!empty($this->template)) {
61 $template = $this->template;
64 if (empty($template)) {
68 return preg_replace_callback('/\[([^]]+)\]/', [$this, 'doReplacements'], $template);
/plugin/findologicxmlexport/vendor/twig/twig/src/
DTemplateWrapper.php22 private $template; variable in Twig\\TemplateWrapper
30 public function __construct(Environment $env, Template $template) argument
33 $this->template = $template;
47 return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []);
59 $this->template->display($context, \func_num_args() > 1 ? func_get_arg(1) : []);
72 return $this->template->hasBlock($name, $context);
84 return $this->template->getBlockNames($context);
101 $this->template->displayBlock($name, $context);
127 $this->template->displayBlock($name, $this->env->mergeGlobals($context));
135 return $this->template->getSourceContext();
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
Dinclude.rst7 The ``include`` function returns the rendered content of a template:
11 {{ include('template.html') }}
19 The context is passed by default to the template but you can also pass
24 …{# template.html will have access to the variables from the current context and the additional one…
25 {{ include('template.html', {foo: 'bar'}) }}
33 {{ include('template.html', {foo: 'bar'}, with_context = false) }}
38 {{ include('template.html', with_context = false) }}
43 // {{ include(template) }}
46 $template = $twig->loadTemplate('some_template.twig');
49 $template = $twig->load('some_template.twig');
[all …]
/plugin/pagetemplater/
Daction.php38 $template = $this->resolve_template();
39 if ( !$template || $ACT != 'show' ) { return; }
42 $template = p_wiki_xhtml( $template );
51 $new = $template;
53 if ( $new != $template ) { $template = $new; }
58 $new = str_replace('@@' . strtoupper(trim($rkey)) . '@@', $replace[$key], $template);
79 $template = $this->resolve_template( $event->data['current']['templater'] );
80 …if ( empty( $template) || in_array($template, array( $id, $event->data['page']) ) ) { return true;…
82 $meta = p_get_metadata( $template, '', METADATA_RENDER_UNLIMITED );
107 $template = $this->_getActiveNamespace();
[all …]
/plugin/icalevents/
Dsyntax-impl.php89 $template = $this->getConf('template:' . $showAs);
90 if (!isset($template) || $template == '') {
91 $template = $this->getConf('default');
130 $template,
145 $template,
255 … = $this->renderEvent($mode, $renderer, $event, $template, $dateFormat, $timeFormat);
292 $linksPerEvent = substr_count($template, '{summary_link}');
305 * @param string $template
311 …function renderEvent($mode, Doku_Renderer $renderer, $event, $template, $dateFormat, $timeFormat) { argument
313 $template = str_replace('{description}', $this->textAsWiki($event->DESCRIPTION), $template);
[all …]
/plugin/icalevents/conf/
Dmetadata.php16 $meta['template:default'] = array('');
17 $meta['template:list'] = array('');
18 $meta['template:table'] = array('');
19 $meta['template:table_without_description'] = array('');
20 $meta['template:custom1'] = array('');
21 $meta['template:custom2'] = array('');
22 $meta['template:custom3'] = array('');
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/
Dinclude.rst4 The ``include`` statement includes a template and returns the rendered content
20 template outputs its rendered contents in the current scope; a tag should
23 * The rendered template can be more easily stored in a variable when using
28 {% set content %}{% include 'template.html' %}{% endset %}
32 {% set content = include('template.html') %}
46 …{# template.html will have access to the variables from the current context and the additional one…
47 {% include 'template.html' with {'foo': 'bar'} %}
50 {% include 'template.html' with vars %}
57 {% include 'template.html' with {'foo': 'bar'} only %}
62 {% include 'template.html' only %}
[all …]
Dextends.rst4 The ``extends`` tag can be used to extend a template from another one.
12 Let's define a base template, ``base.html``, which defines a simple HTML
38 All the ``block`` tag does is to tell the template engine that a child
39 template may override those portions of the template.
44 A child template might look like this:
64 The ``extends`` tag is the key here. It tells the template engine that this
65 template "extends" another template. When the template system evaluates this
66 template, first it locates the parent. The extends tag should be the first tag
67 in the template.
69 Note that since the child template doesn't define the ``footer`` block, the
[all …]
/plugin/multitemplate_styleman/
Dcss.php14 $template = NULL; variable
18 $template = $tpl; variable
23 if (isset($template)) {
28 define('DOKU_TPL', $DOKU_BASE.'lib/tpl/' . $template .'/');
29 define('DOKU_TPLINC',realpath(dirname(__FILE__).'/../../') . '/tpl/' . $template .'/');
39 if (isset($template))
40 $conf['template'] = $template;
/plugin/wst/syntax/
Dtemplate.php79 $template = $this->get_template($template_name);
80 if (!$template) return;
81 $template_text = $this->replace_args($template, $template_arguments);
105 …$template = rawWiki((substr($name, 0, 1) == ":") || ($this->getConf('namespace') == '') ? substr($…
106 if (!$template) return false;
107 $template = preg_replace('/<noinclude>.*?<\/noinclude>/s', '', $template);
108 $template = preg_replace('/<includeonly>|<\/includeonly>/', '', $template);
109 return $template;
/plugin/templateconfhelper/
DREADME3 various functions to help with template management.
4 * template inheritance with cascade [[#inheritance]]
9 changes template based on users Selection via GET and saves it in the Session.
13 * $_GET[utpl] /^[\w-]+$/ - override template
21 * tpl_loadconfig( $tpl ) - reload config for template, called on switch
25 uses FETCH_MEDIA_STATUS event to hook into fetch.php. This allows to have template files outside of…
30 * $_GET[template /^[\w-]*$/ - template dir to search for the file
32 …rewrite ^/lib/tpl/((.*)/)?images/(.*) /lib/exe/fetch.php?mode=styleimg&media=$3&template=$2 l…
36template.php// use following new config settings to look up templatefiles. Files that dont exist i…
38 * template, dokuwiki template setting possibly overwritten by template switch
[all …]
/plugin/yatp/
Dhelper.php18 $template = rawWiki($pageName);
19 if (!$template) return false;
20 $template = preg_replace('/<noinclude>.*?<\/noinclude>/s', '', $template);
21 $template = preg_replace('/<includeonly>|<\/includeonly>/', '', $template);
22 return $template;
/plugin/pagemod/helper/
Dpagemod.php62 $template = rawWiki($page_to_modify);
63 if(empty($template)) {
69 $template = $this->updatePage($template, $template_section_id);
70 if(!$template) {
75 saveWikiText($page_to_modify, $template, sprintf($this->getLang('summary'), $ID));
128 * @param string $template
132 protected function updatePage($template, $template_section_id) { argument
134 …callback('/<pagemod (\w+)(?: (.+?))?>(.*?)<\/pagemod>/s', array($this, 'parsePagemod'), $template);

12345678910>>...36