Home
last modified time | relevance | path

Searched refs:template_vars (Results 1 – 25 of 149) sorted by relevance

123456

/dports/www/serendipity/Serendipity-2.3.5/include/
H A Dfunctions_entries_admin.inc.php31 $template_vars = array();
38 $template_vars['draft_mode'] = 'draft';
41 $template_vars['draft_mode'] = 'publish';
45 $template_vars['moderate_comments'] = true;
50 $template_vars['moderate_comments'] = true;
53 $template_vars['moderate_comments'] = false;
57 $template_vars['allow_comments'] = true;
61 $template_vars['allow_comments'] = true;
64 $template_vars['allow_comments'] = false;
129 $template_vars['show_wysiwyg'] = true;
[all …]
/dports/security/p5-openxpki-i18n/openxpki-3.16.1/core/server/OpenXPKI/Server/Notification/
H A DHandler.pm206 my $template_vars = {
228 $template_vars->{meta_wf_id} = $workflow->id();
229 $template_vars->{meta_wf_type} = $workflow->type();
230 $template_vars->{meta_wf_state} = $workflow->state();
235 $template_vars->{$key} = $val if ($val);
253 $template_vars->{'cert_info'} = $ser->deserialize( $cert_info );
259 $template_vars->{'approvals'} = $ser->deserialize( $approvals );
264 $template_vars->{'requestor'} = 'unknown';
265 …$template_vars->{'requestor'} = $template_vars->{'cert_info'}->{requestor_gname}.' ' if ($template…
266 …$template_vars->{'requestor'} .= $template_vars->{'cert_info'}->{requestor_name}.' ' if ($template…
[all …]
/dports/security/p5-openxpki/openxpki-3.16.1/core/server/OpenXPKI/Server/Notification/
H A DHandler.pm206 my $template_vars = {
228 $template_vars->{meta_wf_id} = $workflow->id();
229 $template_vars->{meta_wf_type} = $workflow->type();
230 $template_vars->{meta_wf_state} = $workflow->state();
235 $template_vars->{$key} = $val if ($val);
253 $template_vars->{'cert_info'} = $ser->deserialize( $cert_info );
259 $template_vars->{'approvals'} = $ser->deserialize( $approvals );
264 $template_vars->{'requestor'} = 'unknown';
265 …$template_vars->{'requestor'} = $template_vars->{'cert_info'}->{requestor_gname}.' ' if ($template…
266 …$template_vars->{'requestor'} .= $template_vars->{'cert_info'}->{requestor_name}.' ' if ($template…
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/schema_org/
H A Dgenerate_schema_org_code.py138 template_vars = {'entities': [], 'properties': [], 'enums': []}
153 template_vars['enums'].append({
164 template_vars['entities'].sort()
165 template_vars['properties'].sort(key=lambda p: p['name'])
167 return template_vars
170 def generate_file(file_name, template_file, template_vars): argument
172 template_vars['header_file'] = os.path.basename(
174 template_vars['header_guard'] = template_vars['header_file'].upper() + '_H'
176 f.write(env.get_template(template_file).render(template_vars))
194 template_vars = get_template_vars(args.schema_file, args.overrides_file)
[all …]
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_invites_page/
H A Dmod_invites_page.lua73 local template_vars = { app = app, invite = invite_vars, base_url = base_url };
76 app.proceed_url = render_url(app.magic_link_format or app.link or "#", template_vars);
80 app.proceed_url = render_url("{base_url!}/setup/{app.id}?{invite.token}", template_vars);
84 app.proceed_url = render_url(register_url_template, template_vars);
105 local template_vars = {
114 template_vars.apps = render_app_urls(site_apps, template_vars);
116 local invite_page = render_html_template(invite_page_template, template_vars);
118 event.response.headers["Link"] = ([[<%s>; rel="alternate"]]):format(template_vars.uri);
136 local template_vars = {
145 template_vars.app = render_app_urls({ site_apps[app_id] }, template_vars)[1];
[all …]
/dports/www/py-turbogears2/TurboGears2-2.3.12/tg/renderers/
H A Djson.py43 def render_json(template_name, template_vars, **render_params): argument
46 template_vars = template_vars[key]
49 return encode(template_vars)
52 def render_jsonp(template_name, template_vars, **render_params): argument
55 template_vars = template_vars[key]
63 values = encode(template_vars)
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/schema_org/
H A Dgenerate_schema_org_code.py200 template_vars = {
214 template_vars['enums'].append({
225 template_vars['properties'].append(
229 template_vars['entity_parent_lookup'].append({
239 template_vars['properties'].sort(key=lambda p: p['name'])
241 return template_vars
244 def generate_file(file_name, template_file, template_vars): argument
246 template_vars['header_file'] = os.path.basename(
248 template_vars['header_guard'] = template_vars['header_file'].upper() + '_H'
271 template_vars = get_template_vars_from_file(
[all …]
/dports/textproc/py-docrepr/docrepr-0.1.1/docrepr/
H A Dsphinxify.py269 template_vars = global_template_vars()
270 if template_vars['math_on']:
274 template_vars['warning'] = 'true'
352 template_vars = init_template_vars(oinfo)
356 template_vars['docstring'] = obj_doc
362 template_vars['class_docstring'] = ''
366 template_vars['docs_py_org'] = ''
379 template_vars['docs_py_org'] = link
385 argspec = escape(template_vars['argspec'])
389 template_vars['argspec'] = argspec
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/plugins/inventory/
H A Dgenerator.py107 def add_parents(self, inventory, child, parents, template_vars): argument
110 groupname = self.template(parent['name'], template_vars)
117 group.set_variable(k, self.template(v, template_vars))
119 self.add_parents(inventory, groupname, parent.get('parents', []), template_vars)
130 template_vars = dict()
132 template_vars[key] = item[i]
133 host = self.template(config['hosts']['name'], template_vars)
135 self.add_parents(inventory, host, config['hosts'].get('parents', []), template_vars)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/plugins/inventory/
H A Dgenerator.py107 def add_parents(self, inventory, child, parents, template_vars): argument
110 groupname = self.template(parent['name'], template_vars)
117 group.set_variable(k, self.template(v, template_vars))
119 self.add_parents(inventory, groupname, parent.get('parents', []), template_vars)
130 template_vars = dict()
132 template_vars[key] = item[i]
133 host = self.template(config['hosts']['name'], template_vars)
135 self.add_parents(inventory, host, config['hosts'].get('parents', []), template_vars)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/plugins/inventory/
H A Dgenerator.py108 def add_parents(self, inventory, child, parents, template_vars): argument
111 groupname = self.template(parent['name'], template_vars)
118 group.set_variable(k, self.template(v, template_vars))
120 self.add_parents(inventory, groupname, parent.get('parents', []), template_vars)
131 template_vars = dict()
133 template_vars[key] = item[i]
134 host = self.template(config['hosts']['name'], template_vars)
136 self.add_parents(inventory, host, config['hosts'].get('parents', []), template_vars)
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/includes/restler/framework/Luracast/Restler/views/
H A Ddebug.php5 $template_vars = $data;//get_defined_vars(); variable
7 unset($template_vars['response']);
8 unset($template_vars['api']);
9 unset($template_vars['request']);
10 unset($template_vars['stages']);
11 $template_vars['request'] = $data['request'];
12 $template_vars['stages'] = $data['stages'];
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/includes/restler/framework/Luracast/Restler/views/
H A Ddebug.php5 $template_vars = $data;//get_defined_vars(); variable
7 unset($template_vars['response']);
8 unset($template_vars['api']);
9 unset($template_vars['request']);
10 unset($template_vars['stages']);
11 $template_vars['request'] = $data['request'];
12 $template_vars['stages'] = $data['stages'];
/dports/devel/grpc/grpc-1.42.0/src/compiler/
H A Dnode_generator.cc125 map<std::string, std::string> template_vars; in PrintMessageTransformer() local
127 template_vars["identifier_name"] = MessageIdentifierName(full_name); in PrintMessageTransformer()
128 template_vars["name"] = full_name; in PrintMessageTransformer()
129 template_vars["node_name"] = NodeObjectPath(descriptor); in PrintMessageTransformer()
133 out->Print(template_vars, "if (!(arg instanceof $node_name$)) {\n"); in PrintMessageTransformer()
135 out->Print(template_vars, in PrintMessageTransformer()
149 out->Print(template_vars, in PrintMessageTransformer()
153 template_vars, in PrintMessageTransformer()
188 map<std::string, std::string> template_vars; in PrintService() local
190 template_vars["name"] = service->name(); in PrintService()
[all …]
/dports/devel/grpc130/grpc-1.30.2/src/compiler/
H A Dnode_generator.cc125 map<grpc::string, grpc::string> template_vars; in PrintMessageTransformer() local
127 template_vars["identifier_name"] = MessageIdentifierName(full_name); in PrintMessageTransformer()
128 template_vars["name"] = full_name; in PrintMessageTransformer()
129 template_vars["node_name"] = NodeObjectPath(descriptor); in PrintMessageTransformer()
133 out->Print(template_vars, "if (!(arg instanceof $node_name$)) {\n"); in PrintMessageTransformer()
135 out->Print(template_vars, in PrintMessageTransformer()
149 out->Print(template_vars, in PrintMessageTransformer()
153 template_vars, in PrintMessageTransformer()
188 map<grpc::string, grpc::string> template_vars; in PrintService() local
190 template_vars["name"] = service->name(); in PrintService()
[all …]
/dports/devel/grpc134/grpc-1.34.1/src/compiler/
H A Dnode_generator.cc124 map<std::string, std::string> template_vars; in PrintMessageTransformer() local
126 template_vars["identifier_name"] = MessageIdentifierName(full_name); in PrintMessageTransformer()
127 template_vars["name"] = full_name; in PrintMessageTransformer()
128 template_vars["node_name"] = NodeObjectPath(descriptor); in PrintMessageTransformer()
132 out->Print(template_vars, "if (!(arg instanceof $node_name$)) {\n"); in PrintMessageTransformer()
134 out->Print(template_vars, in PrintMessageTransformer()
148 out->Print(template_vars, in PrintMessageTransformer()
152 template_vars, in PrintMessageTransformer()
187 map<std::string, std::string> template_vars; in PrintService() local
189 template_vars["name"] = service->name(); in PrintService()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/compiler/
H A Dnode_generator.cc125 map<grpc::string, grpc::string> template_vars; in PrintMessageTransformer() local
127 template_vars["identifier_name"] = MessageIdentifierName(full_name); in PrintMessageTransformer()
128 template_vars["name"] = full_name; in PrintMessageTransformer()
129 template_vars["node_name"] = NodeObjectPath(descriptor); in PrintMessageTransformer()
133 out->Print(template_vars, "if (!(arg instanceof $node_name$)) {\n"); in PrintMessageTransformer()
135 out->Print(template_vars, in PrintMessageTransformer()
149 out->Print(template_vars, in PrintMessageTransformer()
153 template_vars, in PrintMessageTransformer()
188 map<grpc::string, grpc::string> template_vars; in PrintService() local
190 template_vars["name"] = service->name(); in PrintService()
[all …]
/dports/devel/py-grpcio-tools/grpcio-tools-1.43.0/grpc_root/src/compiler/
H A Dnode_generator.cc125 map<std::string, std::string> template_vars; in PrintMessageTransformer() local
127 template_vars["identifier_name"] = MessageIdentifierName(full_name); in PrintMessageTransformer()
128 template_vars["name"] = full_name; in PrintMessageTransformer()
129 template_vars["node_name"] = NodeObjectPath(descriptor); in PrintMessageTransformer()
133 out->Print(template_vars, "if (!(arg instanceof $node_name$)) {\n"); in PrintMessageTransformer()
135 out->Print(template_vars, in PrintMessageTransformer()
149 out->Print(template_vars, in PrintMessageTransformer()
153 template_vars, in PrintMessageTransformer()
188 map<std::string, std::string> template_vars; in PrintService() local
190 template_vars["name"] = service->name(); in PrintService()
[all …]
/dports/www/p5-CGI/CGI-4.53/examples/
H A Dfile_upload.cgi11 my $template_vars = {
23 @{$template_vars}{qw/file temp_file mimetype/}
29 $template_vars->{lines}++ if $wanted{"count lines"};
30 $template_vars->{words} += split(/\s+/) if $wanted{"count words"};
31 $template_vars->{chars} += length if $wanted{"count chars"};
42 $tt->process( \*DATA,$template_vars ) or warn $tt->error;
/dports/www/py-turbogears2/TurboGears2-2.3.12/tg/
H A Drender.py129 def render(template_vars, template_engine=None, template_name=None, **kwargs): argument
190 if not template_vars:
191 template_vars = {}
193 caching_options = template_vars.get('tg_cache', {})
198 tg.hooks.notify('before_render_call', (template_engine, template_name, template_vars, kwargs))
200 tg_vars = template_vars
206 tg_vars.update(template_vars)
210 tg.hooks.notify('after_render_call', (template_engine, template_name, template_vars, kwargs))
/dports/www/phpbb3/phpBB3/phpbb/message/
H A Dmessage.php32 protected $template_vars = array(); variable in phpbb\\message\\message
100 * @param array $template_vars
103 public function set_template_vars($template_vars) argument
105 $this->template_vars = $template_vars;
274 if (count($this->template_vars))
276 $messenger->assign_vars($this->template_vars);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/bindings/scripts/bind_gen/
H A Dcode_node.py158 assert template_vars is None or isinstance(template_vars, dict)
184 if template_vars:
236 template_vars=self.template_vars)
295 def template_vars(self): member in CodeNode
342 def add_template_vars(self, template_vars): argument
343 assert isinstance(template_vars, dict)
359 assert isinstance(template_vars, dict)
504 template_vars = {}
509 template_vars[gensym] = arg
515 template_vars[gensym] = value
[all …]
/dports/editors/encryptpad/EncryptPad-0.5.0.1/
H A Dconfigure.py1782 template_vars['bzip2_dir'] = bzip2_dir
1796 def set_zlib_variables(options, template_vars, cc): argument
1800 template_vars['zlib_dir'] = zlib_dir
1813 template_vars['zlib_makefile'] = ''
1831 flags = template_vars[name]
1846 template_vars['botan_ldflags'] = botan_ldflags
1850 template_vars['encryptmsg_build_dir'] = dir
2016 include_paths = template_vars['include_paths']
2027 template_vars['include_paths'] = include_paths
2044 set_botan_variables(options, template_vars, cc)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/bindings/scripts/bind_gen/
H A Dcode_node.py158 assert template_vars is None or isinstance(template_vars, dict)
184 if template_vars:
236 template_vars=self.template_vars)
295 def template_vars(self): member in CodeNode
342 def add_template_vars(self, template_vars): argument
343 assert isinstance(template_vars, dict)
359 assert isinstance(template_vars, dict)
504 template_vars = {}
509 template_vars[gensym] = arg
515 template_vars[gensym] = value
[all …]
/dports/sysutils/p5-Rex/Rex-1.13.4/lib/Rex/CMDB/
H A DYAML.pm90 my %template_vars;
92 if ( !exists $template_vars{$key} ) {
93 $template_vars{$key} = $config_values->{$key};
96 $template_vars{environment} = Rex::Commands::environment();
105 $content = $t->( $content, \%template_vars );

123456