Home
last modified time | relevance | path

Searched refs:animal (Results 1 – 25 of 57) sorted by path

123

/plugin/authsqlite/
H A DREADME.md9 options for PostgreSQL, authsqlite allows the %{animal} parameter in all
10 sql statements. %{animal} is the animal component of a wiki farm setup,
11 and corresponds to the folder where the animal's configuration and data
16 different for each animal.
30 AND ug.animal=\'%{animal}\'
34 LEFT JOIN usergroup AS ug ON u.uid=ug.uid AND ug.animal=\'%{animal}\'
47 'INSERT INTO usergroup (uid, gid, animal) VALUES (%{uid}, %{gid}, \'%{animal}\')';
60 'DELETE from usergroup WHERE uid=%{uid} AND gid=%{gid} AND animal=\'%{animal}\'';
H A Dauth.php337 $animal = '';
341 $animal = $parts[$i - 1];
344 $query = str_replace('%{animal}', addslashes($animal), $query);
H A Dauth.sql20 animal text not null default '', field
21 primary key (uid, gid, animal)
/plugin/ckgdoku/action/
H A Dmeta.php478 $animal = isset($conf['animal']) ? $conf['animal'] : 'userfiles';
480 $userfiles = DOKU_PLUGIN . "ckgdoku/fckeditor/$animal/";
482 setcookie('FCK_animal',$animal, $expire, '/');
505 else $media_dir = '/lib/plugins/ckgdoku/fckeditor/'. $animal . '/image/';
/plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/
H A Dconfig.php53 $animal = 'userfiles'; variable
55 $animal = $_COOKIE['FCK_animal']; variable
117 if(preg_match('#(\/\w+\/' . $animal . ')#',$path,$matches)) {
120 else $Config['UserFilesPath'] = '../' . $animal . '/data/pages/';
192 global $Config,$animal;
195 $dir = preg_replace('/editor\/filemanager\/connectors\/.*/', "$animal/",$dir);
206 global $animal;
226 $Config['UserFilesPath'] = $base_url . 'lib/plugins/ckgdoku/fckeditor/' . $animal .'/';
/plugin/ckgedit/action/
H A Dmeta.php513 $animal = isset($conf['animal']) ? $conf['animal'] : 'userfiles';
515 $userfiles = DOKU_PLUGIN . "ckgedit/fckeditor/$animal/";
517 setcookieSameSite('FCK_animal',$animal, $expire, '/');
540 else $media_dir = '/lib/plugins/ckgedit/fckeditor/'. $animal . '/image/';
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dconfig.php53 $animal = 'userfiles'; variable
55 $animal = $_COOKIE['FCK_animal']; variable
119 if(preg_match('#(\/\w+\/' . $animal . ')#',$path,$matches)) {
122 else $Config['UserFilesPath'] = '../' . $animal . '/data/pages/';
194 global $Config,$animal;
197 $dir = preg_replace('/editor\/filemanager\/connectors\/.*/', "$animal/",$dir);
208 global $animal;
228 $Config['UserFilesPath'] = $base_url . 'lib/plugins/ckgedit/fckeditor/' . $animal .'/';
/plugin/dirtylittlehelper/mermaid/editor/docs/
H A D2.2.js.map1 …____|__\n * / \\ / \\\n * urn:example:animal:ferret:nose\n * ``…
H A D3.3.js.map1 …____|__\n * / \\ / \\\n * urn:example:animal:ferret:nose\n * ``…
H A D4.4.js.map1 …____|__\n * / \\ / \\\n * urn:example:animal:ferret:nose\n * ``…
H A Dbundle.js.map1 …____|__\n * / \\ / \\\n * urn:example:animal:ferret:nose\n * ``…
H A Deditor.worker.js.map1 …____|__\n * / \\ / \\\n * urn:example:animal:ferret:nose\n * ``…
H A Djson.worker.js.map1animal:ferret:nose\n * ```\n */\nexport class URI {\n /**\n * @internal\n */\n const…
/plugin/farm/
H A Daction.php24 private $animal = null; variable in action_plugin_farm
85 $animal = new dokuwiki_farm_animal(DOKU_FARM_ANIMAL, null);
91 if($animal->getInfos()->getSize() >= (int)$farmconf['animalmaxsize']) $toobig = true;
111 $animal = new dokuwiki_farm_animal(DOKU_FARM_ANIMAL, null);
118 …$event->data['link'][$i]['href'] = preg_replace('`^/?'.$animal->getName().'`', '', $event->data['l…
123 …$event->data['script'][$i]['src'] = preg_replace('`^/?'.$animal->getName().'`', '', $event->data['…
129 …strrpos($event->data['link'][$i]['href'], '?') !== false ? '&' : '?').'animal='.$animal->getName();
135 …trrpos($event->data['script'][$i]['src'], '?') !== false ? '&' : '?').'animal='.$animal->getName();
H A Danimalmanager.class.php18 private $animal = null; variable in dokuwiki_farm_animalmanager
95 if(!$this->animal->setMetadata('status', $s)) {
103 if(!$this->animal->setMetadata('lockstate', $s)) {
181 }elseif($this->animal->delete()) {
183 $this->animal = null;
198 if($this->animal) {
216 if($displaydefault && $this->animal) {
228 $status = $this->animal->getInfos()->getStatus();
272 $users = $this->animal->getUsers();
287 foreach($this->animal->getUsers() as $l => $u) {
[all …]
H A Dinfos.animal.class.php15 var $animal = null; variable in dokuwiki_farm_animal_infos
20 function __construct($animal = null) { argument
22 if(dokuwiki_farm_animal::exists($animal->getName())) $this->animal = $animal;
23 }elseif(is_string($animal)) {
24 if(dokuwiki_farm_animal::exists($animal)) $this->animal = new dokuwiki_farm_animal($animal);
120 if(!$this->animal) return 0;
196 if(!$this->animal) return 0;
245 if(!$this->animal) return 0;
264 return $this->animal->getStatus();
300 if(!$this->animal) return 0;
[all …]
H A Dsoapserver.php158 * @return animal status
202 * @return animal list
/plugin/farm/install/
H A Dbarn.htaccess6 RewriteRule ^([^/]+)$ {farmer}doku.php?animal=$1 [QSA,L]
7 RewriteRule ^([^/]+)/$ {farmer}doku.php?animal=$1 [QSA,L]
8 RewriteRule ^([^/]+)/(.+) {farmer}$2?animal=$1 [QSA,L]
H A Dbarnatroot.htaccess11 RewriteRule ^([^/]+)/(.*) {farmer}$2?animal=$1 [QSA,L]
17 RewriteRule ^([^/]+)/$ {farmer}doku.php?animal=$1 [QSA,L]
H A Dfarmstructurecreator.php.bak111 // Move animal default template
112 …if(!@mkdir($farmconf['barn'].$farmconf['animaltemplate'], 0755)) die('Cannot create animal default…
116 )) die('Cannot copy animal default template');
120 // Create animal default template meta
121 if($fp = fopen($farmconf['barn'].'/'.$farmconf['animaltemplate'].'/animal.meta', 'w')) {
124 }else die('Could not create animal template metafile');
H A Dpreload.php52 $animal = null; variable
58 $animal = $m[2]; variable
69 if(!$animal) {
70 $animal = isset($_REQUEST['animal']) && !empty($_REQUEST['animal']) ? $_REQUEST['animal'] : null; variable
71 if(!preg_match('`^[a-z0-9\_\.\-]+$`i', $animal)) $animal = null; variable
74 if($animal) {
75 define('DOKU_FARM_ANIMAL', $animal);
76 if(!@is_dir($barn.$animal)) displayAndExit('unknown');
80 foreach(explode("\n", @file_get_contents($barn.$animal.'/animal.meta')) as $l) {
91 define('DOKU_CONF', $barn.$animal.'/conf/');
[all …]
H A Dvirtual.htaccess14 RewriteRule ^{farmer}([^/]+)/(.+) {farmer}$2?animal=$1 [QSA,L]
18 RewriteRule ^{farmer}([^/]+)/$ {farmer}doku.php?animal=$1 [QSA,L]
/plugin/farmer/
H A DDokuWikiFarmCore.php49 /** @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...]
/plugin/farmer/action/
H A Dajax.php66 * 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 Dstartup.php51 * 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>';

123