/plugin/struct/action/ |
H A D | title.php | 19 * Saves the page title when meta data is saved 42 $id = $event->data['page']; 47 // check if we already have data for the latest revision, or we risk redundant db writes 52 isset($event->data['current']['last_change']['date']) && 53 (int)$latest['lastrev'] === $event->data['current']['last_change']['date'] 58 if (!blank($event->data['current']['title'])) { 59 $page->setTitle($event->data['current']['title']); 64 if (!blank($event->data['current']['last_change']['date'])) { 65 $page->setLastRevision($event->data['current']['last_change']['date']); 70 if (!blank($event->data['curren [all...] |
H A D | aggregationeditor.php | 25 * Handle global and serial data table editing 69 if (substr($event->data, 0, $len) != 'plugin_struct_aggregationeditor_') { 76 if (substr($event->data, $len) == 'new') { 80 if (substr($event->data, $len) == 'save') { 84 if (substr($event->data, $len) == 'delete') { 124 $data = $INPUT->arr('entry'); 133 $helper->saveLookupData($access, $data); 165 // separate check for serial data in JS 221 * Returns data accessor 235 * Adds filter to search config to differentiate data type [all...] |
/plugin/struct/lang/en/ |
H A D | clear_intro.txt | 1 **WARNING:** This will clear **all** data that has ever been saved for this schema! There is no going back!
|
H A D | delete_intro.txt | 1 **WARNING:** Deleting a schema will delete the schema definition and **all** data that has ever been saved for this schema. There is no going back!
|
H A D | editor_edit.txt | 7 The type of a field defines what kind of data can be stored in the field and influences how it will be displayed later. Each type has its own specific configuration options.
|
H A D | editor_intro.txt | 3 Schemas are the core of the Struct Plugin. A schema defines a template of structured data that shall be assigned to pages later.
|
/plugin/struct/ |
H A D | helper.php | 20 * 3rd party developers should always interact with struct data through this 31 * Class names of renderers which should NOT render struct data. 40 * Get the structured data of a given page 42 * @param string $page The page to get data for 44 * @param int $time A timestamp if you want historic data 72 * Saves data for a given page (creates a new revision) 74 * If this call succeeds you can assume your data has either been saved or it was 75 * not necessary to save it because the data already existed in the wanted form or 81 * this duplicates a bit of code from entry.php - we could also fake post data and let 86 * @param array $data ('schem 93 saveData($page, $data, $summary = '', $minor = false) global() argument 125 saveLookupData(AccessTable $access, $data) global() argument [all...] |
/plugin/doi/Resolver/ |
H A D | DoiResolver.php | 13 $data = $this->fetchCachedData($id); 16 $result['id'] = $data['DOI']; 17 $result['title'] = empty($data['title']) ? $id : $data['title']; 18 $result['url'] = $data['URL'] ?? 'https://doi.org/' . $id; 20 $result['type'] = $data['type']; 23 foreach ($data['author'] ?? $data['editor'] ?? [] as $author) { 27 $result['journal'] = $data['container-title'] ?? ''; 28 $result['volume'] = $data['volum [all...] |
H A D | IsbnOpenLibraryResolver.php | 43 if (!$json) throw new \Exception('Could not fetch data from Open Library. ' . $http->error); 44 $data = json_decode($json, true); 45 if (!count($data)) throw new \Exception('No ISBN results found at Open Library.'); 46 return array_shift($data); // first entry
|
H A D | IsbnIsbnDeResolver.php | 32 if (!$html) throw new \Exception('Could not fetch data from isdn.de. ' . $http->error); 34 $data = $this->defaultResult; 36 $data['id'] = $this->extract('/<meta property="og:book:isbn" content="([^"]+)"/', $html); 37 if (!$data['id']) throw new \Exception('ISBN not found at isdn.de.'); 38 $data['url'] = $this->extract('/<meta property="og:url" content="([^"]+)"/', $html); 40 $data['title'] = $this->extract('/<meta property="og:title" content="([^"]+)"/', $html); 41 if(empty($data['title'])) $data['title'] = $id; 42 $data['published'] = $this->extract('/<meta property="og:book:release_date" content="((\d){4})[^"]+"/', $html); 44 $data['author [all...] |
H A D | IsbnGoogleBooksResolver.php | 16 $data = $this->fetchCachedData($id); 17 $data = $data['volumeInfo']; 20 $result['url'] = $data['canonicalVolumeLink']; 21 foreach ($data['industryIdentifiers'] as $identifier) { 31 $result['title'] = $data['title']; 32 if (isset($data['subtitle'])) $result['title'] .= ': ' . $data['subtitle']; 35 $result['authors'] = $data['authors'] ?? []; 37 $published = $data['publishedDat [all...] |
/plugin/doi/ |
H A D | style.less | 6 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23888888' d='M19 2L14 6.5V17.5L19 13V2M6.5 5C4.55 5 2.45 5.4 1 6.5V21.16C1 21.41 1.25 21.66 1.5 21.66C1.6 21.66 1.65 21.59 1.75 21.59C3.1 20.94 5.05 20.5 6.5 20.5C8.45 20.5 10.55 20.9 12 22C13.35 21.15 15.8 20.5 17.5 20.5C19.15 20.5 20.85 20.81 22.25 21.56C22.35 21.61 22.4 21.59 22.5 21.59C22.75 21.59 23 21.34 23 21.09V6.5C22.4 6.05 21.75 5.75 21 5.5V19C19.9 18.65 18.7 18.5 17.5 18.5C15.8 18.5 13.35 19.15 12 20V6.5C10.55 5.4 8.45 5 6.5 5Z' /%3E%3C/svg%3E");
|
/plugin/doi/syntax/ |
H A D | doi.php | 49 public function render($mode, Doku_Renderer $renderer, $data) 52 $data['id'] = $resolver->cleanID($data['id']); 55 $publication = $resolver->getData($data['id']); 58 $url = $resolver->getFallbackURL($data['id']); 59 $title = empty($data['title']) ? $data['id'] : $data['title']; 66 if (!empty($data['title'])) $publication['title'] = $data['titl 48 render($mode, Doku_Renderer $renderer, $data) global() argument 91 renderXHTML($data, $renderer) global() argument 137 renderAny($data, $renderer) global() argument [all...] |
/plugin/openlayersmap/ |
H A D | README.md | 23 <img src="https://sourceforge.net/cdn/syndication/badge_img/239475/oss-community-choice-white?achievement=oss-community-choice&r=https://sourceforge.net/p/dokuwikispatial/admin/files/badges/" alt="Spatial plugins for Dokuwiki received the Community Choice Award on 2022-03-02" data-canonical-src="https://sourceforge.net/cdn/syndication/badge_img/239475/oss-community-choice-white?achievement=oss-community-choice&r=https://sourceforge.net/p/dokuwikispatial/admin/files/badges/" width="100" height="100">
|
H A D | StaticMap.php | 44 'openstreetmap' => ['txt' => '(c) OpenStreetMap data/ODbl', 'logo' => 'osm_logo.png', 'url' => 'https://tile.openstreetmap.org/{Z}/{X}/{Y}.png'], 46 'opentopomap' => ['txt' => '(c) OpenStreetMap data/ODbl, SRTM | style: (c) OpenTopoMap', 'logo' => 'osm_logo.png', 'url' => 'https:/tile.opentopomap.org/{Z}/{X}/{Y}.png'], 479 * @param mixed $data 481 public function writeTileToCache($url, $data): void 485 file_put_contents($filename, $data); 552 writeTileToCache($url, $data) global() argument
|
H A D | action.php | 57 $event->data[] = ['type' => 'format', 'title' => $this->getLang('openlayersmap'), 'icon' => '../../plugins/openlayersmap/toolbar/map.png', 'open' => $strOpen, 'sample' => '50.0117,5.1287,-90,.8,marker-green.png,Pont de Barbouillons; Daverdisse \\\\ external link: 67 $event->data["script"][] = ["_data" => "document.documentElement.className += ' olCSSsupported';"]; 71 * Add openlayersmap popularity data. 79 $event->data['openlayersmap']['version'] = $plugin_info['date']; 80 $event->data['openlayersmap']['dwversion'] = $versionInfo['date']; 81 $event->data['openlayersmap']['combinedversion'] = $versionInfo['date'] . '_' . $plugin_info['date'];
|
H A D | deleted.files | 93 _test/data/pages/issue34.txt 94 _test/data/pages/issue34-fixed.txt 95 _test/data/pages/rur.txt 96 _test/data/
|
/plugin/openlayersmap/ol7/ |
H A D | ol.js.map |
|
H A D | ol-layerswitcher.css |
|
/plugin/openlayersmap/syntax/ |
H A D | agslayer.php | 87 $data = $this->dflt; 93 if (isset($data [$key])) { 95 $data [$key] = $val; 98 return $data; 106 public function render($format, Doku_Renderer $renderer, $data): bool 115 $renderer->doc .= DOKU_LF . '<script defer="defer" src="data:text/javascript;base64,'; 117 foreach ($data as $key => $val) { 114 render($format, Doku_Renderer $renderer, $data) global() argument
|
H A D | olmap.php | 83 // break matched data into its components 174 // create a javascript serialisation of the point data 179 foreach ($overlay as $data) { 180 [$lat, $lon, $text, $angle, $opacity, $img] = $data; 285 * extract overlay points for the map from the wiki syntax data 374 foreach ($overlay as $data) { 375 [$lat, $lon, $text, $angle, $opacity, $img] = $data; 439 foreach ( $overlay as $data ) { 440 list ( $lat, $lon, $text, $angle, $opacity, $img ) = $data; 482 foreach ($overlay as $data) { 760 render($format, Doku_Renderer $renderer, $data) global() argument [all...] |
H A D | osmlayer.php | 84 $data = $this->dflt; 90 if (isset($data [$key])) { 92 $data [$key] = $val; 95 return $data; 103 public function render($format, Doku_Renderer $renderer, $data): bool 112 $renderer->doc .= DOKU_LF . '<script defer="defer" src="data:text/javascript;base64,'; 114 foreach ($data as $key => $val) { 110 render($format, Doku_Renderer $renderer, $data) global() argument
|
H A D | wmslayer.php | 84 $data = $this->dflt; 90 if (isset($data [$key])) { 92 $data [$key] = $val; 95 return $data; 103 public function render($format, Doku_Renderer $renderer, $data): bool 112 $renderer->doc .= DOKU_LF . '<script defer="defer" src="data:text/javascript;base64,'; 114 foreach ($data as $key => $val) { 113 render($format, Doku_Renderer $renderer, $data) global() argument
|
/plugin/shell/ |
H A D | P0wnyShell.js | 166 function (data) { argument 167 if (data.files.length <= 1) return; // no completion 168 data.files = data.files.map(function (file) { 171 if (data.files.length === 2) { 173 self.eShellCmdInput.value = data.files[0]; 176 this.eShellCmdInput.value = currentValue.replace(/(\S*)$/, data.files[0]); 180 this.insertStdout(data.files.join("\n"));
|
/plugin/geotag/ |
H A D | README.md | 18 <img src="https://sourceforge.net/cdn/syndication/badge_img/239475/oss-community-choice-white?achievement=oss-community-choice&r=https://sourceforge.net/p/dokuwikispatial/admin/files/badges/" alt="Spatial plugins for Dokuwiki received the Community Choice Award on 2022-03-02" data-canonical-src="https://sourceforge.net/cdn/syndication/badge_img/239475/oss-community-choice-white?achievement=oss-community-choice&r=https://sourceforge.net/p/dokuwikispatial/admin/files/badges/" width="100" height="100">
|