Searched +full:animal +(+path:plugin +path:farmer) -(+path:plugin +path:farmer +path:lang) (Results 1 – 10 of 10) sorted by relevance
/plugin/farmer/ |
H A D | helper.php | 18 * Returns the name of the current animal if any, false otherwise 40 * Was the current animal requested by host? 51 * Was an animal requested that could not be found? 62 * Guess the URL for an animal 64 * @param $animal argument 67 public function getAnimalURL($animal) 71 if (strpos($animal, '.') !== false) { 72 return 'http://' . $animal; 74 return 'http://' . $animal . '.' . $config['base']['basedomain']; 76 return DOKU_URL . '!' . $animal 216 getAnimalPluginLocalStates($animal) global() argument 262 getAnimalPluginRealState($animal) global() argument 295 setPluginState($plugin, $animal, $state) global() argument 319 writePluginConf($plugins, $animal) global() argument [all...] |
H A D | DokuWikiFarmCore.php | 49 /** @var string|false The current animal, false for farmer */ 50 protected $animal = false; 51 /** @var bool true if an animal was requested but was not found */ 53 /** @var bool true if the current animal was requested by host */ 60 * DOKU_CONF depending on the requested animal 69 // animal? 73 define('DOKU_FARM_ANIMAL', $this->animal); 74 if ($this->animal) { 75 define('DOKU_CONF', DOKU_FARMDIR . $this->animal . '/conf/'); 97 return $this->animal; 48 protected $animal = false; global() variable in DokuWikiFarmCore [all...] |
H A D | admin.php | 42 // set available pages depending on user and animal
|
/plugin/farmer/action/ |
H A D | ajax.php | 66 * to an ajax request to a non-existing animal. 92 $animal = $INPUT->str('ani'); 95 $plugins = $helper->getAnimalPluginRealState($animal); 105 $helper->setPluginState($pname, $animal, $new); 108 $plugins = $helper->getAnimalPluginRealState($animal); 111 echo $this->createPluginMatrixCell($plugin, $animal); 150 foreach ($animals as $animal) { 151 $plugins = $helper->getAnimalPluginRealState($animal); 153 echo '<th>' . hsc($animal) . '</th>'; 155 echo $this->createPluginMatrixCell($plugin, $animal); 159 plugin_matrix_cell($plugin, $animal, $defaults = false) global() argument [all...] |
H A D | startup.php | 51 * Handles the animal not found case 92 foreach ($animals as $animal) { 93 $link = $this->helper->getAnimalURL($animal); 94 $html .= '<li><div class="li"><a href="' . $link . '">' . hsc($animal) . '</a></div></li>';
|
/plugin/farmer/admin/ |
H A D | info.php | 48 $animal = $this->helper->getAnimal(); 53 $this->line('thisis', $animal ? $this->getLang('thisis.animal') : $this->getLang('thisis.farmer')); 54 if ($animal) { 55 $this->line('animal', $animal); 94 foreach ($animals as $animal) { 95 $link = $this->helper->getAnimalURL($animal); 96 $html .= '<li><div class="li"><a href="' . $link . '">' . $animal . '</a></div></li>';
|
H A D | new.php | 59 msg(sprintf($this->getLang('animal creation success'), $link), 1); 76 $form->addFieldsetOpen($this->getLang('animal configuration')); 77 $form->addTextInput('animalname', $this->getLang('animal')); 82 $form->addFieldsetOpen($this->getLang('animal template')); 106 $form->addFieldsetOpen($this->getLang('animal administrator')); 134 * Validate the data for a new animal 194 * Create a new animal 196 * @param string $name name/title of the animal, will be the directory name for htaccess setup 199 * @param string $template name of animal to copy 212 msg($this->getLang('animal creatio [all...] |
H A D | plugins.php | 9 * Manage Animal Plugin settings 42 foreach ($animals as $animal) { 43 $this->helper->setPluginState($plugin, $animal, $INPUT->int('state')); 50 $animal = $INPUT->str('bulk_animal'); 53 $this->helper->setPluginState($plugin, $animal, $state); 108 // One Animal, all the plugins
|
H A D | setup.php | 125 $content .= 'RewriteRule ^!([^/]+)/(.*) $2?animal=$1 [QSA,DPI]' . "\n"; 126 $content .= 'RewriteRule ^!([^/]+)$ ?animal=$1 [QSA,DPI]' . "\n";
|
/plugin/farmer/script/ |
H A D | plugins.js | 12 // general animal select 44 var animal = jQuery(this).val(); 49 call: 'plugin_farmer_getPlugins_' + animal 77 ani: $td.data('animal')
|