Home
last modified time | relevance | path

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

12345678910>>...28

/plugin/doodle4/
H A Ddoodle_template.php11 $template = $this->template; variable
12 $c = count($template['choices']);
13 $c1 = count($template['doodleData']);
51 if ($template['printName'] == 'both'){
68 if ($template['showSum']){
70 echo $template['result'];
74 echo $template['count'][$col];
82 echo $template['inputTR']
166 if ($template['showSum']){
168 echo $template['result'];
[all …]
/plugin/onlineordering/
H A Dsend_form.php66 $template = str_replace('{title}', $form['title'], $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
100 $template = str_replace('{date}', $date, $template); variable
101 $template = str_replace('{time}', $time, $template); variable
[all …]
/plugin/doodle3/
H A Ddoodle_template.php11 $template = $this->template; variable
12 $c = count($template['choices']);
22 <input type="hidden" name="formId" value="<?php echo $template['formId'] ?>" >
31 <?php echo $template['title'] ?>
36 <?php foreach ($template['choices'] as $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>
62 echo $template['inputTR']
65 <?php if (!empty($template['msg'])) { ?>
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DTemplateTest.php40 $templates = ['index' => $template];
42 $template = $env->load('index');
55 $template->render($context);
93 $template = new Twig_TemplateTest($twig);
199 $template->getAttribute($template, 'renderBlock', ['name', [], $blocks]);
200 $template->getAttribute($template, 'displayBlock', ['name', [], $blocks]);
201 $template->getAttribute($template, 'hasBlock', ['name', []]);
202 $template->getAttribute($template, 'render', [[]]);
203 $template->getAttribute($template, 'display', [[]]);
227 $template->renderBlock('unknown', []);
[all …]
H A DLexerTest.php32 $template = '{% § %}';
43 $template = '{{ §() }}';
54 $template = '{{ {"a":{"b":"c"}} }}';
80 $template = "foo\n"
102 $template = "foo\n"
218 $template = '{{ "bar \#{baz+1}" }}';
233 $template = '{{ "bar # baz" }}';
252 $template = '{{ "bar #{x" }}';
303 $template = "{{ 1 and\n0}}";
322 $template = '
[all …]
H A 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/doodle2/
H A Ddoodle_template.php11 $template = $this->template; variable
12 $c = count($template['choices']);
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']
63 <?php if (!empty($template['msg'])) { ?>
[all …]
/plugin/authucenter/lib/uc_client/control/
H A Dfeed.php89 $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);
98 $template = nl2br($template);
[all …]
/plugin/combo/vendor/salesforce/handlebars-php/src/Handlebars/
H A DHelpers.php215 * @param \Handlebars\Template $template template that is being rendered
218 * @param string $source part of template that is wrapped
223 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
296 helperEach($template, $context, $args, $source) global() argument
367 renderElse($template, $context) global() argument
391 helperUnless($template, $context, $args, $source) global() argument
418 helperWith($template, $context, $args, $source) global() argument
441 helperBindAttr($template, $context, $args, $source) global() argument
459 helperUpper($template, $context, $args, $source) global() argument
477 helperLower($template, $context, $args, $source) global() argument
495 helperCapitalize($template, $context, $args, $source) global() argument
513 helperCapitalizeWords($template, $context, $args, $source) global() argument
531 helperReverse($template, $context, $args, $source) global() argument
549 helperFormatDate($template, $context, $args, $source) global() argument
581 helperInflect($template, $context, $args, $source) global() argument
605 helperDefault($template, $context, $args, $source) global() argument
627 helperTruncate($template, $context, $args, $source) global() argument
653 helperRaw($template, $context, $args, $source) global() argument
674 helperRepeat($template, $context, $args, $source) global() argument
703 helperDefine($template, $context, $args, $source) global() argument
730 helperInvoke($template, $context, $args, $source) global() argument
[all...]
/plugin/freechat/phpfreechat/lib/csstidy-1.2/
H A 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];
177 $out .= $template[4] . $this->_htmlsp($token[1], $plain) . ':' . $template[5];
196 $out .= $template[10] . str_replace("\n", "\n" . $template[10], $in_at_out);
[all …]
/plugin/randomtables/table-roller/src/Generator/
H A 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;
[all...]
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
H A Dutility.js210 var fancyTemplate = _.template('<ul><% ' +
246 var template = _.template('<i><%- value %></i>');
247 result = template({value: '<script>'});
252 template: _.template("I'm <%= this.name %>") property in AnonymousFunctiona8f0c16b1c00.stooge
256 template = _.template('\n ' +
308 _.template('<b><%= if x %></b>');
375 _.template('', {}, {variable: 'x'});
380 var template = _.template('<%=x%>');
400 var template = _.template('<%= f() %>');
411 _.template('', null, settings);
[all …]
/plugin/findologicxmlexport/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;
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/
H A Dinclude.rst7 The ``include`` function returns the rendered content of a template:
11 {{ include('template.html') }}
25 {{ include('template.html', {foo: 'bar'}) }}
38 {{ include('template.html', with_context = false) }}
43 // {{ include(template) }}
46 $template = $twig->loadTemplate('some_template.twig');
49 $template = $twig->load('some_template.twig');
51 $twig->display('template.twig', ['template' => $template]);
54 the template does not exist:
61 inclusion. The first template that exists will be rendered:
[all …]
/plugin/pagetemplater/
H A Daction.php40 $template = $this->resolve_template();
41 if ( !$template || $ACT != 'show' ) { return; }
44 $template = p_wiki_xhtml( $template );
53 $new = $template;
55 if ( $new != $template ) { $template = $new; }
81 $template = $this->resolve_template( $event->data['current']['templater'] );
82 …if ( empty( $template) || in_array($template, array( $id, $event->data['page']) ) ) { return true;…
84 $meta = p_get_metadata( $template, '', METADATA_RENDER_UNLIMITED );
104 $template = $this->_getActiveNamespace();
105 if ( !$template && empty( $page ) ) return;
[all …]
/plugin/icalevents/conf/
H A 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/icalevents/
H A Dsyntax-impl.php90 if (!isset($template) || $template == '') {
130 $template,
145 $template,
317 $template = str_replace('{summary}', $summary, $template);
323 $template = str_replace('{location}', $location, $template);
329 $template = str_replace('{location_link}', $locationLink, $template);
332 $template = str_replace('{location}', 'Unknown', $template);
334 $template = str_replace('{location_link}', 'Unknown', $template);
349 $template = str_replace('{date}', $whenString, $template);
350 $template .= "\n";
[all …]
/plugin/multitemplate_styleman/
H A 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/findologicxmlexport/vendor/twig/twig/doc/tags/
H A Dinclude.rst32 {% set content = include('template.html') %}
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 %}
70 The template name can be any valid Twig expression:
80 // {% include template %}
83 $template = $twig->loadTemplate('some_template.twig');
86 $template = $twig->load('some_template.twig');
88 $twig->display('template.twig', ['template' => $template]);
[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
157 instance, Twig will use it as the parent template::
173 first template that exists will be used as a parent:
189 In this example, the template will extend the "minimum.html" layout template
[all …]
H A Duse.rst11 template blocks reusable without using inheritance.
14 limited to single inheritance; a template can only extend one other template.
15 This limitation makes template inheritance simple to understand and easy to
38 ``blocks.html`` into the current template (it's like macros, but for blocks):
47 main template. The code is mostly equivalent to the following one (the
60 The ``use`` tag only imports a template if it does not extend another
61 template, if it does not define macros, and if the body is empty. But it
67 passed to the template, the template reference cannot be an expression.
69 The main template can also override any imported block. If the template
88 template:
[all …]
/plugin/wst/syntax/
H A 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/
H A 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
30 * $_GET[template /^[\w-]*$/ - template dir to search for the file
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
39 * default_tpl, dokuwiki template setting
40 * base_tpl, fallback template
[all …]
/plugin/pagemod/helper/
H A 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);
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CustomSearchAPI/
H A DSearchUrl.php25 public $template; variable in Google\\Service\\CustomSearchAPI\\SearchUrl
34 public function setTemplate($template) argument
36 $this->template = $template;
43 return $this->template;

12345678910>>...28