/dports/www/py-turbogears2/TurboGears2-2.3.12/tg/ |
H A D | render.py | 15 def __init__(self, template_engine): argument 20 template_engine=template_engine)) 21 self.template_engine = template_engine 129 def render(template_vars, template_engine=None, template_name=None, **kwargs): argument 182 if template_engine is None: 183 template_engine = config['default_renderer'] 185 render_function = config['render_functions'].get(template_engine) 188 raise MissingRendererError(template_engine) 198 tg.hooks.notify('before_render_call', (template_engine, template_name, template_vars, kwargs)) 203 if template_engine not in engines_without_vars: [all …]
|
/dports/net-mgmt/py-opn-cli/opn-cli-0.8.1/opnsense_cli/commands/new/ |
H A D | command.py | 205 template_engine = Jinja2TemplateEngine(kwargs['template_basedir']) 208 write_command(type, model_tag, template_engine, option_factory, **kwargs) 209 write_command_facade(type, model_tag, template_engine, option_factory, **kwargs) 210 write_command_test(type, model_tag, template_engine, option_factory, **kwargs) 213 def write_command(type, model_tag: Tag, template_engine, option_factory, **kwargs): argument 216 template_engine, 234 def write_command_facade(type, model_tag: Tag, template_engine, option_factory, **kwargs): argument 237 template_engine, 250 def write_command_test(type, model_tag: Tag, template_engine, option_factory, **kwargs): argument 253 template_engine,
|
/dports/sysutils/py-salt/salt-3004.1/salt/states/ |
H A D | netconfig.py | 63 template_engine="jinja", argument 88 template_engine=template_engine, 466 template_engine="jinja", argument 842 template_engine=template_engine,
|
/dports/sysutils/py-salt/salt-3004.1/salt/modules/ |
H A D | jira_mod.py | 78 template_engine="jinja", argument 144 if template_engine: 147 template=template_engine, 154 template=template_engine,
|
H A D | nxos_api.py | 311 template_engine="jinja", argument 409 if template_engine: 411 file_str, template_engine, context, defaults, saltenv
|
H A D | arista_pyeapi.py | 397 template_engine="jinja", argument 520 if template_engine: 522 file_str, template_engine, context, defaults, saltenv
|
H A D | netmiko_mod.py | 485 template_engine="jinja", 574 if template_engine: 576 file_str, template_engine, context, defaults, saltenv
|
H A D | napalm_mod.py | 1107 template_engine="jinja", argument 1165 template_engine=template_engine, 1201 template_engine="jinja", argument 1257 template_engine=template_engine,
|
/dports/www/habari/habari-0.8/system/classes/ |
H A D | theme.php | 18 public $template_engine = null; variable in Theme 77 $this->template_engine = new $themedata->template_engine(); 80 $this->template_engine->set_template_dir( $theme_dir ); 123 if ( !$this->template_engine->assigned( 'user' ) ) { 127 if ( !$this->template_engine->assigned( 'loggedin' ) ) { 131 if ( !$this->template_engine->assigned( 'page' ) ) { 533 $this->template_engine->assign( 'theme', $this ); 534 $this->template_engine->display( $template_name ); 550 $this->template_engine->assign( 'theme', $this ); 564 $this->template_engine->clear(); [all …]
|
H A D | themes.php | 241 * @param template_engine ( optional ) specify a template engine 244 public static function create( $name = null, $template_engine = null, $theme_dir = null ) argument 264 if(!empty($template_engine)) { 265 $themedata['template_engine'] = $template_engine;
|
/dports/net-mgmt/netdisco/App-Netdisco-2.047002/lib/App/Netdisco/ |
H A D | Web.pm | 238 my $template_engine = engine 'template'; 243 $template_engine->{config}->{AUTO_FILTER} = 'none'; 244 $template_engine->init(); 249 my $template_engine = engine 'template'; 254 $template_engine->{config}->{AUTO_FILTER} = 'html_entity'; 255 $template_engine->init();
|
/dports/www/p5-Gantry/Gantry-3.64/lib/Gantry/Utils/ |
H A D | CRON.pm | 21 $self->set_template_engine( $opts->{template_engine} || undef ); 45 ( "-TemplateEngine=" . $self->template_engine() ), 171 sub template_engine { subroutine
|
/dports/www/serendipity/Serendipity-2.3.5/include/ |
H A D | serendipity_smarty_class.inc.php | 122 $template_engine = serendipity_get_config_var('template_engine'); 128 if ($template_engine) { 129 $p = explode(',', $template_engine);
|
/dports/net-mgmt/py-opn-cli/opn-cli-0.8.1/opnsense_cli/facades/code_generator/ |
H A D | base.py | 20 template_engine: TemplateEngine, 29 self._template_engine = template_engine
|
/dports/www/validator/markup-validator-validator-1_3-release/misc/testsuite/lib/ |
H A D | Documentation.py | 39 template_engine = jinja2.Environment(loader=jinja2.FileSystemLoader(template_path)) 40 template = template_engine.get_template(os.path.join(self.type+'.html'))
|
/dports/www/p5-Dancer2/Dancer2-0.301004/t/ |
H A D | multiapp_template_hooks.t | 43 scalar @{ $app->template_engine->hooks->{$hook_name} }, 79 scalar @{ $app->template_engine->hooks->{$hook_name} },
|
/dports/security/p5-Dancer2-Plugin-Auth-Extensible/Dancer2-Plugin-Auth-Extensible-0.710/lib/Dancer2/Plugin/Auth/ |
H A D | Extensible.pm | 943 my $template_engine = $plugin->app->template_engine; 944 my $path = $template_engine->view_pathname($view); 945 if ( !$template_engine->pathname_exists($path) ) { 1020 my $template_engine = $plugin->app->template_engine; 1021 my $path = $template_engine->view_pathname($view); 1022 if ( !$template_engine->pathname_exists($path) ) {
|
/dports/www/p5-Bigtop/Bigtop-0.38/t/ |
H A D | 07_deparse.t | 28 template_engine TT; 121 template_engine => 'TT', 130 template_engine TT;
|
/dports/www/p5-Bigtop/Bigtop-0.38/t/tentmaker/ |
H A D | sample | 3 template_engine TT;
|
H A D | sql.bigtop | 3 template_engine TT;
|
/dports/www/p5-Bigtop/Bigtop-0.38/t/tentmaker/ajax_03/ |
H A D | aconfstempty | 3 template_engine TT;
|
H A D | cconfstempty | 3 template_engine TT;
|
/dports/www/p5-Bigtop/Bigtop-0.38/t/tentmaker/ajax_04/ |
H A D | scratchctst | 3 template_engine TT;
|
H A D | scratchctst2 | 3 template_engine TT;
|
/dports/www/p5-Bigtop/Bigtop-0.38/t/gantry/ |
H A D | 08_soap.t | 27 template_engine TT; 79 template_engine TT;
|