Lines Matching refs:template
51 $data['template'],
82 $form->addFieldsetOpen($this->getLang('animal template'));
145 $template = $INPUT->filter('trim')->str('animaltemplate');
165 if (!is_dir(DOKU_FARMDIR . $template) && !in_array($aclpolicy, ['open', 'public', 'closed'])) {
176 if (!is_dir(DOKU_FARMDIR . $template)) {
177 $template = '';
179 if ($template != '') {
187 'template' => $template,
199 * @param string $template name of animal to copy
205 protected function createNewAnimal($name, $adminSetup, $adminPassword, $template, $aclpolicy, $userreg)
209 // copy basic template
216 // copy animal template
217 if ($template != '') {
219 $templatedir = DOKU_FARMDIR . $template . '/' . $dir;
228 msg(sprintf($this->getLang('animal template copy error'), $dir), -1);
269 // a user file exists already, probably from animal template - don't overwrite