/dports/www/fusionpbx/fusionpbx-4.4.1/app/devices/resources/classes/ |
H A D | device.php | 32 public $template_dir; variable in device 184 if (strlen($this->template_dir) == 0) { 186 $this->template_dir = '/etc/fusionpbx/resources/templates/provision'; 195 if (strlen($this->template_dir) == 0) { 203 if (strlen($this->template_dir) == 0) { 212 if (strlen($this->template_dir) == 0) { 217 if (strlen($this->template_dir) == 0) { 222 if (strlen($this->template_dir) == 0) { 228 if (is_dir($this->template_dir."/".$_SESSION["domain_name"])) { 229 $this->template_dir = $this->template_dir."/".$_SESSION["domain_name"]; [all …]
|
/dports/devel/py-molecule/molecule-2.22/molecule/command/init/ |
H A D | base.py | 53 template_dir = self._resolve_template_dir(template_dir) 54 self._validate_template_dir(template_dir) 58 template_dir, 67 + str(template_dir) 71 def _resolve_template_dir(self, template_dir): argument 72 if not os.path.isabs(template_dir): 73 template_dir = os.path.join( 78 template_dir, 81 return template_dir 84 if not os.path.isdir(template_dir): [all …]
|
/dports/devel/R-cran-usethis/usethis/R/ |
H A D | rmarkdown.R | 23 template_dir = NULL, argument 28 template_dir <- template_dir %||% tolower(asciify(template_name)) 30 template_dir <- path("inst", "rmarkdown", "templates", template_dir) 33 use_directory(path(template_dir, "skeleton")) 37 template_dir = template_dir, nameattr 42 save_as = path(template_dir, "template.yaml") 47 path(template_dir, "skeleton", "skeleton.Rmd")
|
/dports/dns/dns-ui/dns-ui-0.2.7/views/ |
H A D | templates.php | 47 $template_dir->add_template($template); 52 $template = $template_dir->get_soa_template_by_id($_POST['set_default_soa_template']); 53 $template_dir->set_default_soa_template($template); 58 $template = $template_dir->get_ns_template_by_id($_POST['set_default_ns_template']); 59 $template_dir->set_default_ns_template($template); 64 $template = $template_dir->get_soa_template_by_id($_POST['delete_soa_template']); 65 $template_dir->delete_template($template); 70 $template = $template_dir->get_ns_template_by_id($_POST['delete_ns_template']); 71 $template_dir->delete_template($template); 78 $soa_templates = $template_dir->list_soa_templates(); [all …]
|
H A D | settings.php | 24 $ns_templates = $template_dir->list_ns_templates(); 25 $soa_templates = $template_dir->list_soa_templates(); 39 $template = $template_dir->get_soa_template_by_id($_POST['default_soa_template']); 41 $template_dir->set_default_soa_template($template); 46 $template = $template_dir->get_ns_template_by_id($_POST['default_ns_template']); 48 $template_dir->set_default_ns_template($template);
|
/dports/devel/py-fabric3/Fabric3-1.14.post1/tests/ |
H A D | test_contrib.py | 49 template_dir = os.path.dirname(template) 56 template_dir=template_dir 110 template_dir = os.path.dirname(template) 116 use_jinja=True, template_dir=template_dir) 144 template_dir = 'template_dir' 146 if not self.exists_locally(self.path(template_dir)): 147 os.mkdir(self.path(template_dir)) 150 os.path.join(template_dir, template_name), template_content[jinja] 156 with lcd(self.path(template_dir)):
|
/dports/www/flat-frog/flat-frog-2.2.13/src/ |
H A D | class.template.php | 202 $this->template_dir = $this->_get_dir($this->template_dir); 206 $name = md5($this->template_dir.$file).'.php'; 245 $this->template_dir = $this->_get_dir($this->template_dir); 291 $this->template_dir = $this->_get_dir($this->template_dir); 292 $name = md5($this->template_dir.$file).'.php'; 329 $this->template_dir = $this->_get_dir($this->template_dir); 330 $name = md5($this->template_dir.$file).'.php'; 346 $f = fopen($this->template_dir.$file, "r"); 347 $size = filesize($this->template_dir.$file); 366 $this->_compile_obj->template_dir = &$this->template_dir; [all …]
|
/dports/devel/cgit/cgit-1.2.3/git/builtin/ |
H A D | init-db.c | 104 if (!template_dir) in copy_templates() 105 template_dir = getenv(TEMPLATE_DIR_ENVIRONMENT); in copy_templates() 106 if (!template_dir) in copy_templates() 107 template_dir = init_db_template_dir; in copy_templates() 108 if (!template_dir) in copy_templates() 110 if (!template_dir[0]) { in copy_templates() 115 strbuf_addstr(&template_path, template_dir); in copy_templates() 137 template_dir, err.buf); in copy_templates() 483 const char *template_dir = NULL; in cmd_init_db() local 505 if (template_dir && *template_dir && !is_absolute_path(template_dir)) in cmd_init_db() [all …]
|
/dports/security/p5-openxpki-i18n/openxpki-3.16.1/core/server/OpenXPKI/Server/Notification/ |
H A D | Base.pm | 55 my $template_dir = CTX('config')->get( $self->config().'.template.dir' ); 56 $template_dir .= '/' unless($template_dir =~ /\/$/); 57 return $template_dir; 98 $filename = $self->template_dir() . $filename; 111 my $tt = OpenXPKI::Template->new({ INCLUDE_PATH => $self->template_dir() }); 139 my $tt = OpenXPKI::Template->new({ INCLUDE_PATH => $self->template_dir() });
|
/dports/security/p5-openxpki/openxpki-3.16.1/core/server/OpenXPKI/Server/Notification/ |
H A D | Base.pm | 55 my $template_dir = CTX('config')->get( $self->config().'.template.dir' ); 56 $template_dir .= '/' unless($template_dir =~ /\/$/); 57 return $template_dir; 98 $filename = $self->template_dir() . $filename; 111 my $tt = OpenXPKI::Template->new({ INCLUDE_PATH => $self->template_dir() }); 139 my $tt = OpenXPKI::Template->new({ INCLUDE_PATH => $self->template_dir() });
|
/dports/devel/git-svn/git-2.34.1/builtin/ |
H A D | init-db.c | 106 if (!template_dir) 108 if (!template_dir) 109 template_dir = init_template_dir; 110 if (!template_dir) 112 if (!template_dir[0]) { 117 strbuf_addstr(&template_path, template_dir); 139 template_dir, err.buf); 533 const char *template_dir = NULL; 565 if (template_dir && *template_dir && !is_absolute_path(template_dir)) { 566 template_dir = absolute_pathdup(template_dir); [all …]
|
/dports/devel/git-gui/git-2.34.1/builtin/ |
H A D | init-db.c | 106 if (!template_dir) in copy_templates() 108 if (!template_dir) in copy_templates() 109 template_dir = init_template_dir; in copy_templates() 110 if (!template_dir) in copy_templates() 112 if (!template_dir[0]) { in copy_templates() 117 strbuf_addstr(&template_path, template_dir); in copy_templates() 139 template_dir, err.buf); in copy_templates() 533 const char *template_dir = NULL; in cmd_init_db() local 565 if (template_dir && *template_dir && !is_absolute_path(template_dir)) { in cmd_init_db() 566 template_dir = absolute_pathdup(template_dir); in cmd_init_db() [all …]
|
/dports/devel/git-p4/git-2.34.1/builtin/ |
H A D | init-db.c | 106 if (!template_dir) in copy_templates() 108 if (!template_dir) in copy_templates() 109 template_dir = init_template_dir; in copy_templates() 110 if (!template_dir) in copy_templates() 112 if (!template_dir[0]) { in copy_templates() 117 strbuf_addstr(&template_path, template_dir); in copy_templates() 139 template_dir, err.buf); in copy_templates() 533 const char *template_dir = NULL; in cmd_init_db() local 565 if (template_dir && *template_dir && !is_absolute_path(template_dir)) { in cmd_init_db() 566 template_dir = absolute_pathdup(template_dir); in cmd_init_db() [all …]
|
/dports/devel/git/git-2.34.1/builtin/ |
H A D | init-db.c | 106 if (!template_dir) in copy_templates() 108 if (!template_dir) in copy_templates() 109 template_dir = init_template_dir; in copy_templates() 110 if (!template_dir) in copy_templates() 112 if (!template_dir[0]) { in copy_templates() 117 strbuf_addstr(&template_path, template_dir); in copy_templates() 139 template_dir, err.buf); in copy_templates() 533 const char *template_dir = NULL; in cmd_init_db() local 565 if (template_dir && *template_dir && !is_absolute_path(template_dir)) { in cmd_init_db() 566 template_dir = absolute_pathdup(template_dir); in cmd_init_db() [all …]
|
/dports/devel/git-cvs/git-2.34.1/builtin/ |
H A D | init-db.c | 106 if (!template_dir) in copy_templates() 108 if (!template_dir) in copy_templates() 109 template_dir = init_template_dir; in copy_templates() 110 if (!template_dir) in copy_templates() 112 if (!template_dir[0]) { in copy_templates() 117 strbuf_addstr(&template_path, template_dir); in copy_templates() 139 template_dir, err.buf); in copy_templates() 533 const char *template_dir = NULL; in cmd_init_db() local 565 if (template_dir && *template_dir && !is_absolute_path(template_dir)) { in cmd_init_db() 566 template_dir = absolute_pathdup(template_dir); in cmd_init_db() [all …]
|
/dports/security/py-netmiko/netmiko-3.3.0/netmiko/ |
H A D | utilities.py | 230 template_dir = os.path.expanduser(os.environ["NET_TEXTFSM"]) 231 index = os.path.join(template_dir, "index") 234 template_dir = os.path.join(template_dir, "templates") 240 index = os.path.join(template_dir, "index") 241 if not os.path.isdir(template_dir) or not os.path.isfile(index): 247 return os.path.abspath(template_dir) 293 template_dir = get_template_dir() 294 index_file = os.path.join(template_dir, "index") 295 textfsm_obj = clitable.CliTable(index_file, template_dir) 300 template_dir = template_path.parents[0] [all …]
|
/dports/devel/p5-Module-Starter-Plugin-SimpleStore/Module-Starter-Plugin-SimpleStore-0.144/lib/Module/Starter/Plugin/ |
H A D | DirStore.pm | 54 my $template_dir = ($ENV{MODULE_TEMPLATE_DIR} || $self->{template_dir}) 56 Carp::croak "template dir does not exist: $template_dir" 57 unless -d $template_dir; 59 foreach (glob "$template_dir/*") {
|
/dports/science/py-pygeometa/pygeometa-0.8.0/pygeometa/schemas/ |
H A D | base.py | 57 template_dir: str = None): 69 self.template_dir = template_dir 82 return core.render_j2_template(mcf, template_dir=self.template_dir)
|
/dports/www/fusionpbx/fusionpbx-4.4.1/resources/templates/engine/smarty/ |
H A D | Smarty.class.php | 226 private $template_dir = array(); variable in Smarty 829 public function setTemplateDir($template_dir) argument 831 $this->template_dir = array(); 832 foreach ((array) $template_dir as $k => $v) { 852 $this->template_dir = (array) $this->template_dir; 854 if (is_array($template_dir)) { 855 foreach ($template_dir as $k => $v) { 866 $this->template_dir[$key] = rtrim($template_dir, '/\\') . DS; 869 $this->template_dir[] = rtrim($template_dir, '/\\') . DS; 885 return isset($this->template_dir[$index]) ? $this->template_dir[$index] : null; [all …]
|
/dports/mail/postfixadmin33-lite/postfixadmin-postfixadmin-3.3.10/lib/smarty/libs/sysplugins/ |
H A D | smarty_internal_testinstall.php | 38 foreach ($smarty->getTemplateDir() as $template_dir) { 39 $_template_dir = $template_dir; 40 $template_dir = realpath($template_dir); 42 if (!$template_dir) { 50 if ($template_dir !== false) { 52 echo "$template_dir is OK.\n"; 77 if (!is_dir($template_dir)) { 79 $message = "FAILED: $template_dir is not a directory"; 85 } elseif (!is_readable($template_dir)) { 87 $message = "FAILED: $template_dir is not readable"; [all …]
|
/dports/mail/postfixadmin-lite/postfixadmin-d3bc1551/lib/smarty/libs/sysplugins/ |
H A D | smarty_internal_testinstall.php | 38 foreach ($smarty->getTemplateDir() as $template_dir) { 39 $_template_dir = $template_dir; 40 $template_dir = realpath($template_dir); 42 if (!$template_dir) { 50 if ($template_dir !== false) { 52 echo "$template_dir is OK.\n"; 77 if (!is_dir($template_dir)) { 79 $message = "FAILED: $template_dir is not a directory"; 85 } elseif (!is_readable($template_dir)) { 87 $message = "FAILED: $template_dir is not readable"; [all …]
|
/dports/mail/postfixadmin33/postfixadmin-postfixadmin-3.3.10/lib/smarty/libs/sysplugins/ |
H A D | smarty_internal_testinstall.php | 38 foreach ($smarty->getTemplateDir() as $template_dir) { 39 $_template_dir = $template_dir; 40 $template_dir = realpath($template_dir); 42 if (!$template_dir) { 50 if ($template_dir !== false) { 52 echo "$template_dir is OK.\n"; 77 if (!is_dir($template_dir)) { 79 $message = "FAILED: $template_dir is not a directory"; 85 } elseif (!is_readable($template_dir)) { 87 $message = "FAILED: $template_dir is not readable"; [all …]
|
/dports/mail/postfixadmin/postfixadmin-d3bc1551/lib/smarty/libs/sysplugins/ |
H A D | smarty_internal_testinstall.php | 38 foreach ($smarty->getTemplateDir() as $template_dir) { 39 $_template_dir = $template_dir; 40 $template_dir = realpath($template_dir); 42 if (!$template_dir) { 50 if ($template_dir !== false) { 52 echo "$template_dir is OK.\n"; 77 if (!is_dir($template_dir)) { 79 $message = "FAILED: $template_dir is not a directory"; 85 } elseif (!is_readable($template_dir)) { 87 $message = "FAILED: $template_dir is not readable"; [all …]
|
/dports/www/smarty3/smarty-3.1.34/libs/sysplugins/ |
H A D | smarty_internal_testinstall.php | 38 foreach ($smarty->getTemplateDir() as $template_dir) { 39 $_template_dir = $template_dir; 40 $template_dir = realpath($template_dir); 42 if (!$template_dir) { 50 if ($template_dir !== false) { 52 echo "$template_dir is OK.\n"; 77 if (!is_dir($template_dir)) { 79 $message = "FAILED: $template_dir is not a directory"; 85 } elseif (!is_readable($template_dir)) { 87 $message = "FAILED: $template_dir is not readable"; [all …]
|
/dports/finance/prestashop/prestashop/vendor/smarty/smarty/libs/sysplugins/ |
H A D | smarty_internal_testinstall.php | 38 foreach ($smarty->getTemplateDir() as $template_dir) { 39 $_template_dir = $template_dir; 40 $template_dir = realpath($template_dir); 42 if (!$template_dir) { 50 if ($template_dir !== false) { 52 echo "$template_dir is OK.\n"; 77 if (!is_dir($template_dir)) { 79 $message = "FAILED: $template_dir is not a directory"; 85 } elseif (!is_readable($template_dir)) { 87 $message = "FAILED: $template_dir is not readable"; [all …]
|