mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Move Rest API docs and create main php docs! Hooray!
This should make things _much_ easier.
This commit is contained in:
parent
307d1bc889
commit
fad6d8f391
243 changed files with 42617 additions and 3053 deletions
16
.gitignore
vendored
16
.gitignore
vendored
|
@ -2,30 +2,28 @@
|
||||||
*.md
|
*.md
|
||||||
# All the previous revisions
|
# All the previous revisions
|
||||||
*.md.r*
|
*.md.r*
|
||||||
|
|
||||||
# Include the README
|
# Include the README
|
||||||
!README.md
|
!README.md
|
||||||
# ...but ignore READMEs in the build folder
|
# ...but ignore READMEs in the build folder
|
||||||
build/README.md
|
build/README.md
|
||||||
|
|
||||||
# ...and the backup peppermint.json files created when using the settings GUI
|
# ...and the backup peppermint.json files created when using the settings GUI
|
||||||
peppermint.json.bak
|
peppermint.json.bak
|
||||||
# And the Module API Docs
|
# But keep the useful markdown files
|
||||||
!Module_API_Docs.md
|
!Module_API_Docs.md
|
||||||
# And the changelog
|
|
||||||
!Changelog.md
|
!Changelog.md
|
||||||
# And the development notes
|
|
||||||
!Development.md
|
!Development.md
|
||||||
|
|
||||||
# The page index
|
# Ignore the php documentor cache folder
|
||||||
|
docs/ModuleApiCache
|
||||||
|
|
||||||
|
# Ignore the various indexes created by pepperminty wiki
|
||||||
pageindex.json
|
pageindex.json
|
||||||
# The id index
|
|
||||||
idindex.json
|
idindex.json
|
||||||
# The search index
|
|
||||||
invindex.json
|
invindex.json
|
||||||
# The recent changes list
|
|
||||||
recent-changes.json
|
recent-changes.json
|
||||||
# The statistics cache file
|
|
||||||
build/statsindex.json
|
build/statsindex.json
|
||||||
# The new settings file
|
|
||||||
peppermint.json
|
peppermint.json
|
||||||
# The comments files
|
# The comments files
|
||||||
build/*.comments.json
|
build/*.comments.json
|
||||||
|
|
28
Makefile
28
Makefile
|
@ -1,6 +1,6 @@
|
||||||
.DEFAULT_GOAL := peppermint
|
.DEFAULT_GOAL := peppermint
|
||||||
|
|
||||||
.PHONY: setupApiDoc peppermint docs gh-pages
|
.PHONY: setupApiDoc peppermint docs rest_docs module_api_docs
|
||||||
|
|
||||||
ApiDocPresent := $(shell sh -c apidoc --help 1\>/dev/null && rm -rf doc/)
|
ApiDocPresent := $(shell sh -c apidoc --help 1\>/dev/null && rm -rf doc/)
|
||||||
|
|
||||||
|
@ -8,11 +8,20 @@ peppermint:
|
||||||
@echo [peppermint/build] Rebuilding Pepperminty Wiki
|
@echo [peppermint/build] Rebuilding Pepperminty Wiki
|
||||||
php build.php
|
php build.php
|
||||||
|
|
||||||
docs: setupApiDoc
|
docs: rest_docs module_api_docs
|
||||||
|
|
||||||
|
rest_docs: setupApiDoc
|
||||||
@echo [peppermint/docs] Building docs
|
@echo [peppermint/docs] Building docs
|
||||||
apidoc -o './RestApiDocs/' --config apidoc.json -f '.*\.php' -e index.php
|
apidoc -o './docs/RestApi/' --config apidoc.json -f '.*\.php' -e index.php
|
||||||
rm -rf doc/
|
rm -rf doc/
|
||||||
|
|
||||||
|
module_api_docs: phpdoc
|
||||||
|
@echo [peppermint/module api docs] Updating module api docs
|
||||||
|
php phpdoc run --directory . --target docs/ModuleApi --cache-folder docs/ModuleApiCache --ignore build/,php_error.php,Parsedown*,*.html --title "Pepperminty Wiki Module API" --visibility public
|
||||||
|
|
||||||
|
phpdoc:
|
||||||
|
curl -L https://phpdoc.org/phpDocumentor.phar -o phpdoc
|
||||||
|
|
||||||
setupApiDoc:
|
setupApiDoc:
|
||||||
@echo [peppermint] Checking for apiDoc
|
@echo [peppermint] Checking for apiDoc
|
||||||
ifndef ApiDocPresent
|
ifndef ApiDocPresent
|
||||||
|
@ -21,16 +30,3 @@ ifndef ApiDocPresent
|
||||||
npm install apidoc --global
|
npm install apidoc --global
|
||||||
endif
|
endif
|
||||||
@echo [peppermint] Check complete
|
@echo [peppermint] Check complete
|
||||||
|
|
||||||
gh-pages:
|
|
||||||
@echo [peppermint/gh-pages] Syncing master branch with gh-pages branch.
|
|
||||||
@echo [peppermint/gh-pages] Making sure the working directory is clean.
|
|
||||||
# From http://unix.stackexchange.com/a/155077/64687
|
|
||||||
git diff --exit-code
|
|
||||||
git diff --cached --exit-code
|
|
||||||
|
|
||||||
git checkout gh-pages
|
|
||||||
git rebase master
|
|
||||||
git push origin gh-pages
|
|
||||||
git checkout master
|
|
||||||
@echo '[peppermint/gh-pages] Sync complete.'
|
|
||||||
|
|
|
@ -1,195 +1,28 @@
|
||||||
Module API Documentation
|
# Developer Documentation
|
||||||
========================
|
The core of Pepperminty Wiki exposes several global objects, classes, functions, and miscellaneous files that you can use to write your own modules. This page documents these them so that you can create your own modules more easily.
|
||||||
The core of Pepperminty Wik exposes several global objects and functions that you can use to write your own modules. This page documents these objects and functions so that you can create your own modules more easily.
|
|
||||||
|
|
||||||
Indexes
|
## Table of Contents
|
||||||
-------
|
- [Rest API](#rest-api)
|
||||||
Pepperminty Wiki maintains several indexes containing various information about the current site that you can utilise. Some of them also have an 'API' of sorts that you can use to interact with them.
|
- [Module API](#module-api)
|
||||||
|
- [Global Variables](#global-variables)
|
||||||
|
- [Files](#files)
|
||||||
|
- [`pageindex.json`](#pageindex.json)
|
||||||
|
- [`idindex.json`](#idindex.json)
|
||||||
|
- [`invindex.json`](#invindex.json)
|
||||||
|
- [`recent-changes.json`](#recent-changes.json)
|
||||||
|
- [`statsindex.json`](#statsindex.json)
|
||||||
|
|
||||||
### `pageindex.json`
|
## Rest API
|
||||||
This is by _far_ the most important index. It contains an entry for each page, under which a number of interesting pieces of information are stored. It's automatically loaded into the global variable `$pageindex` too, so you don't even have to read it in. Here's an example pageindex:
|
The REST api provided by Pepperminty Wiki itself is documented for bot owners and software developers alike over on GitHub pages [here](https://sbrl.github.io/Pepperminty-Wiki/docs/RestAPI).
|
||||||
|
|
||||||
```json
|
## Module API
|
||||||
{
|
The main PHP-based module API is documented with php documentor. The docs can be found [here](https://sbrl.github.io/Pepperminty-Wiki/docs/ModuleApi), hosted on GitHub Pages.
|
||||||
"Internal link": {
|
|
||||||
"filename": "Internal link.md",
|
|
||||||
"size": 120,
|
|
||||||
"lastmodified": 1446019377,
|
|
||||||
"lasteditor": "admin",
|
|
||||||
"tags": [
|
|
||||||
"testing",
|
|
||||||
"test tag with spaces",
|
|
||||||
"really really really really really really long tag"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Main Page": {
|
|
||||||
"filename": "Main Page.md",
|
|
||||||
"size": 151,
|
|
||||||
"lastmodified": 1446388276,
|
|
||||||
"lasteditor": "admin",
|
|
||||||
"tags": []
|
|
||||||
},
|
|
||||||
"Internal link\/Sub": {
|
|
||||||
"filename": "Internal link\/Sub.md",
|
|
||||||
"size": 35,
|
|
||||||
"lastmodified": 1446370194,
|
|
||||||
"lasteditor": "admin",
|
|
||||||
"tags": [
|
|
||||||
"test"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Files\/AJ Scr.png": {
|
|
||||||
"filename": "Files\/AJ Scr.png.md",
|
|
||||||
"size": 29,
|
|
||||||
"lastmodified": 1445501914,
|
|
||||||
"lasteditor": "admin",
|
|
||||||
"uploadedfile": true,
|
|
||||||
"uploadedfilepath": "Files\/AJ Scr.png",
|
|
||||||
"uploadedfilemime": "image\/png"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Currently, Pepperminty Wiki is configured to pretty print the json in the pageindex when saving it to disk, so if you find yourself saving the pageindex please do the same.
|
This documentation covers all the functions and classes available in both the Pepperminty Wiki core, and the modules stored in this repository - as well as mentioning which module they are a part of.
|
||||||
|
|
||||||
Now that alternate data storage directories are supported, the `$entry->filename` will *not* contain the `$env->storage_prefix` prefix. You will need to add this manually if you use it.
|
There are one or two additional things that haven't made their way into the module api docs, which are detailed below:
|
||||||
|
|
||||||
### `idindex.json`
|
### `page_renderer::register_part_preprocessor($code)`
|
||||||
The id index converts page ids into page names and vice versa. It's loaded into the global variable `$idindex`, but you normally wouldn't need to touch that, as there's a seamless API that you can use instead:
|
|
||||||
|
|
||||||
#### `ids::getid($pagename)`
|
|
||||||
Gets the id associated with the given pagename. If it doesn't exist it will be created.
|
|
||||||
|
|
||||||
#### `ids::getpagename($id)`
|
|
||||||
Gets the page name associated with the given id. If it doesn't exist `false` will be returned.
|
|
||||||
|
|
||||||
Functions
|
|
||||||
---------
|
|
||||||
|
|
||||||
### `register_module($module_info)`
|
|
||||||
Register a new module with Pepperminty Wiki. This is the most important function. Here's an example:
|
|
||||||
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
register_module([
|
|
||||||
"name" => "Human readable module name", // The name of your module, will be shown to users
|
|
||||||
"version" => "0.1", // The version number
|
|
||||||
"author" => "Author Name", // Your name
|
|
||||||
"description" => "Module Description", // A description of your module. Shown in the module downloader.
|
|
||||||
"id" => "module-id", // An id for your module name. Should be filename safe with no spaces or capital letters.
|
|
||||||
"code" => function() {
|
|
||||||
// Insert your module's code here
|
|
||||||
}
|
|
||||||
]);
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
The function that you provide will be executed after the initial setup has been completed.
|
|
||||||
|
|
||||||
### `module_exists($id)`
|
|
||||||
Checks to see if a module with the given id is currently loaded. Very useful for providing optional integration with other modules. Note that this may return false if all the modules haven't been loaded yet. All the modules are guaranteed to be loaded by the time the code in the `"code"` function is executed.
|
|
||||||
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
module_exists("feature-search"); // Returns true if the feature-search module is loaded, false otherwise.
|
|
||||||
```
|
|
||||||
|
|
||||||
### `add_action($action_name, $code)`
|
|
||||||
Since Pepperminty Wiki works through actions via the GET parameter `action`, there is a function that lets you register a new handler for any given action. Note that you should call this inside the function you passed to `register_handler()`. Here's an example:
|
|
||||||
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
register_module([
|
|
||||||
"name" => "Human readable module name",
|
|
||||||
"version" => "0.1",
|
|
||||||
"author" => "Author Name",
|
|
||||||
"description" => "Module Description",
|
|
||||||
"id" => "module-id",
|
|
||||||
"code" => function() {
|
|
||||||
add_action("action_name", function() {
|
|
||||||
exit("Hello, World!");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
]);
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
The above adds an action called `action_name`, which, when requested, outputs the text `Hello, World!`.
|
|
||||||
|
|
||||||
### `register_save_preprocessor($function)`
|
|
||||||
Registers a function to be called every time a page is edited. The function will be passed the following parameters:
|
|
||||||
|
|
||||||
1. A reference to the pageindex entry that is about to be saved.
|
|
||||||
2. The new text that is to replace the old text.
|
|
||||||
3. The old text that the new text is going to replace.
|
|
||||||
|
|
||||||
If you make the function that you pass here take the new text that is to be saved in as a reference, you may alter it before it is saved to disk.
|
|
||||||
|
|
||||||
### `page_renderer`
|
|
||||||
You probably want your module to output a nice user-friendly page instead of a simple text-based one. Luckily, Pepperminty Wiki has a system to let you do that.
|
|
||||||
|
|
||||||
#### `page_renderer::render_main($title, $content)`
|
|
||||||
This is the main page rendering function you'll want to use. It renders and returns a page much the same as the default `view` action does. Here's an example:
|
|
||||||
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
|
|
||||||
exit(page_renderer::render_main("Page title", "Page content"));
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
#### `page_renderer::render_minimal($title, $content)`
|
|
||||||
Similar to the above, but renders a printable page instead. For an example, click the "Printable" button at the top of any page on Pepperminty Wiki.
|
|
||||||
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
|
|
||||||
exit(page_renderer::render_minimal("Page title", "Page content"));
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `page_renderer::render_username($name)`
|
|
||||||
Renders a username. Currently all this function does is prepend `$settings->admin_display_char` to the username if they are an admin. Example:
|
|
||||||
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
|
|
||||||
exit(page_renderer::render_username("admin")); // Output would be something like "◆admin".
|
|
||||||
|
|
||||||
?>
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `page_renderer::AddJSLink(string $scriptUrl)`
|
|
||||||
Add a remote JS script to rendered pages. Links added via this method translate to something like `<script src='{script url}' defer></script>`.
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
|
|
||||||
page_renderer::AddJSLink("http://bobsrockets.com/js/awesomescript.js");
|
|
||||||
|
|
||||||
?>
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `page_renderer::AddJSSnippet(string $snippet)`
|
|
||||||
Adds a snippet of javascript to generated pages. The snippet in question will be guaranteed to run after the DOM content has loaded (but the `onload` event may not have fired yet). Snippets added via this method will be translated into something like `<script defer>{snippet}</script>`.
|
|
||||||
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
|
|
||||||
page_renderer::AddJSSnippet("alert('Hai!');");
|
|
||||||
|
|
||||||
?>
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `page_renderer::register_part_preprocessor($code)`
|
|
||||||
This function's use is more complicated to explain. Pepperminty Wiki renders pages with a very simple templating system. For example, in the template a page's content is denoted by `{content}`. A function registered here will be passed all the components of a page _just_ before they are dropped into the template. Note that the function you pass in here should take a *reference* to the components, as the return value of the function passed is discarded. Here's an example:
|
This function's use is more complicated to explain. Pepperminty Wiki renders pages with a very simple templating system. For example, in the template a page's content is denoted by `{content}`. A function registered here will be passed all the components of a page _just_ before they are dropped into the template. Note that the function you pass in here should take a *reference* to the components, as the return value of the function passed is discarded. Here's an example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
|
@ -251,9 +84,8 @@ register_module([
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Variables
|
### Global Variables
|
||||||
---------
|
There are a number of global variables floating around that can give you a lot of information about the current request. ~~I will be tidying them up into a single `$env` object soon.~~ Most of the below have been tidied up into a single `$env` object now! Below is a table of all the variables Pepperminty Wiki has lying around:
|
||||||
There are a number of global variables floatign around that can give you a lot of information about the current request. ~~I will be tidying them up into a single `$env` object soon.~~ Most of the below have been tidied up into a single `$env` object now! Below is a table of all the variables Pepperminty Wiki has lying around:
|
|
||||||
|
|
||||||
Variable | Description
|
Variable | Description
|
||||||
------------------------|------------------------------------------
|
------------------------|------------------------------------------
|
||||||
|
@ -265,3 +97,67 @@ Variable | Description
|
||||||
`$env->action` | The current action.
|
`$env->action` | The current action.
|
||||||
`$settings` | The settings object from the top of the file.
|
`$settings` | The settings object from the top of the file.
|
||||||
`$pageindex` | Contains a list of all the pages that Pepperminty Wiki currently knows about, along with information about each page. Exists to improve performance.
|
`$pageindex` | Contains a list of all the pages that Pepperminty Wiki currently knows about, along with information about each page. Exists to improve performance.
|
||||||
|
|
||||||
|
|
||||||
|
## Files
|
||||||
|
Pepperminty Wiki maintains several files (most of which are indexes) containing various information about the current site that you can utilise. Some of them also have an 'API' of sorts that you can use to interact with them - which is documented in the [module api](#module-api) above.
|
||||||
|
|
||||||
|
### `pageindex.json`
|
||||||
|
This is by _far_ the most important index. It contains an entry for each page, under which a number of interesting pieces of information are stored. It's automatically loaded into the global variable `$pageindex` too, so you don't even have to read it in. Here's an example pageindex:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"Internal link": {
|
||||||
|
"filename": "Internal link.md",
|
||||||
|
"size": 120,
|
||||||
|
"lastmodified": 1446019377,
|
||||||
|
"lasteditor": "admin",
|
||||||
|
"tags": [
|
||||||
|
"testing",
|
||||||
|
"test tag with spaces",
|
||||||
|
"really really really really really really long tag"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"Main Page": {
|
||||||
|
"filename": "Main Page.md",
|
||||||
|
"size": 151,
|
||||||
|
"lastmodified": 1446388276,
|
||||||
|
"lasteditor": "admin",
|
||||||
|
"tags": []
|
||||||
|
},
|
||||||
|
"Internal link\/Sub": {
|
||||||
|
"filename": "Internal link\/Sub.md",
|
||||||
|
"size": 35,
|
||||||
|
"lastmodified": 1446370194,
|
||||||
|
"lasteditor": "admin",
|
||||||
|
"tags": [
|
||||||
|
"test"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"Files\/AJ Scr.png": {
|
||||||
|
"filename": "Files\/AJ Scr.png.md",
|
||||||
|
"size": 29,
|
||||||
|
"lastmodified": 1445501914,
|
||||||
|
"lasteditor": "admin",
|
||||||
|
"uploadedfile": true,
|
||||||
|
"uploadedfilepath": "Files\/AJ Scr.png",
|
||||||
|
"uploadedfilemime": "image\/png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Currently, Pepperminty Wiki is configured to pretty print the json in the pageindex when saving it to disk, so if you find yourself saving the pageindex please do the same.
|
||||||
|
|
||||||
|
Now that alternate data storage directories are supported, the `$entry->filename` will *not* contain the `$env->storage_prefix` prefix. You will need to add this manually if you use it.
|
||||||
|
|
||||||
|
### `idindex.json`
|
||||||
|
The id index converts page ids into page names and vice versa. It's loaded into the global variable `$idindex`, but you normally wouldn't need to touch that, as there's a seamless API that you can use instead, which can be found under the `ids` class.
|
||||||
|
|
||||||
|
### `invindex.json`
|
||||||
|
This is the main search index. Obviously, it's only present if the `feature-search` module is loaded and active. It can be interacted with though the `search` class that the `feature-search` module exposes.
|
||||||
|
|
||||||
|
### `recent-changes.json`
|
||||||
|
This is not loaded automatically, but it contains a list of recent changes that have occurred throughout the wiki. You don't have to fiddle with it directly though if you just want to add a new change, because the `feature-recent-changes` module has a fewe handy methods you can use for that purpose.
|
||||||
|
|
||||||
|
### `statsindex.json`
|
||||||
|
This file is brand new as of v0.15, and contains the most recently calculated statistics about the wiki. The `feature-stats` module oversees the regeneration of this file. Consult if you need access to such statistics that might be somewhat expensive to calculate.
|
||||||
|
|
|
@ -171,7 +171,7 @@ Key | Value | Explanation
|
||||||
## Module API Reference
|
## Module API Reference
|
||||||
I have documented (most of) the current API that you can use to create your own modules. You can find it in the [Module_API_Docs.md](https://github.com/sbrl/Pepperminty-Wiki/blob/master/Module_API_Docs.md) file in this repository.
|
I have documented (most of) the current API that you can use to create your own modules. You can find it in the [Module_API_Docs.md](https://github.com/sbrl/Pepperminty-Wiki/blob/master/Module_API_Docs.md) file in this repository.
|
||||||
|
|
||||||
I've also documented Pepperminty Wiki's entire REST API using [apiDoc](http://apidocjs.com/). You can view the docs [here](https://sbrl.github.io/Pepperminty-Wiki/RestApiDocs/).
|
I've also documented Pepperminty Wiki's entire REST API using [apiDoc](http://apidocjs.com/). You can view the docs [here](https://sbrl.github.io/Pepperminty-Wiki/docs/RestApiDocs/).
|
||||||
|
|
||||||
If you do create a module, I'd love to hear about it. Even better, [send a pull request](https://github.com/sbrl/Pepperminty-Wiki/pulls/new)!
|
If you do create a module, I'd love to hear about it. Even better, [send a pull request](https://github.com/sbrl/Pepperminty-Wiki/pulls/new)!
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
7
core.php
7
core.php
|
@ -1123,6 +1123,13 @@ class page_renderer
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers a function as a part post processor.
|
* Registers a function as a part post processor.
|
||||||
|
* This function's use is more complicated to explain. Pepperminty Wiki
|
||||||
|
* renders pages with a very simple templating system. For example, in the
|
||||||
|
* template a page's content is denoted by `{content}`. A function
|
||||||
|
* registered here will be passed all the components of a page _just_
|
||||||
|
* before they are dropped into the template. Note that the function you
|
||||||
|
* pass in here should take a *reference* to the components, as the return
|
||||||
|
* value of the function passed is discarded.
|
||||||
* @package core
|
* @package core
|
||||||
* @param function $function The part preprocessor to register.
|
* @param function $function The part preprocessor to register.
|
||||||
*/
|
*/
|
||||||
|
|
5
docs/ModuleApi/.htaccess
Normal file
5
docs/ModuleApi/.htaccess
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Fixes a vulnerability in CentOS: http://stackoverflow.com/questions/20533279/prevent-php-from-parsing-non-php-files-such-as-somefile-php-txt
|
||||||
|
<FilesMatch \.php\.txt$>
|
||||||
|
RemoveHandler .php
|
||||||
|
ForceType text/plain
|
||||||
|
</FilesMatch>
|
376
docs/ModuleApi/classes/PeppermintParsedown.html
Normal file
376
docs/ModuleApi/classes/PeppermintParsedown.html
Normal file
|
@ -0,0 +1,376 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1060053167"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1060053167" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<nav>
|
||||||
|
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
||||||
|
</nav>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
|
||||||
|
<h1><small>\</small>PeppermintParsedown</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section id="summary">
|
||||||
|
<h2>Summary</h2>
|
||||||
|
<section class="row-fluid heading">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#methods">Methods</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#properties">Properties</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#constants">Constants</a>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid public">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="../classes/PeppermintParsedown.html#method___construct" class="">__construct()</a><br />
|
||||||
|
<a href="../classes/PeppermintParsedown.html#method_setInternalLinkBase" class="">setInternalLinkBase()</a><br />
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No public properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No constants found</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid protected">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid private">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href="../files/modules.parser-parsedown.html"><div class="path-wrapper">modules/parser-parsedown.php</div></a></dd>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">Default</div></dd>
|
||||||
|
<dt>Class hierarchy</dt>
|
||||||
|
<dd class="hierarchy">
|
||||||
|
|
||||||
|
<div class="namespace-wrapper">\ParsedownExtra</div>
|
||||||
|
<div class="namespace-wrapper">\PeppermintParsedown</div>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a id="methods" name="methods"></a>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class"><h2>Methods</h2></div>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method___construct" name="method___construct" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">__construct()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">__construct() </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_setInternalLinkBase" name="method_setInternalLinkBase" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">setInternalLinkBase()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">setInternalLinkBase(string <span class="argument">$url</span>) </pre>
|
||||||
|
<p><em>Sets the base url to be used for internal links. '%s' will be replaced
|
||||||
|
with a URL encoded version of the page name.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$url </td>
|
||||||
|
<td><p>The url to use when parsing internal links.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label">parser-parsedown.php</h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/parser-parsedown.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
425
docs/ModuleApi/classes/Slimdown.html
Normal file
425
docs/ModuleApi/classes/Slimdown.html
Normal file
|
@ -0,0 +1,425 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-610538792"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-610538792" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<nav>
|
||||||
|
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
||||||
|
</nav>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
|
||||||
|
<h1><small>\</small>Slimdown</h1>
|
||||||
|
<p><em>Modified by Starbeamrainbowlabs (starbeamrainbowlabs)</em></p>
|
||||||
|
<p>Changed bold to use single asterisks
|
||||||
|
Changed italics to use single underscores
|
||||||
|
Added one to add the heading levels (no <h1> tags allowed)
|
||||||
|
Added wiki style internal link parsing
|
||||||
|
Added wiki style internal link parsing with display text
|
||||||
|
Added image support</p>
|
||||||
|
|
||||||
|
|
||||||
|
<section id="summary">
|
||||||
|
<h2>Summary</h2>
|
||||||
|
<section class="row-fluid heading">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#methods">Methods</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#properties">Properties</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#constants">Constants</a>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid public">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="../classes/Slimdown.html#method_add_rule" class="">add_rule()</a><br />
|
||||||
|
<a href="../classes/Slimdown.html#method_render" class="">render()</a><br />
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="../classes/Slimdown.html#property_rules" class="">$rules</a><br />
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No constants found</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid protected">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid private">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href="../files/modules.parser-default-old.html"><div class="path-wrapper">modules/parser-default-old.php</div></a></dd>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">Default</div></dd>
|
||||||
|
<dt>Class hierarchy</dt>
|
||||||
|
<dd class="hierarchy">
|
||||||
|
<div class="namespace-wrapper">\Slimdown</div>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<a id="properties" name="properties"></a>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<h2>Properties</h2>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="property_rules" name="property_rules" class="anchor"></a>
|
||||||
|
<article class="property">
|
||||||
|
<h3 class="public ">$rules</h3>
|
||||||
|
<pre class="signature">$rules : </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Type</h4>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<a id="methods" name="methods"></a>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class"><h2>Methods</h2></div>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_add_rule" name="method_add_rule" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">add_rule()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">add_rule( <span class="argument">$regex</span>, <span class="argument">$replacement</span>) </pre>
|
||||||
|
<p><em>Add a rule.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$regex </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$replacement </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render" name="method_render" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">render()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render( <span class="argument">$text</span>) </pre>
|
||||||
|
<p><em>Render some Markdown into HTML.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$text </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label">parser-default-old.php</h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/parser-default-old.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
536
docs/ModuleApi/classes/ids.html
Normal file
536
docs/ModuleApi/classes/ids.html
Normal file
|
@ -0,0 +1,536 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-459313590"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-459313590" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<nav>
|
||||||
|
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
||||||
|
</nav>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
|
||||||
|
<h1><small>\</small>ids</h1>
|
||||||
|
<p><em>Provides an interface to interact with page ids.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section id="summary">
|
||||||
|
<h2>Summary</h2>
|
||||||
|
<section class="row-fluid heading">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#methods">Methods</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#properties">Properties</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#constants">Constants</a>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid public">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="../classes/ids.html#method_getid" class="">getid()</a><br />
|
||||||
|
<a href="../classes/ids.html#method_getpagename" class="">getpagename()</a><br />
|
||||||
|
<a href="../classes/ids.html#method_movepagename" class="">movepagename()</a><br />
|
||||||
|
<a href="../classes/ids.html#method_deletepagename" class="">deletepagename()</a><br />
|
||||||
|
<a href="../classes/ids.html#method_clear" class="">clear()</a><br />
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No public properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No constants found</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid protected">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid private">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href="../files/core.html"><div class="path-wrapper">core.php</div></a></dd>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">core</div></dd>
|
||||||
|
<dt>Class hierarchy</dt>
|
||||||
|
<dd class="hierarchy">
|
||||||
|
<div class="namespace-wrapper">\ids</div>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a id="methods" name="methods"></a>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class"><h2>Methods</h2></div>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_getid" name="method_getid" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">getid()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">getid(string <span class="argument">$pagename</span>) : integer</pre>
|
||||||
|
<p><em>Gets the page id associated with the given page name.</em></p>
|
||||||
|
<p>If it doesn't exist in the id index, it will be added.</p>
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$pagename </td>
|
||||||
|
<td><p>The name of the page to fetch the id for.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
integer
|
||||||
|
— <p>The id for the specified page name.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_getpagename" name="method_getpagename" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">getpagename()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">getpagename(integer <span class="argument">$id</span>) : string</pre>
|
||||||
|
<p><em>Gets the page name associated with the given page id.</em></p>
|
||||||
|
<p>Be warned that if the id index is cleared (e.g. when the search index is
|
||||||
|
rebuilt from scratch), the id associated with a page name may change!</p>
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>integer</td>
|
||||||
|
<td>$id </td>
|
||||||
|
<td><p>The id to fetch the page name for.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The page name currently associated with the specified id.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_movepagename" name="method_movepagename" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">movepagename()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">movepagename(string <span class="argument">$oldpagename</span>, string <span class="argument">$newpagename</span>) </pre>
|
||||||
|
<p><em>Moves a page in the id index from $oldpagename to $newpagename.</em></p>
|
||||||
|
<p>Note that this function doesn't perform any special checks to make sure
|
||||||
|
that the destination name doesn't already exist.</p>
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$oldpagename </td>
|
||||||
|
<td><p>The old page name to move.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$newpagename </td>
|
||||||
|
<td><p>The new pagee name to move the old page name to.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_deletepagename" name="method_deletepagename" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">deletepagename()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">deletepagename(string <span class="argument">$pagename</span>) </pre>
|
||||||
|
<p><em>Removes the given page name from the id index.</em></p>
|
||||||
|
<p>Note that this function doesn't handle multiple entries with the same
|
||||||
|
name. Also note that it may get re-added during a search reindex if the
|
||||||
|
page still exists.</p>
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$pagename </td>
|
||||||
|
<td><p>The page name to delete from the id index.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_clear" name="method_clear" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">clear()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">clear() </pre>
|
||||||
|
<p><em>Clears the id index completely.</em></p>
|
||||||
|
<p>Will break the inverted search index! Make sure you rebuild the search
|
||||||
|
index (if the search module is installed, of course) if you want search
|
||||||
|
to still work. Of course, note that will re-add all the pages to the id
|
||||||
|
index.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label">core.php</h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/core.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
948
docs/ModuleApi/classes/page_renderer.html
Normal file
948
docs/ModuleApi/classes/page_renderer.html
Normal file
|
@ -0,0 +1,948 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-502208457"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-502208457" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<nav>
|
||||||
|
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
||||||
|
</nav>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
|
||||||
|
<h1><small>\</small>page_renderer</h1>
|
||||||
|
<p><em>Renders the HTML page that is sent to the client.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section id="summary">
|
||||||
|
<h2>Summary</h2>
|
||||||
|
<section class="row-fluid heading">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#methods">Methods</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#properties">Properties</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#constants">Constants</a>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid public">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="../classes/page_renderer.html#method_register_part_preprocessor" class="">register_part_preprocessor()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_render" class="">render()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_render_main" class="">render_main()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_render_minimal" class="">render_minimal()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_get_header_html" class="">get_header_html()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_get_css_as_html" class="">get_css_as_html()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_AddJSLink" class="">AddJSLink()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_AddJSSnippet" class="">AddJSSnippet()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_render_navigation_bar" class="">render_navigation_bar()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_render_username" class="">render_username()</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#method_generate_all_pages_datalist" class="">generate_all_pages_datalist()</a><br />
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="../classes/page_renderer.html#property_html_template" class="">$html_template</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#property_main_content_template" class="">$main_content_template</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#property_minimal_content_template" class="">$minimal_content_template</a><br />
|
||||||
|
<a href="../classes/page_renderer.html#property_nav_divider" class="">$nav_divider</a><br />
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No constants found</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid protected">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid private">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href="../files/core.html"><div class="path-wrapper">core.php</div></a></dd>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">core</div></dd>
|
||||||
|
<dt>Class hierarchy</dt>
|
||||||
|
<dd class="hierarchy">
|
||||||
|
<div class="namespace-wrapper">\page_renderer</div>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<a id="properties" name="properties"></a>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<h2>Properties</h2>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="property_html_template" name="property_html_template" class="anchor"></a>
|
||||||
|
<article class="property">
|
||||||
|
<h3 class="public ">$html_template</h3>
|
||||||
|
<pre class="signature">$html_template : string</pre>
|
||||||
|
<p><em>The root HTML template that all pages are built from.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Type</h4>
|
||||||
|
string
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="property_main_content_template" name="property_main_content_template" class="anchor"></a>
|
||||||
|
<article class="property">
|
||||||
|
<h3 class="public ">$main_content_template</h3>
|
||||||
|
<pre class="signature">$main_content_template : string</pre>
|
||||||
|
<p><em>The main content template that is used to render normal wiki pages.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Type</h4>
|
||||||
|
string
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="property_minimal_content_template" name="property_minimal_content_template" class="anchor"></a>
|
||||||
|
<article class="property">
|
||||||
|
<h3 class="public ">$minimal_content_template</h3>
|
||||||
|
<pre class="signature">$minimal_content_template : string</pre>
|
||||||
|
<p><em>A specially minified content template that doesn't include the navbar and
|
||||||
|
other elements not suiltable for printing.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Type</h4>
|
||||||
|
string
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="property_nav_divider" name="property_nav_divider" class="anchor"></a>
|
||||||
|
<article class="property">
|
||||||
|
<h3 class="public ">$nav_divider</h3>
|
||||||
|
<pre class="signature">$nav_divider : string</pre>
|
||||||
|
<p><em>The navigation bar divider.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Type</h4>
|
||||||
|
string
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<a id="methods" name="methods"></a>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class"><h2>Methods</h2></div>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_register_part_preprocessor" name="method_register_part_preprocessor" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">register_part_preprocessor()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">register_part_preprocessor(\function <span class="argument">$function</span>) </pre>
|
||||||
|
<p><em>Registers a function as a part post processor.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>\function</td>
|
||||||
|
<td>$function </td>
|
||||||
|
<td><p>The part preprocessor to register.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render" name="method_render" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">render()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render(string <span class="argument">$title</span>, string <span class="argument">$content</span>, boolean <span class="argument">$body_template = false</span>) : string</pre>
|
||||||
|
<p><em>Renders a HTML page with the content specified.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$title </td>
|
||||||
|
<td><p>The title of the page.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$content </td>
|
||||||
|
<td><p>The (HTML) content of the page.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>boolean</td>
|
||||||
|
<td>$body_template </td>
|
||||||
|
<td><p>The HTML content template to use.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The rendered HTML, ready to send to the client :-)</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render_main" name="method_render_main" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">render_main()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render_main(string <span class="argument">$title</span>, string <span class="argument">$content</span>) : string</pre>
|
||||||
|
<p><em>Renders a normal HTML page.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$title </td>
|
||||||
|
<td><p>The title of the page.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$content </td>
|
||||||
|
<td><p>The content of the page.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The rendered page.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render_minimal" name="method_render_minimal" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">render_minimal()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render_minimal(string <span class="argument">$title</span>, string <span class="argument">$content</span>) : string</pre>
|
||||||
|
<p><em>Renders a minimal HTML page. Useful for printable pages.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$title </td>
|
||||||
|
<td><p>The title of the page.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$content </td>
|
||||||
|
<td><p>The content of the page.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The rendered page.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_get_header_html" name="method_get_header_html" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">get_header_html()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">get_header_html() : string</pre>
|
||||||
|
<p><em>Renders the header HTML.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The rendered HTML that goes in the header.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_get_css_as_html" name="method_get_css_as_html" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">get_css_as_html()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">get_css_as_html() : string</pre>
|
||||||
|
<p><em>Renders all the CSS as HTML.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The css as HTML, ready to be included in the HTML header.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_AddJSLink" name="method_AddJSLink" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">AddJSLink()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">AddJSLink(string <span class="argument">$scriptUrl</span>) </pre>
|
||||||
|
<p><em>Adds the specified url to a javascript file as a reference to the page.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$scriptUrl </td>
|
||||||
|
<td><p>The url of the javascript file to reference.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_AddJSSnippet" name="method_AddJSSnippet" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">AddJSSnippet()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">AddJSSnippet(string <span class="argument">$script</span>) </pre>
|
||||||
|
<p><em>Adds a javascript snippet to the page.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$script </td>
|
||||||
|
<td><p>The snippet of javascript to add.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render_navigation_bar" name="method_render_navigation_bar" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">render_navigation_bar()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render_navigation_bar(array <span class="argument">$nav_links</span>, array <span class="argument">$nav_links_extra</span>, string <span class="argument">$class = ""</span>) </pre>
|
||||||
|
<p><em>Renders a navigation bar from an array of links. See
|
||||||
|
$settings->nav_links for format information.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>array</td>
|
||||||
|
<td>$nav_links </td>
|
||||||
|
<td><p>The links to add to the navigation bar.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>array</td>
|
||||||
|
<td>$nav_links_extra </td>
|
||||||
|
<td><p>The extra nav links to add to
|
||||||
|
the "More..." menu.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$class </td>
|
||||||
|
<td><p>The class(es) to assign to the rendered
|
||||||
|
navigation bar.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render_username" name="method_render_username" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">render_username()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render_username(string <span class="argument">$name</span>) : string</pre>
|
||||||
|
<p><em>Renders a username for inclusion in a page.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$name </td>
|
||||||
|
<td><p>The username to render.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The username rendered in HTML.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_generate_all_pages_datalist" name="method_generate_all_pages_datalist" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">generate_all_pages_datalist()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">generate_all_pages_datalist() : string</pre>
|
||||||
|
<p><em>Renders the datalist for the search box as HTML.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The search box datalist as HTML.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>core</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label">core.php</h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/core.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
902
docs/ModuleApi/classes/search.html
Normal file
902
docs/ModuleApi/classes/search.html
Normal file
|
@ -0,0 +1,902 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1961686267"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1961686267" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<nav>
|
||||||
|
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
||||||
|
</nav>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
|
||||||
|
<h1><small>\</small>search</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section id="summary">
|
||||||
|
<h2>Summary</h2>
|
||||||
|
<section class="row-fluid heading">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#methods">Methods</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#properties">Properties</a>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="#constants">Constants</a>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid public">
|
||||||
|
<section class="span4">
|
||||||
|
<a href="../classes/search.html#method_index" class="">index()</a><br />
|
||||||
|
<a href="../classes/search.html#method_tokenize" class="">tokenize()</a><br />
|
||||||
|
<a href="../classes/search.html#method_strip_markup" class="">strip_markup()</a><br />
|
||||||
|
<a href="../classes/search.html#method_rebuild_invindex" class="">rebuild_invindex()</a><br />
|
||||||
|
<a href="../classes/search.html#method_sort_index" class="">sort_index()</a><br />
|
||||||
|
<a href="../classes/search.html#method_compare_indexes" class="">compare_indexes()</a><br />
|
||||||
|
<a href="../classes/search.html#method_load_invindex" class="">load_invindex()</a><br />
|
||||||
|
<a href="../classes/search.html#method_measure_invindex_load_time" class="">measure_invindex_load_time()</a><br />
|
||||||
|
<a href="../classes/search.html#method_merge_into_invindex" class="">merge_into_invindex()</a><br />
|
||||||
|
<a href="../classes/search.html#method_delete_entry" class="">delete_entry()</a><br />
|
||||||
|
<a href="../classes/search.html#method_save_invindex" class="">save_invindex()</a><br />
|
||||||
|
<a href="../classes/search.html#method_query_invindex" class="">query_invindex()</a><br />
|
||||||
|
<a href="../classes/search.html#method_extract_context" class="">extract_context()</a><br />
|
||||||
|
<a href="../classes/search.html#method_highlight_context" class="">highlight_context()</a><br />
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<a href="../classes/search.html#property_stop_words" class="">$stop_words</a><br />
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No constants found</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid protected">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No protected properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid private">
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private methods found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>No private properties found</em>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<em>N/A</em>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href="../files/modules.feature-search.html"><div class="path-wrapper">modules/feature-search.php</div></a></dd>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">Default</div></dd>
|
||||||
|
<dt>Class hierarchy</dt>
|
||||||
|
<dd class="hierarchy">
|
||||||
|
<div class="namespace-wrapper">\search</div>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<a id="properties" name="properties"></a>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<h2>Properties</h2>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="property_stop_words" name="property_stop_words" class="anchor"></a>
|
||||||
|
<article class="property">
|
||||||
|
<h3 class="public ">$stop_words</h3>
|
||||||
|
<pre class="signature">$stop_words : </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Type</h4>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<a id="methods" name="methods"></a>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class"><h2>Methods</h2></div>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_index" name="method_index" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">index()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">index( <span class="argument">$source</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$source </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_tokenize" name="method_tokenize" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">tokenize()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">tokenize( <span class="argument">$source</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$source </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_strip_markup" name="method_strip_markup" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">strip_markup()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">strip_markup( <span class="argument">$source</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$source </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_rebuild_invindex" name="method_rebuild_invindex" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">rebuild_invindex()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">rebuild_invindex( <span class="argument">$output = true</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$output </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_sort_index" name="method_sort_index" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">sort_index()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">sort_index( <span class="argument">$index</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$index </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_compare_indexes" name="method_compare_indexes" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">compare_indexes()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">compare_indexes( <span class="argument">$oldindex</span>, <span class="argument">$newindex</span>, <span class="argument">$changed</span>, <span class="argument">$removed</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$oldindex </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$newindex </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$changed </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$removed </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_load_invindex" name="method_load_invindex" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">load_invindex()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">load_invindex( <span class="argument">$invindex_filename</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$invindex_filename </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_measure_invindex_load_time" name="method_measure_invindex_load_time" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">measure_invindex_load_time()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">measure_invindex_load_time( <span class="argument">$invindex_filename</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$invindex_filename </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_merge_into_invindex" name="method_merge_into_invindex" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">merge_into_invindex()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">merge_into_invindex( <span class="argument">$invindex</span>, <span class="argument">$pageid</span>, <span class="argument">$index</span>, <span class="argument">$removals = array()</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$invindex </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$pageid </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$index </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$removals </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_delete_entry" name="method_delete_entry" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">delete_entry()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">delete_entry( <span class="argument">$invindex</span>, \number <span class="argument">$pageid</span>) </pre>
|
||||||
|
<p><em>Deletes the given pageid from the given pageindex.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$invindex </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>\number</td>
|
||||||
|
<td>$pageid </td>
|
||||||
|
<td><p>The pageid to remove.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_save_invindex" name="method_save_invindex" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">save_invindex()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">save_invindex( <span class="argument">$filename</span>, <span class="argument">$invindex</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$filename </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$invindex </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_query_invindex" name="method_query_invindex" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">query_invindex()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">query_invindex( <span class="argument">$query</span>, <span class="argument">$invindex</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$query </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$invindex </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_extract_context" name="method_extract_context" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">extract_context()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">extract_context( <span class="argument">$query</span>, <span class="argument">$source</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$query </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$source </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_highlight_context" name="method_highlight_context" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class="public ">highlight_context()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">highlight_context( <span class="argument">$query</span>, <span class="argument">$context</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$query </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$context </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<span class="label label-info">static</span>
|
||||||
|
<dl>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label">feature-search.php</h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-search.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
732
docs/ModuleApi/css/bootstrap-combined.no-icons.min.css
vendored
Normal file
732
docs/ModuleApi/css/bootstrap-combined.no-icons.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
403
docs/ModuleApi/css/font-awesome.min.css
vendored
Normal file
403
docs/ModuleApi/css/font-awesome.min.css
vendored
Normal file
|
@ -0,0 +1,403 @@
|
||||||
|
@font-face{font-family:'FontAwesome';src:url('../font/fontawesome-webfont.eot?v=3.2.1');src:url('../font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('../font/fontawesome-webfont.woff?v=3.2.1') format('woff'),url('../font/fontawesome-webfont.ttf?v=3.2.1') format('truetype'),url('../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;}
|
||||||
|
[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;}
|
||||||
|
.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em;}
|
||||||
|
a [class^="icon-"],a [class*=" icon-"]{display:inline;}
|
||||||
|
[class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em;}
|
||||||
|
.icons-ul{margin-left:2.142857142857143em;list-style-type:none;}.icons-ul>li{position:relative;}
|
||||||
|
.icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit;}
|
||||||
|
[class^="icon-"].hide,[class*=" icon-"].hide{display:none;}
|
||||||
|
.icon-muted{color:#eeeeee;}
|
||||||
|
.icon-light{color:#ffffff;}
|
||||||
|
.icon-dark{color:#333333;}
|
||||||
|
.icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
|
||||||
|
.icon-2x{font-size:2em;}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
|
||||||
|
.icon-3x{font-size:3em;}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
|
||||||
|
.icon-4x{font-size:4em;}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
|
||||||
|
.icon-5x{font-size:5em;}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;}
|
||||||
|
.pull-right{float:right;}
|
||||||
|
.pull-left{float:left;}
|
||||||
|
[class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em;}
|
||||||
|
[class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em;}
|
||||||
|
[class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0;}
|
||||||
|
.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none;}
|
||||||
|
.btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em;}
|
||||||
|
.btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block;}
|
||||||
|
.nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em;}
|
||||||
|
.btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em;}
|
||||||
|
.btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em;}
|
||||||
|
.btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em;}
|
||||||
|
.btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0;}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em;}
|
||||||
|
.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em;}
|
||||||
|
.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em;}
|
||||||
|
.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{line-height:inherit;}
|
||||||
|
.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;}
|
||||||
|
.icon-stack .icon-stack-base{font-size:2em;*line-height:1em;}
|
||||||
|
.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;}
|
||||||
|
a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none;}
|
||||||
|
@-moz-keyframes spin{0%{-moz-transform:rotate(0deg);} 100%{-moz-transform:rotate(359deg);}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(359deg);}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);} 100%{-o-transform:rotate(359deg);}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg);} 100%{-ms-transform:rotate(359deg);}}@keyframes spin{0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);}
|
||||||
|
.icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);}
|
||||||
|
.icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);}
|
||||||
|
.icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1);}
|
||||||
|
.icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1);}
|
||||||
|
a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block;}
|
||||||
|
.icon-glass:before{content:"\f000";}
|
||||||
|
.icon-music:before{content:"\f001";}
|
||||||
|
.icon-search:before{content:"\f002";}
|
||||||
|
.icon-envelope-alt:before{content:"\f003";}
|
||||||
|
.icon-heart:before{content:"\f004";}
|
||||||
|
.icon-star:before{content:"\f005";}
|
||||||
|
.icon-star-empty:before{content:"\f006";}
|
||||||
|
.icon-user:before{content:"\f007";}
|
||||||
|
.icon-film:before{content:"\f008";}
|
||||||
|
.icon-th-large:before{content:"\f009";}
|
||||||
|
.icon-th:before{content:"\f00a";}
|
||||||
|
.icon-th-list:before{content:"\f00b";}
|
||||||
|
.icon-ok:before{content:"\f00c";}
|
||||||
|
.icon-remove:before{content:"\f00d";}
|
||||||
|
.icon-zoom-in:before{content:"\f00e";}
|
||||||
|
.icon-zoom-out:before{content:"\f010";}
|
||||||
|
.icon-power-off:before,.icon-off:before{content:"\f011";}
|
||||||
|
.icon-signal:before{content:"\f012";}
|
||||||
|
.icon-gear:before,.icon-cog:before{content:"\f013";}
|
||||||
|
.icon-trash:before{content:"\f014";}
|
||||||
|
.icon-home:before{content:"\f015";}
|
||||||
|
.icon-file-alt:before{content:"\f016";}
|
||||||
|
.icon-time:before{content:"\f017";}
|
||||||
|
.icon-road:before{content:"\f018";}
|
||||||
|
.icon-download-alt:before{content:"\f019";}
|
||||||
|
.icon-download:before{content:"\f01a";}
|
||||||
|
.icon-upload:before{content:"\f01b";}
|
||||||
|
.icon-inbox:before{content:"\f01c";}
|
||||||
|
.icon-play-circle:before{content:"\f01d";}
|
||||||
|
.icon-rotate-right:before,.icon-repeat:before{content:"\f01e";}
|
||||||
|
.icon-refresh:before{content:"\f021";}
|
||||||
|
.icon-list-alt:before{content:"\f022";}
|
||||||
|
.icon-lock:before{content:"\f023";}
|
||||||
|
.icon-flag:before{content:"\f024";}
|
||||||
|
.icon-headphones:before{content:"\f025";}
|
||||||
|
.icon-volume-off:before{content:"\f026";}
|
||||||
|
.icon-volume-down:before{content:"\f027";}
|
||||||
|
.icon-volume-up:before{content:"\f028";}
|
||||||
|
.icon-qrcode:before{content:"\f029";}
|
||||||
|
.icon-barcode:before{content:"\f02a";}
|
||||||
|
.icon-tag:before{content:"\f02b";}
|
||||||
|
.icon-tags:before{content:"\f02c";}
|
||||||
|
.icon-book:before{content:"\f02d";}
|
||||||
|
.icon-bookmark:before{content:"\f02e";}
|
||||||
|
.icon-print:before{content:"\f02f";}
|
||||||
|
.icon-camera:before{content:"\f030";}
|
||||||
|
.icon-font:before{content:"\f031";}
|
||||||
|
.icon-bold:before{content:"\f032";}
|
||||||
|
.icon-italic:before{content:"\f033";}
|
||||||
|
.icon-text-height:before{content:"\f034";}
|
||||||
|
.icon-text-width:before{content:"\f035";}
|
||||||
|
.icon-align-left:before{content:"\f036";}
|
||||||
|
.icon-align-center:before{content:"\f037";}
|
||||||
|
.icon-align-right:before{content:"\f038";}
|
||||||
|
.icon-align-justify:before{content:"\f039";}
|
||||||
|
.icon-list:before{content:"\f03a";}
|
||||||
|
.icon-indent-left:before{content:"\f03b";}
|
||||||
|
.icon-indent-right:before{content:"\f03c";}
|
||||||
|
.icon-facetime-video:before{content:"\f03d";}
|
||||||
|
.icon-picture:before{content:"\f03e";}
|
||||||
|
.icon-pencil:before{content:"\f040";}
|
||||||
|
.icon-map-marker:before{content:"\f041";}
|
||||||
|
.icon-adjust:before{content:"\f042";}
|
||||||
|
.icon-tint:before{content:"\f043";}
|
||||||
|
.icon-edit:before{content:"\f044";}
|
||||||
|
.icon-share:before{content:"\f045";}
|
||||||
|
.icon-check:before{content:"\f046";}
|
||||||
|
.icon-move:before{content:"\f047";}
|
||||||
|
.icon-step-backward:before{content:"\f048";}
|
||||||
|
.icon-fast-backward:before{content:"\f049";}
|
||||||
|
.icon-backward:before{content:"\f04a";}
|
||||||
|
.icon-play:before{content:"\f04b";}
|
||||||
|
.icon-pause:before{content:"\f04c";}
|
||||||
|
.icon-stop:before{content:"\f04d";}
|
||||||
|
.icon-forward:before{content:"\f04e";}
|
||||||
|
.icon-fast-forward:before{content:"\f050";}
|
||||||
|
.icon-step-forward:before{content:"\f051";}
|
||||||
|
.icon-eject:before{content:"\f052";}
|
||||||
|
.icon-chevron-left:before{content:"\f053";}
|
||||||
|
.icon-chevron-right:before{content:"\f054";}
|
||||||
|
.icon-plus-sign:before{content:"\f055";}
|
||||||
|
.icon-minus-sign:before{content:"\f056";}
|
||||||
|
.icon-remove-sign:before{content:"\f057";}
|
||||||
|
.icon-ok-sign:before{content:"\f058";}
|
||||||
|
.icon-question-sign:before{content:"\f059";}
|
||||||
|
.icon-info-sign:before{content:"\f05a";}
|
||||||
|
.icon-screenshot:before{content:"\f05b";}
|
||||||
|
.icon-remove-circle:before{content:"\f05c";}
|
||||||
|
.icon-ok-circle:before{content:"\f05d";}
|
||||||
|
.icon-ban-circle:before{content:"\f05e";}
|
||||||
|
.icon-arrow-left:before{content:"\f060";}
|
||||||
|
.icon-arrow-right:before{content:"\f061";}
|
||||||
|
.icon-arrow-up:before{content:"\f062";}
|
||||||
|
.icon-arrow-down:before{content:"\f063";}
|
||||||
|
.icon-mail-forward:before,.icon-share-alt:before{content:"\f064";}
|
||||||
|
.icon-resize-full:before{content:"\f065";}
|
||||||
|
.icon-resize-small:before{content:"\f066";}
|
||||||
|
.icon-plus:before{content:"\f067";}
|
||||||
|
.icon-minus:before{content:"\f068";}
|
||||||
|
.icon-asterisk:before{content:"\f069";}
|
||||||
|
.icon-exclamation-sign:before{content:"\f06a";}
|
||||||
|
.icon-gift:before{content:"\f06b";}
|
||||||
|
.icon-leaf:before{content:"\f06c";}
|
||||||
|
.icon-fire:before{content:"\f06d";}
|
||||||
|
.icon-eye-open:before{content:"\f06e";}
|
||||||
|
.icon-eye-close:before{content:"\f070";}
|
||||||
|
.icon-warning-sign:before{content:"\f071";}
|
||||||
|
.icon-plane:before{content:"\f072";}
|
||||||
|
.icon-calendar:before{content:"\f073";}
|
||||||
|
.icon-random:before{content:"\f074";}
|
||||||
|
.icon-comment:before{content:"\f075";}
|
||||||
|
.icon-magnet:before{content:"\f076";}
|
||||||
|
.icon-chevron-up:before{content:"\f077";}
|
||||||
|
.icon-chevron-down:before{content:"\f078";}
|
||||||
|
.icon-retweet:before{content:"\f079";}
|
||||||
|
.icon-shopping-cart:before{content:"\f07a";}
|
||||||
|
.icon-folder-close:before{content:"\f07b";}
|
||||||
|
.icon-folder-open:before{content:"\f07c";}
|
||||||
|
.icon-resize-vertical:before{content:"\f07d";}
|
||||||
|
.icon-resize-horizontal:before{content:"\f07e";}
|
||||||
|
.icon-bar-chart:before{content:"\f080";}
|
||||||
|
.icon-twitter-sign:before{content:"\f081";}
|
||||||
|
.icon-facebook-sign:before{content:"\f082";}
|
||||||
|
.icon-camera-retro:before{content:"\f083";}
|
||||||
|
.icon-key:before{content:"\f084";}
|
||||||
|
.icon-gears:before,.icon-cogs:before{content:"\f085";}
|
||||||
|
.icon-comments:before{content:"\f086";}
|
||||||
|
.icon-thumbs-up-alt:before{content:"\f087";}
|
||||||
|
.icon-thumbs-down-alt:before{content:"\f088";}
|
||||||
|
.icon-star-half:before{content:"\f089";}
|
||||||
|
.icon-heart-empty:before{content:"\f08a";}
|
||||||
|
.icon-signout:before{content:"\f08b";}
|
||||||
|
.icon-linkedin-sign:before{content:"\f08c";}
|
||||||
|
.icon-pushpin:before{content:"\f08d";}
|
||||||
|
.icon-external-link:before{content:"\f08e";}
|
||||||
|
.icon-signin:before{content:"\f090";}
|
||||||
|
.icon-trophy:before{content:"\f091";}
|
||||||
|
.icon-github-sign:before{content:"\f092";}
|
||||||
|
.icon-upload-alt:before{content:"\f093";}
|
||||||
|
.icon-lemon:before{content:"\f094";}
|
||||||
|
.icon-phone:before{content:"\f095";}
|
||||||
|
.icon-unchecked:before,.icon-check-empty:before{content:"\f096";}
|
||||||
|
.icon-bookmark-empty:before{content:"\f097";}
|
||||||
|
.icon-phone-sign:before{content:"\f098";}
|
||||||
|
.icon-twitter:before{content:"\f099";}
|
||||||
|
.icon-facebook:before{content:"\f09a";}
|
||||||
|
.icon-github:before{content:"\f09b";}
|
||||||
|
.icon-unlock:before{content:"\f09c";}
|
||||||
|
.icon-credit-card:before{content:"\f09d";}
|
||||||
|
.icon-rss:before{content:"\f09e";}
|
||||||
|
.icon-hdd:before{content:"\f0a0";}
|
||||||
|
.icon-bullhorn:before{content:"\f0a1";}
|
||||||
|
.icon-bell:before{content:"\f0a2";}
|
||||||
|
.icon-certificate:before{content:"\f0a3";}
|
||||||
|
.icon-hand-right:before{content:"\f0a4";}
|
||||||
|
.icon-hand-left:before{content:"\f0a5";}
|
||||||
|
.icon-hand-up:before{content:"\f0a6";}
|
||||||
|
.icon-hand-down:before{content:"\f0a7";}
|
||||||
|
.icon-circle-arrow-left:before{content:"\f0a8";}
|
||||||
|
.icon-circle-arrow-right:before{content:"\f0a9";}
|
||||||
|
.icon-circle-arrow-up:before{content:"\f0aa";}
|
||||||
|
.icon-circle-arrow-down:before{content:"\f0ab";}
|
||||||
|
.icon-globe:before{content:"\f0ac";}
|
||||||
|
.icon-wrench:before{content:"\f0ad";}
|
||||||
|
.icon-tasks:before{content:"\f0ae";}
|
||||||
|
.icon-filter:before{content:"\f0b0";}
|
||||||
|
.icon-briefcase:before{content:"\f0b1";}
|
||||||
|
.icon-fullscreen:before{content:"\f0b2";}
|
||||||
|
.icon-group:before{content:"\f0c0";}
|
||||||
|
.icon-link:before{content:"\f0c1";}
|
||||||
|
.icon-cloud:before{content:"\f0c2";}
|
||||||
|
.icon-beaker:before{content:"\f0c3";}
|
||||||
|
.icon-cut:before{content:"\f0c4";}
|
||||||
|
.icon-copy:before{content:"\f0c5";}
|
||||||
|
.icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6";}
|
||||||
|
.icon-save:before{content:"\f0c7";}
|
||||||
|
.icon-sign-blank:before{content:"\f0c8";}
|
||||||
|
.icon-reorder:before{content:"\f0c9";}
|
||||||
|
.icon-list-ul:before{content:"\f0ca";}
|
||||||
|
.icon-list-ol:before{content:"\f0cb";}
|
||||||
|
.icon-strikethrough:before{content:"\f0cc";}
|
||||||
|
.icon-underline:before{content:"\f0cd";}
|
||||||
|
.icon-table:before{content:"\f0ce";}
|
||||||
|
.icon-magic:before{content:"\f0d0";}
|
||||||
|
.icon-truck:before{content:"\f0d1";}
|
||||||
|
.icon-pinterest:before{content:"\f0d2";}
|
||||||
|
.icon-pinterest-sign:before{content:"\f0d3";}
|
||||||
|
.icon-google-plus-sign:before{content:"\f0d4";}
|
||||||
|
.icon-google-plus:before{content:"\f0d5";}
|
||||||
|
.icon-money:before{content:"\f0d6";}
|
||||||
|
.icon-caret-down:before{content:"\f0d7";}
|
||||||
|
.icon-caret-up:before{content:"\f0d8";}
|
||||||
|
.icon-caret-left:before{content:"\f0d9";}
|
||||||
|
.icon-caret-right:before{content:"\f0da";}
|
||||||
|
.icon-columns:before{content:"\f0db";}
|
||||||
|
.icon-sort:before{content:"\f0dc";}
|
||||||
|
.icon-sort-down:before{content:"\f0dd";}
|
||||||
|
.icon-sort-up:before{content:"\f0de";}
|
||||||
|
.icon-envelope:before{content:"\f0e0";}
|
||||||
|
.icon-linkedin:before{content:"\f0e1";}
|
||||||
|
.icon-rotate-left:before,.icon-undo:before{content:"\f0e2";}
|
||||||
|
.icon-legal:before{content:"\f0e3";}
|
||||||
|
.icon-dashboard:before{content:"\f0e4";}
|
||||||
|
.icon-comment-alt:before{content:"\f0e5";}
|
||||||
|
.icon-comments-alt:before{content:"\f0e6";}
|
||||||
|
.icon-bolt:before{content:"\f0e7";}
|
||||||
|
.icon-sitemap:before{content:"\f0e8";}
|
||||||
|
.icon-umbrella:before{content:"\f0e9";}
|
||||||
|
.icon-paste:before{content:"\f0ea";}
|
||||||
|
.icon-lightbulb:before{content:"\f0eb";}
|
||||||
|
.icon-exchange:before{content:"\f0ec";}
|
||||||
|
.icon-cloud-download:before{content:"\f0ed";}
|
||||||
|
.icon-cloud-upload:before{content:"\f0ee";}
|
||||||
|
.icon-user-md:before{content:"\f0f0";}
|
||||||
|
.icon-stethoscope:before{content:"\f0f1";}
|
||||||
|
.icon-suitcase:before{content:"\f0f2";}
|
||||||
|
.icon-bell-alt:before{content:"\f0f3";}
|
||||||
|
.icon-coffee:before{content:"\f0f4";}
|
||||||
|
.icon-food:before{content:"\f0f5";}
|
||||||
|
.icon-file-text-alt:before{content:"\f0f6";}
|
||||||
|
.icon-building:before{content:"\f0f7";}
|
||||||
|
.icon-hospital:before{content:"\f0f8";}
|
||||||
|
.icon-ambulance:before{content:"\f0f9";}
|
||||||
|
.icon-medkit:before{content:"\f0fa";}
|
||||||
|
.icon-fighter-jet:before{content:"\f0fb";}
|
||||||
|
.icon-beer:before{content:"\f0fc";}
|
||||||
|
.icon-h-sign:before{content:"\f0fd";}
|
||||||
|
.icon-plus-sign-alt:before{content:"\f0fe";}
|
||||||
|
.icon-double-angle-left:before{content:"\f100";}
|
||||||
|
.icon-double-angle-right:before{content:"\f101";}
|
||||||
|
.icon-double-angle-up:before{content:"\f102";}
|
||||||
|
.icon-double-angle-down:before{content:"\f103";}
|
||||||
|
.icon-angle-left:before{content:"\f104";}
|
||||||
|
.icon-angle-right:before{content:"\f105";}
|
||||||
|
.icon-angle-up:before{content:"\f106";}
|
||||||
|
.icon-angle-down:before{content:"\f107";}
|
||||||
|
.icon-desktop:before{content:"\f108";}
|
||||||
|
.icon-laptop:before{content:"\f109";}
|
||||||
|
.icon-tablet:before{content:"\f10a";}
|
||||||
|
.icon-mobile-phone:before{content:"\f10b";}
|
||||||
|
.icon-circle-blank:before{content:"\f10c";}
|
||||||
|
.icon-quote-left:before{content:"\f10d";}
|
||||||
|
.icon-quote-right:before{content:"\f10e";}
|
||||||
|
.icon-spinner:before{content:"\f110";}
|
||||||
|
.icon-circle:before{content:"\f111";}
|
||||||
|
.icon-mail-reply:before,.icon-reply:before{content:"\f112";}
|
||||||
|
.icon-github-alt:before{content:"\f113";}
|
||||||
|
.icon-folder-close-alt:before{content:"\f114";}
|
||||||
|
.icon-folder-open-alt:before{content:"\f115";}
|
||||||
|
.icon-expand-alt:before{content:"\f116";}
|
||||||
|
.icon-collapse-alt:before{content:"\f117";}
|
||||||
|
.icon-smile:before{content:"\f118";}
|
||||||
|
.icon-frown:before{content:"\f119";}
|
||||||
|
.icon-meh:before{content:"\f11a";}
|
||||||
|
.icon-gamepad:before{content:"\f11b";}
|
||||||
|
.icon-keyboard:before{content:"\f11c";}
|
||||||
|
.icon-flag-alt:before{content:"\f11d";}
|
||||||
|
.icon-flag-checkered:before{content:"\f11e";}
|
||||||
|
.icon-terminal:before{content:"\f120";}
|
||||||
|
.icon-code:before{content:"\f121";}
|
||||||
|
.icon-reply-all:before{content:"\f122";}
|
||||||
|
.icon-mail-reply-all:before{content:"\f122";}
|
||||||
|
.icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123";}
|
||||||
|
.icon-location-arrow:before{content:"\f124";}
|
||||||
|
.icon-crop:before{content:"\f125";}
|
||||||
|
.icon-code-fork:before{content:"\f126";}
|
||||||
|
.icon-unlink:before{content:"\f127";}
|
||||||
|
.icon-question:before{content:"\f128";}
|
||||||
|
.icon-info:before{content:"\f129";}
|
||||||
|
.icon-exclamation:before{content:"\f12a";}
|
||||||
|
.icon-superscript:before{content:"\f12b";}
|
||||||
|
.icon-subscript:before{content:"\f12c";}
|
||||||
|
.icon-eraser:before{content:"\f12d";}
|
||||||
|
.icon-puzzle-piece:before{content:"\f12e";}
|
||||||
|
.icon-microphone:before{content:"\f130";}
|
||||||
|
.icon-microphone-off:before{content:"\f131";}
|
||||||
|
.icon-shield:before{content:"\f132";}
|
||||||
|
.icon-calendar-empty:before{content:"\f133";}
|
||||||
|
.icon-fire-extinguisher:before{content:"\f134";}
|
||||||
|
.icon-rocket:before{content:"\f135";}
|
||||||
|
.icon-maxcdn:before{content:"\f136";}
|
||||||
|
.icon-chevron-sign-left:before{content:"\f137";}
|
||||||
|
.icon-chevron-sign-right:before{content:"\f138";}
|
||||||
|
.icon-chevron-sign-up:before{content:"\f139";}
|
||||||
|
.icon-chevron-sign-down:before{content:"\f13a";}
|
||||||
|
.icon-html5:before{content:"\f13b";}
|
||||||
|
.icon-css3:before{content:"\f13c";}
|
||||||
|
.icon-anchor:before{content:"\f13d";}
|
||||||
|
.icon-unlock-alt:before{content:"\f13e";}
|
||||||
|
.icon-bullseye:before{content:"\f140";}
|
||||||
|
.icon-ellipsis-horizontal:before{content:"\f141";}
|
||||||
|
.icon-ellipsis-vertical:before{content:"\f142";}
|
||||||
|
.icon-rss-sign:before{content:"\f143";}
|
||||||
|
.icon-play-sign:before{content:"\f144";}
|
||||||
|
.icon-ticket:before{content:"\f145";}
|
||||||
|
.icon-minus-sign-alt:before{content:"\f146";}
|
||||||
|
.icon-check-minus:before{content:"\f147";}
|
||||||
|
.icon-level-up:before{content:"\f148";}
|
||||||
|
.icon-level-down:before{content:"\f149";}
|
||||||
|
.icon-check-sign:before{content:"\f14a";}
|
||||||
|
.icon-edit-sign:before{content:"\f14b";}
|
||||||
|
.icon-external-link-sign:before{content:"\f14c";}
|
||||||
|
.icon-share-sign:before{content:"\f14d";}
|
||||||
|
.icon-compass:before{content:"\f14e";}
|
||||||
|
.icon-collapse:before{content:"\f150";}
|
||||||
|
.icon-collapse-top:before{content:"\f151";}
|
||||||
|
.icon-expand:before{content:"\f152";}
|
||||||
|
.icon-euro:before,.icon-eur:before{content:"\f153";}
|
||||||
|
.icon-gbp:before{content:"\f154";}
|
||||||
|
.icon-dollar:before,.icon-usd:before{content:"\f155";}
|
||||||
|
.icon-rupee:before,.icon-inr:before{content:"\f156";}
|
||||||
|
.icon-yen:before,.icon-jpy:before{content:"\f157";}
|
||||||
|
.icon-renminbi:before,.icon-cny:before{content:"\f158";}
|
||||||
|
.icon-won:before,.icon-krw:before{content:"\f159";}
|
||||||
|
.icon-bitcoin:before,.icon-btc:before{content:"\f15a";}
|
||||||
|
.icon-file:before{content:"\f15b";}
|
||||||
|
.icon-file-text:before{content:"\f15c";}
|
||||||
|
.icon-sort-by-alphabet:before{content:"\f15d";}
|
||||||
|
.icon-sort-by-alphabet-alt:before{content:"\f15e";}
|
||||||
|
.icon-sort-by-attributes:before{content:"\f160";}
|
||||||
|
.icon-sort-by-attributes-alt:before{content:"\f161";}
|
||||||
|
.icon-sort-by-order:before{content:"\f162";}
|
||||||
|
.icon-sort-by-order-alt:before{content:"\f163";}
|
||||||
|
.icon-thumbs-up:before{content:"\f164";}
|
||||||
|
.icon-thumbs-down:before{content:"\f165";}
|
||||||
|
.icon-youtube-sign:before{content:"\f166";}
|
||||||
|
.icon-youtube:before{content:"\f167";}
|
||||||
|
.icon-xing:before{content:"\f168";}
|
||||||
|
.icon-xing-sign:before{content:"\f169";}
|
||||||
|
.icon-youtube-play:before{content:"\f16a";}
|
||||||
|
.icon-dropbox:before{content:"\f16b";}
|
||||||
|
.icon-stackexchange:before{content:"\f16c";}
|
||||||
|
.icon-instagram:before{content:"\f16d";}
|
||||||
|
.icon-flickr:before{content:"\f16e";}
|
||||||
|
.icon-adn:before{content:"\f170";}
|
||||||
|
.icon-bitbucket:before{content:"\f171";}
|
||||||
|
.icon-bitbucket-sign:before{content:"\f172";}
|
||||||
|
.icon-tumblr:before{content:"\f173";}
|
||||||
|
.icon-tumblr-sign:before{content:"\f174";}
|
||||||
|
.icon-long-arrow-down:before{content:"\f175";}
|
||||||
|
.icon-long-arrow-up:before{content:"\f176";}
|
||||||
|
.icon-long-arrow-left:before{content:"\f177";}
|
||||||
|
.icon-long-arrow-right:before{content:"\f178";}
|
||||||
|
.icon-apple:before{content:"\f179";}
|
||||||
|
.icon-windows:before{content:"\f17a";}
|
||||||
|
.icon-android:before{content:"\f17b";}
|
||||||
|
.icon-linux:before{content:"\f17c";}
|
||||||
|
.icon-dribbble:before{content:"\f17d";}
|
||||||
|
.icon-skype:before{content:"\f17e";}
|
||||||
|
.icon-foursquare:before{content:"\f180";}
|
||||||
|
.icon-trello:before{content:"\f181";}
|
||||||
|
.icon-female:before{content:"\f182";}
|
||||||
|
.icon-male:before{content:"\f183";}
|
||||||
|
.icon-gittip:before{content:"\f184";}
|
||||||
|
.icon-sun:before{content:"\f185";}
|
||||||
|
.icon-moon:before{content:"\f186";}
|
||||||
|
.icon-archive:before{content:"\f187";}
|
||||||
|
.icon-bug:before{content:"\f188";}
|
||||||
|
.icon-vk:before{content:"\f189";}
|
||||||
|
.icon-weibo:before{content:"\f18a";}
|
||||||
|
.icon-renren:before{content:"\f18b";}
|
65
docs/ModuleApi/css/jquery.iviewer.css
Normal file
65
docs/ModuleApi/css/jquery.iviewer.css
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
.viewer {
|
||||||
|
-ms-touch-action: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_common {
|
||||||
|
position:absolute;
|
||||||
|
bottom:10px;
|
||||||
|
border: 1px solid #000;
|
||||||
|
height: 28px;
|
||||||
|
z-index: 5000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_cursor {
|
||||||
|
cursor: url(../images/iviewer/hand.cur) 6 8, pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_drag_cursor {
|
||||||
|
cursor: url(../images/iviewer/grab.cur) 6 8, pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_button {
|
||||||
|
width: 28px;
|
||||||
|
cursor: pointer;
|
||||||
|
background-position: center center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_zoom_in {
|
||||||
|
left: 20px;
|
||||||
|
background: url(../images/iviewer/iviewer.zoom_in.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_zoom_out {
|
||||||
|
left: 55px;
|
||||||
|
background: url(../images/iviewer/iviewer.zoom_out.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_zoom_zero {
|
||||||
|
left: 90px;
|
||||||
|
background: url(../images/iviewer/iviewer.zoom_zero.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_zoom_fit {
|
||||||
|
left: 125px;
|
||||||
|
background: url(../images/iviewer/iviewer.zoom_fit.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_zoom_status {
|
||||||
|
left: 160px;
|
||||||
|
font: 1em/28px Sans;
|
||||||
|
color: #000;
|
||||||
|
background-color: #fff;
|
||||||
|
text-align: center;
|
||||||
|
width: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_rotate_left {
|
||||||
|
left: 227px;
|
||||||
|
background: #fff url(../images/iviewer/iviewer.rotate_left.png) center center no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iviewer_rotate_right {
|
||||||
|
left: 262px;
|
||||||
|
background: #fff url(../images/iviewer/iviewer.rotate_right.png) center center no-repeat;
|
||||||
|
}
|
3
docs/ModuleApi/css/phpdocumentor-clean-icons/Read Me.txt
Normal file
3
docs/ModuleApi/css/phpdocumentor-clean-icons/Read Me.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
To modify your generated font, use the *dev.svg* file, located in the *fonts* folder in this package. You can import this dev.svg file to the IcoMoon app. All the tags (class names) and the Unicode points of your glyphs are saved in this file.
|
||||||
|
|
||||||
|
See the documentation for more info on how to use this package: http://icomoon.io/#docs/font-face
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<metadata>
|
||||||
|
This is a custom SVG font generated by IcoMoon.
|
||||||
|
<iconset id="phpdocumentor-clean-icons" name="phpdocumentor-clean-icons" href="http://www.phpdoc.org" grid="16"></iconset><author name="Mike van Riel" href="http://www.mikevanriel.com"></author><license name="SIL"></license>
|
||||||
|
</metadata>
|
||||||
|
<defs>
|
||||||
|
<font id="phpdocumentor-clean-icons" horiz-adv-x="512" >
|
||||||
|
<font-face units-per-em="512" ascent="480" descent="-32" />
|
||||||
|
<missing-glyph horiz-adv-x="512" />
|
||||||
|
<glyph class="hidden" unicode="" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
|
||||||
|
<glyph unicode="" d="M 139.636,456.727 C 75.171,456.727 23.273,404.829 23.273,340.364 l 0-232.727 c 0-64.465 51.898-116.364 116.364-116.364 l 232.727,0 c 64.465,0 116.364,51.898 116.364,116.364 L 488.727,340.364 C 488.727,404.829 436.829,456.727 372.364,456.727 L 139.636,456.727 z m 20.727-41.381 191.274,0 c 53.001,0 95.709-42.708 95.709-95.709 l 0-191.274 c 0-53.001 -42.708-95.709 -95.709-95.709 l -191.274,0 c -53.001,0 -95.709,42.708 -95.709,95.709 l 0,191.274 c 0,53.001 42.708,95.709 95.709,95.709 zM 359.963,366.827 m0,0,0-43.124 -84.271,0 0-231.052 -50.246,0 0,231.052 -84.271,0 0,43.124 218.787,0" data-tags="trait" />
|
||||||
|
<glyph unicode="" d="M 139.636,456.727 C 75.171,456.727 23.273,404.829 23.273,340.364 l 0-232.727 c 0-64.465 51.898-116.364 116.364-116.364 l 232.727,0 c 64.465,0 116.364,51.898 116.364,116.364 L 488.727,340.364 C 488.727,404.829 436.829,456.727 372.364,456.727 L 139.636,456.727 z m 20.727-41.381 191.274,0 c 53.001,0 95.709-42.708 95.709-95.709 l 0-191.274 c 0-53.001 -42.708-95.709 -95.709-95.709 l -191.274,0 c -53.001,0 -95.709,42.708 -95.709,95.709 l 0,191.274 c 0,53.001 42.708,95.709 95.709,95.709 zM 231.075,366.827 m0,0, 49.85,0 0-274.176 -49.85,0 0,274.176" data-tags="interface" />
|
||||||
|
<glyph unicode="" d="M 139.636,456.727 C 75.171,456.727 23.273,404.829 23.273,340.364 l 0-232.727 c 0-64.465 51.898-116.364 116.364-116.364 l 232.727,0 c 64.465,0 116.364,51.898 116.364,116.364 L 488.727,340.364 C 488.727,404.829 436.829,456.727 372.364,456.727 L 139.636,456.727 z m 20.727-41.381 191.274,0 c 53.001,0 95.709-42.708 95.709-95.709 l 0-191.274 c 0-53.001 -42.708-95.709 -95.709-95.709 l -191.274,0 c -53.001,0 -95.709,42.708 -95.709,95.709 l 0,191.274 c 0,53.001 42.708,95.709 95.709,95.709 zM 278.749,86.717 m0,0,c -20.573,0 -39.036,3.165 -55.389,9.495 -16.353,6.33 -30.2,15.562 -41.542,27.695 -11.342,12.397 -20.046,27.431 -26.112,45.103 -6.066,17.672 -9.1,37.981 -9.1,60.928 0,22.947 3.429,43.256 10.287,60.928 7.121,17.672 16.749,32.574 28.881,44.707 12.133,12.396 26.376,21.76 42.729,28.090 16.353,6.33 33.893,9.495 52.62,9.495 11.341,0 21.628-0.923 30.86-2.769 9.231-1.583 17.276-3.429 24.134-5.539 6.857-2.11 12.528-4.352 17.012-6.726 4.484-2.374 7.649-4.089 9.495-5.143 l -14.639-40.751 c -6.33,3.956 -15.43,7.649 -27.299,11.078 -11.606,3.692 -24.266,5.539 -37.981,5.539 -11.869,0 -22.947-2.11 -33.233-6.33 -10.287-3.957 -19.254-10.023 -26.903-18.199 -7.385-8.177 -13.188-18.463 -17.408-30.86 -4.22-12.397 -6.33-26.772 -6.33-43.124 0-14.507 1.582-27.827 4.748-39.959 3.429-12.133 8.572-22.683 15.43-31.651 6.858-8.704 15.562-15.562 26.112-20.573 10.55-4.748 23.211-7.122 37.981-7.121 17.672,0 32.046,1.714 43.124,5.143 11.078,3.693 19.65,7.121 25.716,10.287 l 13.452-40.751 c -3.165-2.11 -7.517-4.22 -13.056-6.33 -5.275-2.11 -11.606-4.22 -18.991-6.33 -7.385-1.846 -15.694-3.297 -24.925-4.352 -9.232-1.319 -19.123-1.978 -29.673-1.978" data-tags="class" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="256" />
|
||||||
|
</font></defs></svg>
|
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<metadata>
|
||||||
|
This is a custom SVG font generated by IcoMoon.
|
||||||
|
<iconset id="phpdocumentor-clean-icons" name="phpdocumentor-clean-icons" href="http://www.phpdoc.org" grid="16"></iconset><author name="Mike van Riel" href="http://www.mikevanriel.com"></author><license name="SIL"></license>
|
||||||
|
</metadata>
|
||||||
|
<defs>
|
||||||
|
<font id="phpdocumentor-clean-icons" horiz-adv-x="512" >
|
||||||
|
<font-face units-per-em="512" ascent="480" descent="-32" />
|
||||||
|
<missing-glyph horiz-adv-x="512" />
|
||||||
|
<glyph class="hidden" unicode="" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
|
||||||
|
<glyph unicode="" d="M 139.636,456.727 C 75.171,456.727 23.273,404.829 23.273,340.364 l 0-232.727 c 0-64.465 51.898-116.364 116.364-116.364 l 232.727,0 c 64.465,0 116.364,51.898 116.364,116.364 L 488.727,340.364 C 488.727,404.829 436.829,456.727 372.364,456.727 L 139.636,456.727 z m 20.727-41.381 191.274,0 c 53.001,0 95.709-42.708 95.709-95.709 l 0-191.274 c 0-53.001 -42.708-95.709 -95.709-95.709 l -191.274,0 c -53.001,0 -95.709,42.708 -95.709,95.709 l 0,191.274 c 0,53.001 42.708,95.709 95.709,95.709 zM 359.963,366.827 m0,0,0-43.124 -84.271,0 0-231.052 -50.246,0 0,231.052 -84.271,0 0,43.124 218.787,0" />
|
||||||
|
<glyph unicode="" d="M 139.636,456.727 C 75.171,456.727 23.273,404.829 23.273,340.364 l 0-232.727 c 0-64.465 51.898-116.364 116.364-116.364 l 232.727,0 c 64.465,0 116.364,51.898 116.364,116.364 L 488.727,340.364 C 488.727,404.829 436.829,456.727 372.364,456.727 L 139.636,456.727 z m 20.727-41.381 191.274,0 c 53.001,0 95.709-42.708 95.709-95.709 l 0-191.274 c 0-53.001 -42.708-95.709 -95.709-95.709 l -191.274,0 c -53.001,0 -95.709,42.708 -95.709,95.709 l 0,191.274 c 0,53.001 42.708,95.709 95.709,95.709 zM 231.075,366.827 m0,0, 49.85,0 0-274.176 -49.85,0 0,274.176" />
|
||||||
|
<glyph unicode="" d="M 139.636,456.727 C 75.171,456.727 23.273,404.829 23.273,340.364 l 0-232.727 c 0-64.465 51.898-116.364 116.364-116.364 l 232.727,0 c 64.465,0 116.364,51.898 116.364,116.364 L 488.727,340.364 C 488.727,404.829 436.829,456.727 372.364,456.727 L 139.636,456.727 z m 20.727-41.381 191.274,0 c 53.001,0 95.709-42.708 95.709-95.709 l 0-191.274 c 0-53.001 -42.708-95.709 -95.709-95.709 l -191.274,0 c -53.001,0 -95.709,42.708 -95.709,95.709 l 0,191.274 c 0,53.001 42.708,95.709 95.709,95.709 zM 278.749,86.717 m0,0,c -20.573,0 -39.036,3.165 -55.389,9.495 -16.353,6.33 -30.2,15.562 -41.542,27.695 -11.342,12.397 -20.046,27.431 -26.112,45.103 -6.066,17.672 -9.1,37.981 -9.1,60.928 0,22.947 3.429,43.256 10.287,60.928 7.121,17.672 16.749,32.574 28.881,44.707 12.133,12.396 26.376,21.76 42.729,28.090 16.353,6.33 33.893,9.495 52.62,9.495 11.341,0 21.628-0.923 30.86-2.769 9.231-1.583 17.276-3.429 24.134-5.539 6.857-2.11 12.528-4.352 17.012-6.726 4.484-2.374 7.649-4.089 9.495-5.143 l -14.639-40.751 c -6.33,3.956 -15.43,7.649 -27.299,11.078 -11.606,3.692 -24.266,5.539 -37.981,5.539 -11.869,0 -22.947-2.11 -33.233-6.33 -10.287-3.957 -19.254-10.023 -26.903-18.199 -7.385-8.177 -13.188-18.463 -17.408-30.86 -4.22-12.397 -6.33-26.772 -6.33-43.124 0-14.507 1.582-27.827 4.748-39.959 3.429-12.133 8.572-22.683 15.43-31.651 6.858-8.704 15.562-15.562 26.112-20.573 10.55-4.748 23.211-7.122 37.981-7.121 17.672,0 32.046,1.714 43.124,5.143 11.078,3.693 19.65,7.121 25.716,10.287 l 13.452-40.751 c -3.165-2.11 -7.517-4.22 -13.056-6.33 -5.275-2.11 -11.606-4.22 -18.991-6.33 -7.385-1.846 -15.694-3.297 -24.925-4.352 -9.232-1.319 -19.123-1.978 -29.673-1.978" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="256" />
|
||||||
|
</font></defs></svg>
|
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
Binary file not shown.
30
docs/ModuleApi/css/phpdocumentor-clean-icons/lte-ie7.js
Normal file
30
docs/ModuleApi/css/phpdocumentor-clean-icons/lte-ie7.js
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
/* Load this script using conditional IE comments if you need to support IE 7 and IE 6. */
|
||||||
|
|
||||||
|
window.onload = function() {
|
||||||
|
function addIcon(el, entity) {
|
||||||
|
var html = el.innerHTML;
|
||||||
|
el.innerHTML = '<span style="font-family: \'phpdocumentor-clean-icons\'">' + entity + '</span>' + html;
|
||||||
|
}
|
||||||
|
var icons = {
|
||||||
|
'icon-trait' : '',
|
||||||
|
'icon-interface' : '',
|
||||||
|
'icon-class' : ''
|
||||||
|
},
|
||||||
|
els = document.getElementsByTagName('*'),
|
||||||
|
i, attr, html, c, el;
|
||||||
|
for (i = 0; ; i += 1) {
|
||||||
|
el = els[i];
|
||||||
|
if(!el) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
attr = el.getAttribute('data-icon');
|
||||||
|
if (attr) {
|
||||||
|
addIcon(el, attr);
|
||||||
|
}
|
||||||
|
c = el.className;
|
||||||
|
c = c.match(/icon-[^\s'"]+/);
|
||||||
|
if (c && icons[c[0]]) {
|
||||||
|
addIcon(el, icons[c[0]]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
48
docs/ModuleApi/css/phpdocumentor-clean-icons/style.css
Normal file
48
docs/ModuleApi/css/phpdocumentor-clean-icons/style.css
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: 'phpdocumentor-clean-icons';
|
||||||
|
src:url('fonts/phpdocumentor-clean-icons.eot');
|
||||||
|
src:url('fonts/phpdocumentor-clean-icons.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('fonts/phpdocumentor-clean-icons.woff') format('woff'),
|
||||||
|
url('fonts/phpdocumentor-clean-icons.ttf') format('truetype'),
|
||||||
|
url('fonts/phpdocumentor-clean-icons.svg#phpdocumentor-clean-icons') format('svg');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Use the following CSS code if you want to use data attributes for inserting your icons */
|
||||||
|
[data-icon]:before {
|
||||||
|
font-family: 'phpdocumentor-clean-icons';
|
||||||
|
content: attr(data-icon);
|
||||||
|
speak: none;
|
||||||
|
font-weight: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
text-transform: none;
|
||||||
|
line-height: 1;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Use the following CSS code if you want to have a class per icon */
|
||||||
|
/*
|
||||||
|
Instead of a list of all class selectors,
|
||||||
|
you can use the generic selector below, but it's slower:
|
||||||
|
[class*="icon-"] {
|
||||||
|
*/
|
||||||
|
.icon-trait, .icon-interface, .icon-class {
|
||||||
|
font-family: 'phpdocumentor-clean-icons';
|
||||||
|
speak: none;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
text-transform: none;
|
||||||
|
line-height: 1;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
}
|
||||||
|
.icon-trait:before {
|
||||||
|
content: "\e000";
|
||||||
|
}
|
||||||
|
.icon-interface:before {
|
||||||
|
content: "\e001";
|
||||||
|
}
|
||||||
|
.icon-class:before {
|
||||||
|
content: "\e002";
|
||||||
|
}
|
204
docs/ModuleApi/css/prism.css
Normal file
204
docs/ModuleApi/css/prism.css
Normal file
|
@ -0,0 +1,204 @@
|
||||||
|
/**
|
||||||
|
* prism.js default theme for JavaScript, CSS and HTML
|
||||||
|
* Based on dabblet (http://dabblet.com)
|
||||||
|
* @author Lea Verou
|
||||||
|
*/
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: black;
|
||||||
|
text-shadow: 0 1px white;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
||||||
|
direction: ltr;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-moz-selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #f5f2f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: .1em;
|
||||||
|
border-radius: .3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: slategray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number {
|
||||||
|
color: #905;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string {
|
||||||
|
color: #690;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string {
|
||||||
|
color: #a67f59;
|
||||||
|
background: hsla(0,0%,100%,.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: #07a;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
pre[data-line] {
|
||||||
|
position: relative;
|
||||||
|
padding: 1em 0 1em 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-highlight {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
padding: inherit 0;
|
||||||
|
margin-top: 1em; /* Same as .prism’s padding-top */
|
||||||
|
|
||||||
|
background: hsla(24, 20%, 50%,.08);
|
||||||
|
background: -moz-linear-gradient(left, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));
|
||||||
|
background: -webkit-linear-gradient(left, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));
|
||||||
|
background: -o-linear-gradient(left, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));
|
||||||
|
background: linear-gradient(left, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));
|
||||||
|
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
|
line-height: inherit;
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-highlight:before,
|
||||||
|
.line-highlight[data-end]:after {
|
||||||
|
content: attr(data-start);
|
||||||
|
position: absolute;
|
||||||
|
top: .4em;
|
||||||
|
left: .6em;
|
||||||
|
min-width: 1em;
|
||||||
|
padding: 0 .5em;
|
||||||
|
background-color: hsla(24, 20%, 50%,.4);
|
||||||
|
color: hsl(24, 20%, 95%);
|
||||||
|
font: bold 65%/1.5 sans-serif;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: .3em;
|
||||||
|
border-radius: 999px;
|
||||||
|
text-shadow: none;
|
||||||
|
box-shadow: 0 1px white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-highlight[data-end]:after {
|
||||||
|
content: attr(data-end);
|
||||||
|
top: auto;
|
||||||
|
bottom: .4em;
|
||||||
|
}
|
||||||
|
pre.line-numbers {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 3.8em;
|
||||||
|
counter-reset: linenumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.line-numbers > code {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-numbers .line-numbers-rows {
|
||||||
|
position: absolute;
|
||||||
|
pointer-events: none;
|
||||||
|
top: 0;
|
||||||
|
font-size: 100%;
|
||||||
|
left: -3.8em;
|
||||||
|
width: 3em; /* works for line-numbers below 1000 lines */
|
||||||
|
letter-spacing: -1px;
|
||||||
|
border-right: 1px solid #999;
|
||||||
|
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-numbers-rows > span {
|
||||||
|
pointer-events: none;
|
||||||
|
display: block;
|
||||||
|
counter-increment: linenumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-numbers-rows > span:before {
|
||||||
|
content: counter(linenumber);
|
||||||
|
color: #999;
|
||||||
|
display: block;
|
||||||
|
padding-right: 0.8em;
|
||||||
|
text-align: right;
|
||||||
|
}
|
429
docs/ModuleApi/css/template.css
Normal file
429
docs/ModuleApi/css/template.css
Normal file
|
@ -0,0 +1,429 @@
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
|
||||||
|
@import url('phpdocumentor-clean-icons/style.css');
|
||||||
|
|
||||||
|
body {
|
||||||
|
padding-top: 40px;
|
||||||
|
background-color: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #6495ed;
|
||||||
|
}
|
||||||
|
a.anchor {
|
||||||
|
height: 40px;
|
||||||
|
margin-top: -40px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6, .brand {
|
||||||
|
font-family: 'Source Sans Pro', sans-serif;
|
||||||
|
font-weight: normal;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2, h3, .detailsbar h1 {
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
margin: 30px 0 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2:after, h3:after, .detailsbar h1:after {
|
||||||
|
content: '';
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 100%;
|
||||||
|
height: 2px;
|
||||||
|
margin-left: 1em;
|
||||||
|
background: silver;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
margin: 10px 0 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
margin: 20px 0 10px 0;
|
||||||
|
color: gray;
|
||||||
|
font-size: 18.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3.public, h3.protected, h3.private {
|
||||||
|
padding-left: 10px;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table tr:first-of-type th, .table tr:first-of-type td {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
.detailsbar {
|
||||||
|
color: #eeeeee;
|
||||||
|
background-color: #333333;
|
||||||
|
font-size: 0.9em;
|
||||||
|
overflow: hidden;
|
||||||
|
border-left: 2px solid gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailsbar h1 {
|
||||||
|
font-size: 1.5em;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailsbar h2 {
|
||||||
|
font-size: 1.2em;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailsbar h1:after {
|
||||||
|
background: gray;
|
||||||
|
}
|
||||||
|
.detailsbar h2:after, .detailsbar h3:after {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailsbar dt {
|
||||||
|
font-variant: small-caps;
|
||||||
|
text-transform: lowercase;
|
||||||
|
font-size: 1.1em;
|
||||||
|
letter-spacing: 0.1em;
|
||||||
|
color: silver;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hierarchy div:nth-of-type(2) { margin-left: 11px; }
|
||||||
|
.hierarchy div:nth-of-type(3) { margin-left: 22px; }
|
||||||
|
.hierarchy div:nth-of-type(4) { margin-left: 33px; }
|
||||||
|
.hierarchy div:nth-of-type(5) { margin-left: 44px; }
|
||||||
|
.hierarchy div:nth-of-type(6) { margin-left: 55px; }
|
||||||
|
.hierarchy div:nth-of-type(7) { margin-left: 66px; }
|
||||||
|
.hierarchy div:nth-of-type(8) { margin-left: 77px; }
|
||||||
|
.hierarchy div:nth-of-type(9) { margin-left: 88px; }
|
||||||
|
.hierarchy div:before {
|
||||||
|
content: "\f0da";
|
||||||
|
font-family: FontAwesome;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row-fluid {
|
||||||
|
background-color: white;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer.row-fluid, footer.row-fluid * {
|
||||||
|
background-color: #333333;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer.row-fluid {
|
||||||
|
border-top: 2px dashed #555;
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-sections .span4 {
|
||||||
|
border: 2px solid #555;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin-top: 70px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
background: #373737;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-sections .span4 h1 {
|
||||||
|
background: transparent;
|
||||||
|
margin-top: -30px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
font-size: 5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-sections .span4 h1 * {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-sections .span4 div {
|
||||||
|
border-bottom-right-radius: 6px;
|
||||||
|
border-bottom-left-radius: 6px;
|
||||||
|
padding: 10px;
|
||||||
|
min-height: 40px;
|
||||||
|
}
|
||||||
|
.footer-sections .span4 div, .footer-sections .span4 div * {
|
||||||
|
background-color: #555;
|
||||||
|
}
|
||||||
|
.footer-sections .span4 ul {
|
||||||
|
text-align: left;
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
background-color: white;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content nav {
|
||||||
|
text-align: center;
|
||||||
|
border-bottom: 1px solid silver;
|
||||||
|
margin: 5px 0 20px 0;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content > h1 {
|
||||||
|
padding-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content > h1 small {
|
||||||
|
display: block;
|
||||||
|
padding-bottom: 8px;
|
||||||
|
font-size: 0.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.deprecated {
|
||||||
|
text-decoration: line-through;
|
||||||
|
}
|
||||||
|
|
||||||
|
.method {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.method .signature .argument {
|
||||||
|
color: maroon;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.class #summary section.row-fluid {
|
||||||
|
overflow: hidden
|
||||||
|
}
|
||||||
|
|
||||||
|
.class #summary .heading {
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.class #summary section .span4 {
|
||||||
|
padding: 3px;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-bottom: -9999px;
|
||||||
|
padding-bottom: 9999px;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
border-left: 5px solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.class #summary section.public .span4:first-of-type:before,
|
||||||
|
.class #summary section.public .span6:first-of-type:before,
|
||||||
|
h3.public:before {
|
||||||
|
font-family: FontAwesome;
|
||||||
|
content: "\f046";
|
||||||
|
color: green;
|
||||||
|
display: inline-block;
|
||||||
|
width: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.class #summary section .span4:first-of-type,
|
||||||
|
.class #summary section .span6:first-of-type {
|
||||||
|
padding-left: 21px;
|
||||||
|
}
|
||||||
|
.class #summary section .span4:first-of-type:before,
|
||||||
|
.class #summary section .span6:first-of-type:before {
|
||||||
|
margin-left: -21px;
|
||||||
|
}
|
||||||
|
.class #summary section.protected .span4:first-of-type:before,
|
||||||
|
.class #summary section.protected .span6:first-of-type:before,
|
||||||
|
h3.protected:before {
|
||||||
|
font-family: FontAwesome;
|
||||||
|
content: "\f132";
|
||||||
|
color: orange;
|
||||||
|
display: inline-block;
|
||||||
|
width: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.class #summary section.private .span4:first-of-type:before,
|
||||||
|
.class #summary section.private .span6:first-of-type:before,
|
||||||
|
h3.private:before {
|
||||||
|
font-family: FontAwesome;
|
||||||
|
content: "\f023";
|
||||||
|
color: red;
|
||||||
|
display: inline-block;
|
||||||
|
width: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.class #summary section em {
|
||||||
|
font-size: 0.9em;
|
||||||
|
color: silver;
|
||||||
|
}
|
||||||
|
.class #summary .inherited {
|
||||||
|
color: gray;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion-group {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
background: #333333;
|
||||||
|
color: #eeeeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion-heading .accordion-toggle:before {
|
||||||
|
content: "\f078";
|
||||||
|
font-family: FontAwesome;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion-heading .accordion-toggle.collapsed:before {
|
||||||
|
content: "\f054";
|
||||||
|
}
|
||||||
|
.accordion-heading .accordion-toggle {
|
||||||
|
float: left;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
padding: 4px 2px 4px 12px;
|
||||||
|
}
|
||||||
|
.accordion-heading a {
|
||||||
|
display: block;
|
||||||
|
padding: 4px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion-inner a {
|
||||||
|
display: block;
|
||||||
|
padding: 4px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion-inner > ul a:before {
|
||||||
|
font-family: 'phpdocumentor-clean-icons';
|
||||||
|
content: "\e001";
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion-inner li.class a:before {
|
||||||
|
content: "\e002";
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion-inner li.interface a:before {
|
||||||
|
content: "\e001";
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion-inner li.trait a:before {
|
||||||
|
content: "\e000";
|
||||||
|
}
|
||||||
|
|
||||||
|
.accordion-inner {
|
||||||
|
padding: 4px 0 4px 12px;
|
||||||
|
}
|
||||||
|
.accordion-inner ul {
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row-fluid .span2 {
|
||||||
|
width: 16.5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body .modal {
|
||||||
|
width: 90%; /* desired relative width */
|
||||||
|
left: 5%; /* (100%-width)/2 */
|
||||||
|
/* place center */
|
||||||
|
margin-left:auto;
|
||||||
|
margin-right:auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.side-nav.nav-list li a {
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 767px) {
|
||||||
|
.sidebar {
|
||||||
|
position: fixed;
|
||||||
|
top: 40px;
|
||||||
|
bottom: 0;
|
||||||
|
background-color: #f3f3f3;
|
||||||
|
left: 0;
|
||||||
|
border-right: 1px solid #e9e9e9;
|
||||||
|
overflow-y: scroll;
|
||||||
|
overflow-x: hidden;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar::-webkit-scrollbar {
|
||||||
|
width: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar::-webkit-scrollbar-thumb {
|
||||||
|
background: #cccccc;
|
||||||
|
background-clip: padding-box;
|
||||||
|
border: 3px solid #f3f3f3;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar::-webkit-scrollbar-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar::-webkit-scrollbar-track {
|
||||||
|
background: #f3f3f3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 979px) {
|
||||||
|
body {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.class #summary .heading {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailsbar h1 {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer.row-fluid, footer.row-fluid * {
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-sections .span4 h1 {
|
||||||
|
color: #ccccd9;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailsbar {
|
||||||
|
background-color: white;
|
||||||
|
color: #333;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row-fluid .span2 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 767px) {
|
||||||
|
.detailsbar {
|
||||||
|
min-height: 100%;
|
||||||
|
margin-bottom: -99999px;
|
||||||
|
padding-bottom: 99999px;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1200px) {
|
||||||
|
.row-fluid .span2 {
|
||||||
|
width: 16.5%;
|
||||||
|
}
|
||||||
|
}
|
2449
docs/ModuleApi/files/core.html
Normal file
2449
docs/ModuleApi/files/core.html
Normal file
File diff suppressed because it is too large
Load diff
1772
docs/ModuleApi/files/core.php.txt
Normal file
1772
docs/ModuleApi/files/core.php.txt
Normal file
File diff suppressed because it is too large
Load diff
250
docs/ModuleApi/files/download.html
Normal file
250
docs/ModuleApi/files/download.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-4526055"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-4526055" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small></small>download.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/download.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
94
docs/ModuleApi/files/download.php.txt
Normal file
94
docs/ModuleApi/files/download.php.txt
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Pepperminty Wiki Download</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1><img src="https://starbeamrainbowlabs.com/images/logos/peppermint.png" class="logo" /> Pepperminty Wiki Downloader</h1>
|
||||||
|
|
||||||
|
<!-------------->
|
||||||
|
<h2>Module selector</h2>
|
||||||
|
<p>Choose the modules that you want to include in your installation of Pepperminty Wiki <?php echo(trim(file_get_contents("version"))); ?>.</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<button onclick="select(true);">Select All</button>
|
||||||
|
<button onclick="select(false);">Select None</button>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th></th>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Author</th>
|
||||||
|
<th>Version</th>
|
||||||
|
<th style="width: 9rem;">Last Updated</th>
|
||||||
|
</tr>
|
||||||
|
<?php
|
||||||
|
$module_index = json_decode(file_get_contents("module_index.json"));
|
||||||
|
foreach($module_index as $module)
|
||||||
|
{
|
||||||
|
$checkedText = (isset($module->optional) && $module->optional === true) ? "" : " checked";
|
||||||
|
echo("<tr>
|
||||||
|
<td><input type='checkbox' id='$module->id'$checkedText /></td>
|
||||||
|
<td><label for='$module->id'>$module->name</label></td>
|
||||||
|
<td>$module->description</td>
|
||||||
|
<td>$module->author</td>
|
||||||
|
<td>$module->version</td>
|
||||||
|
<td>" . date("D jS M Y", $module->lastupdate) . "</td>
|
||||||
|
</tr>");
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<button onclick="download()" class="largebutton">Download</button>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Pepperminty Wiki was built by <a href="https://starbeamrainbowlabs.com/"><img src="https://starbeamrainbowlabs.com/images/sbrl/SBRL-Small-64.png" class="logo" /> Starbeamrainbowlabs</a>. The code is available on <a href="//github.com/sbrl/pepperminty-wiki">GitHub</a>.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Other contributors: <a href="https://github.com/ikisler"><img src="https://avatars2.githubusercontent.com/u/12506147?v=3&s=32" class="logo" /> @ikisler</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!------------------->
|
||||||
|
<link rel="stylesheet" href="//starbeamrainbowlabs.com/theme/basic.css" />
|
||||||
|
<style>
|
||||||
|
body { padding: 1rem; color: #442772; background-colour: #eee8f2; } /* syntaxtic gets confused sometimes */
|
||||||
|
a { color: #9e7eb4; }
|
||||||
|
.largebutton { font-size: 2rem; }
|
||||||
|
|
||||||
|
.logo { max-width: 1.25em; vertical-align: middle; }
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function select(state)
|
||||||
|
{
|
||||||
|
var checkboxes = document.querySelectorAll("input[type=checkbox]");
|
||||||
|
for(var i = 0; i < checkboxes.length; i++)
|
||||||
|
{
|
||||||
|
checkboxes[i].checked = state;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function download()
|
||||||
|
{
|
||||||
|
var url = "pack.php?web=true&modules=",
|
||||||
|
checkboxes = document.querySelectorAll("input[type=checkbox]");
|
||||||
|
for(var i = 0; i < checkboxes.length; i++)
|
||||||
|
{
|
||||||
|
url += encodeURIComponent(checkboxes[i].id) + ",";
|
||||||
|
}
|
||||||
|
location.href = url;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
250
docs/ModuleApi/files/modules.action-hash.html
Normal file
250
docs/ModuleApi/files/modules.action-hash.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1144825519"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1144825519" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>action-hash.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/action-hash.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.action-protect.html
Normal file
250
docs/ModuleApi/files/modules.action-protect.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-554912040"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-554912040" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>action-protect.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/action-protect.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.action-random.html
Normal file
250
docs/ModuleApi/files/modules.action-random.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2129272247"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-2129272247" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>action-random.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/action-random.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.action-raw.html
Normal file
250
docs/ModuleApi/files/modules.action-raw.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1534354678"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1534354678" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>action-raw.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/action-raw.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.api-status.html
Normal file
250
docs/ModuleApi/files/modules.api-status.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-167505373"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-167505373" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>api-status.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/api-status.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
309
docs/ModuleApi/files/modules.extra-sidebar.html
Normal file
309
docs/ModuleApi/files/modules.extra-sidebar.html
Normal file
|
@ -0,0 +1,309 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1555458712"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1555458712" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>extra-sidebar.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<section class="span8 content file">
|
||||||
|
<h2>Functions</h2>
|
||||||
|
</section>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render_sidebar" name="method_render_sidebar" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">render_sidebar()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render_sidebar(array <span class="argument">$pageindex</span>, string <span class="argument">$root_pagename = ""</span>) : string</pre>
|
||||||
|
<p><em>Renders the sidebar for a given pageindex.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>array</td>
|
||||||
|
<td>$pageindex </td>
|
||||||
|
<td><p>The pageindex to render the sidebar for</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$root_pagename </td>
|
||||||
|
<td><p>The pagename that should be considered the root of the rendering. You don't usually need to use this, it is used by the algorithm itself since it is recursive.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>A HTML rendering of the sidebar for the given pageindex.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/extra-sidebar.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>extra-sidebar</p>
|
||||||
|
<p>extra-sidebar</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/extra-sidebar.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
504
docs/ModuleApi/files/modules.feature-comments.html
Normal file
504
docs/ModuleApi/files/modules.feature-comments.html
Normal file
|
@ -0,0 +1,504 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-436434900"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-436434900" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>feature-comments.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<section class="span8 content file">
|
||||||
|
<h2>Functions</h2>
|
||||||
|
</section>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_get_comment_filename" name="method_get_comment_filename" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">get_comment_filename()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">get_comment_filename(string <span class="argument">$pagename</span>) : string</pre>
|
||||||
|
<p><em>Given a page name, returns the absolute file path in which that page's
|
||||||
|
comments are stored.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$pagename </td>
|
||||||
|
<td><p>The name pf the page to fetch the comments filename for.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The path to the file that the</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-comments.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_generate_comment_id" name="method_generate_comment_id" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">generate_comment_id()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">generate_comment_id() : string</pre>
|
||||||
|
<p><em>Generates a new random comment id.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>A new random comment id.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-comments.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_find_comment" name="method_find_comment" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">find_comment()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">find_comment(array <span class="argument">$comment_data</span>, string <span class="argument">$comment_id</span>) : object</pre>
|
||||||
|
<p><em>Finds the comment with specified id by way of an almost-breadth-first search.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>array</td>
|
||||||
|
<td>$comment_data </td>
|
||||||
|
<td><p>The comment data to search.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$comment_id </td>
|
||||||
|
<td><p>The id of the comment to find.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
object
|
||||||
|
— <p>The comment data with the specified id, or
|
||||||
|
false if it wasn't found.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-comments.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_fetch_comment_thread" name="method_fetch_comment_thread" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">fetch_comment_thread()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">fetch_comment_thread(array <span class="argument">$comment_data</span>, string <span class="argument">$comment_id</span>) : array<mixed,object></pre>
|
||||||
|
<p><em>Fetches all the parent comments of the specified comment id, including the
|
||||||
|
comment itself at the end.</em></p>
|
||||||
|
<p>Useful for figuring out who needs notifying when a new comment is posted.</p>
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>array</td>
|
||||||
|
<td>$comment_data </td>
|
||||||
|
<td><p>The comment data to search.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$comment_id </td>
|
||||||
|
<td><p>The comment id to fetch the thread for.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
array<mixed,object>
|
||||||
|
— <p>A list of the comments in the thread, with the deepest
|
||||||
|
one at the end.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-comments.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render_comments" name="method_render_comments" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">render_comments()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render_comments(array<mixed,object> <span class="argument">$comments_data</span>, integer <span class="argument">$depth</span>) : string</pre>
|
||||||
|
<p><em>Renders a given comments tree to html.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>array<mixed,object></td>
|
||||||
|
<td>$comments_data </td>
|
||||||
|
<td><p>The comments tree to render.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>integer</td>
|
||||||
|
<td>$depth </td>
|
||||||
|
<td><p>For internal use only. Specifies the depth
|
||||||
|
at which the comments are being rendered.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The given comments tree as html.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-comments.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
<p>feature-comments</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-comments.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.feature-guiconfig.html
Normal file
250
docs/ModuleApi/files/modules.feature-guiconfig.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1562000323"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1562000323" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>feature-guiconfig.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-guiconfig.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
315
docs/ModuleApi/files/modules.feature-history.html
Normal file
315
docs/ModuleApi/files/modules.feature-history.html
Normal file
|
@ -0,0 +1,315 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-607647446"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-607647446" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>feature-history.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<section class="span8 content file">
|
||||||
|
<h2>Functions</h2>
|
||||||
|
</section>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_history_add_revision" name="method_history_add_revision" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">history_add_revision()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">history_add_revision( <span class="argument">$pageinfo</span>, <span class="argument">$newsource</span>, <span class="argument">$oldsource</span>, <span class="argument">$save_pageindex = true</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$pageinfo </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$newsource </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$oldsource </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$save_pageindex </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-history.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>Default</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-history.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
395
docs/ModuleApi/files/modules.feature-recent-changes.html
Normal file
395
docs/ModuleApi/files/modules.feature-recent-changes.html
Normal file
|
@ -0,0 +1,395 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-225033231"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-225033231" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>feature-recent-changes.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<section class="span8 content file">
|
||||||
|
<h2>Functions</h2>
|
||||||
|
</section>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_add_recent_change" name="method_add_recent_change" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">add_recent_change()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">add_recent_change(array <span class="argument">$rchange</span>) </pre>
|
||||||
|
<p><em>Adds a new recent change to the recent changes file.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>array</td>
|
||||||
|
<td>$rchange </td>
|
||||||
|
<td><p>The new change to add.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-recent-changes.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-recent-changes</p>
|
||||||
|
<p>feature-recent-changes</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render_recent_changes" name="method_render_recent_changes" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">render_recent_changes()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render_recent_changes(array <span class="argument">$recent_changes</span>) : string</pre>
|
||||||
|
<p><em>Renders a list of recent changes to HTML.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>array</td>
|
||||||
|
<td>$recent_changes </td>
|
||||||
|
<td><p>The recent changes to render.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The given recent changes as HTML.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-recent-changes.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-recent-changes</p>
|
||||||
|
<p>feature-recent-changes</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_render_recent_change" name="method_render_recent_change" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">render_recent_change()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">render_recent_change(object <span class="argument">$rchange</span>) : string</pre>
|
||||||
|
<p><em>Renders a single recent change</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>object</td>
|
||||||
|
<td>$rchange </td>
|
||||||
|
<td><p>The recent change to render.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The recent change, rendered to HTML.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-recent-changes.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-recent-changes</p>
|
||||||
|
<p>feature-recent-changes</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-recent-changes.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.feature-redirect.html
Normal file
250
docs/ModuleApi/files/modules.feature-redirect.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-540414205"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-540414205" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>feature-redirect.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-redirect.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
257
docs/ModuleApi/files/modules.feature-search.html
Normal file
257
docs/ModuleApi/files/modules.feature-search.html
Normal file
|
@ -0,0 +1,257 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2060814121"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-2060814121" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>feature-search.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Classes</h2>
|
||||||
|
<table class="table table-hover">
|
||||||
|
<tr>
|
||||||
|
<td><a href="../classes/search.html">search</a></td>
|
||||||
|
<td><em></em></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-search.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
386
docs/ModuleApi/files/modules.feature-stats.html
Normal file
386
docs/ModuleApi/files/modules.feature-stats.html
Normal file
|
@ -0,0 +1,386 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-965936185"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-965936185" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>feature-stats.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<section class="span8 content file">
|
||||||
|
<h2>Functions</h2>
|
||||||
|
</section>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_update_statistics" name="method_update_statistics" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">update_statistics()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">update_statistics( <span class="argument">$update_all = false</span>) </pre>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$update_all </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-stats.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>Default</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_stats_load" name="method_stats_load" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">stats_load()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">stats_load() : object</pre>
|
||||||
|
<p><em>Loads and returns the statistics cache file.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
object
|
||||||
|
— <p>The loaded & decoded statistics.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-stats.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-stats</p>
|
||||||
|
<p>feature-stats</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_stats_save" name="method_stats_save" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">stats_save()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">stats_save( <span class="argument">$stats</span>) : boolean</pre>
|
||||||
|
<p><em>Saves the statistics back to disk.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>$stats </td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
boolean
|
||||||
|
— <p>Whether saving succeeded or not.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-stats.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-stats</p>
|
||||||
|
<p>feature-stats</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-stats.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
514
docs/ModuleApi/files/modules.feature-upload.html
Normal file
514
docs/ModuleApi/files/modules.feature-upload.html
Normal file
|
@ -0,0 +1,514 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1031859243"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1031859243" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>feature-upload.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<section class="span8 content file">
|
||||||
|
<h2>Functions</h2>
|
||||||
|
</section>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_get_max_upload_size" name="method_get_max_upload_size" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">get_max_upload_size()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">get_max_upload_size() : integer</pre>
|
||||||
|
<p><em>Calculates the actual maximum upload size supported by the server
|
||||||
|
Returns a file size limit in bytes based on the PHP upload_max_filesize and
|
||||||
|
post_max_size</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
integer
|
||||||
|
— <p>The maximum upload size supported bythe server, in bytes.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-upload.php</div></a></dd>
|
||||||
|
<dt>See also</dt>
|
||||||
|
<dd><a href="http://stackoverflow.com/a/25370978/1460422"><span class="namespace-wrapper">Source Stackoverflow answer</span></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
author
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>Lifted from Drupal by @meustrus from Stackoverflow</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_parse_size" name="method_parse_size" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">parse_size()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">parse_size(string <span class="argument">$size</span>) : integer</pre>
|
||||||
|
<p><em>Parses a PHP size to an integer</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$size </td>
|
||||||
|
<td><p>The size to parse.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
integer
|
||||||
|
— <p>The number of bytees represented by the specified
|
||||||
|
size string.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-upload.php</div></a></dd>
|
||||||
|
<dt>See also</dt>
|
||||||
|
<dd><a href="http://stackoverflow.com/a/25370978/1460422"><span class="namespace-wrapper">Source Stackoverflow answer</span></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
author
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>Lifted from Drupal by @meustrus from Stackoverflow</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_upload_check_svg" name="method_upload_check_svg" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">upload_check_svg()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">upload_check_svg(string <span class="argument">$temp_filename</span>) : array<mixed,integer></pre>
|
||||||
|
<p><em>Checks an uploaded SVG file to make sure it's (at least somewhat) safe.</em></p>
|
||||||
|
<p>Sends an error to the client if a problem is found.</p>
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$temp_filename </td>
|
||||||
|
<td><p>The filename of the SVG file to check.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
array<mixed,integer>
|
||||||
|
— <p>The size of the SVG image.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-upload.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_getsvgsize" name="method_getsvgsize" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">getsvgsize()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">getsvgsize(string <span class="argument">$svgFilename</span>) : array<mixed,integer></pre>
|
||||||
|
<p><em>Calculates the size of the specified SVG file.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$svgFilename </td>
|
||||||
|
<td><p>The filename to calculate the size of.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
array<mixed,integer>
|
||||||
|
— <p>The width and height respectively of the
|
||||||
|
specified SVG file.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-upload.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_errorimage" name="method_errorimage" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">errorimage()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">errorimage(string <span class="argument">$text</span>, integer <span class="argument">$target_size = null</span>) : \image</pre>
|
||||||
|
<p><em>Creates an images containing the specified text.</em></p>
|
||||||
|
<p>Useful for sending errors back to the client.</p>
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$text </td>
|
||||||
|
<td><p>The text to include in the image.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>integer</td>
|
||||||
|
<td>$target_size </td>
|
||||||
|
<td><p>The target width to aim for when creating
|
||||||
|
the image.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
\image
|
||||||
|
— <p>The handle to the generated GD image.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/feature-upload.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
<p>feature-upload</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-upload.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.feature-user-preferences.html
Normal file
250
docs/ModuleApi/files/modules.feature-user-preferences.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1521828075"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1521828075" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>feature-user-preferences.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/feature-user-preferences.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-credits.html
Normal file
250
docs/ModuleApi/files/modules.page-credits.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1994169794"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1994169794" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-credits.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-credits.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-debug-info.html
Normal file
250
docs/ModuleApi/files/modules.page-debug-info.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2011624911"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-2011624911" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-debug-info.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-debug-info.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-delete.html
Normal file
250
docs/ModuleApi/files/modules.page-delete.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-750372778"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-750372778" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-delete.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-delete.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-edit.html
Normal file
250
docs/ModuleApi/files/modules.page-edit.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1225440466"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1225440466" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-edit.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-edit.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-export.html
Normal file
250
docs/ModuleApi/files/modules.page-export.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1884193751"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1884193751" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-export.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-export.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-help.html
Normal file
250
docs/ModuleApi/files/modules.page-help.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2017724023"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-2017724023" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-help.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-help.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
304
docs/ModuleApi/files/modules.page-list.html
Normal file
304
docs/ModuleApi/files/modules.page-list.html
Normal file
|
@ -0,0 +1,304 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1695191265"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1695191265" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-list.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<section class="span8 content file">
|
||||||
|
<h2>Functions</h2>
|
||||||
|
</section>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_generate_page_list" name="method_generate_page_list" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">generate_page_list()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">generate_page_list(array<mixed,string> <span class="argument">$pagelist</span>) : string</pre>
|
||||||
|
<p><em>Renders a list of pages as HTML.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>array<mixed,string></td>
|
||||||
|
<td>$pagelist </td>
|
||||||
|
<td><p>A list of page names to include in the list.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The specified list of pages as HTML.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/page-list.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>page-list</p>
|
||||||
|
<p>page-list</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-list.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
306
docs/ModuleApi/files/modules.page-login.html
Normal file
306
docs/ModuleApi/files/modules.page-login.html
Normal file
|
@ -0,0 +1,306 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-892762046"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-892762046" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-login.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<section class="span8 content file">
|
||||||
|
<h2>Functions</h2>
|
||||||
|
</section>
|
||||||
|
<aside class="span4 detailsbar"></aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content class">
|
||||||
|
<a id="method_hash_password" name="method_hash_password" class="anchor"></a>
|
||||||
|
<article class="method">
|
||||||
|
<h3 class=" ">hash_password()</h3>
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
||||||
|
<pre class="signature" style="margin-right: 54px;">hash_password(string <span class="argument">$pass</span>) : string</pre>
|
||||||
|
<p><em>Hashes the given password according to the current settings defined
|
||||||
|
in $settings.</em></p>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Parameters</h4>
|
||||||
|
<table class="table table-condensed table-hover">
|
||||||
|
<tr>
|
||||||
|
<td>string</td>
|
||||||
|
<td>$pass </td>
|
||||||
|
<td><p>The password to hash.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Returns</h4>
|
||||||
|
string
|
||||||
|
— <p>The hashed password. Uses sha3 if $settings->use_sha3 is
|
||||||
|
enabled, or sha256 otherwise.</p>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<h1><i class="icon-arrow-down"></i></h1>
|
||||||
|
<dl>
|
||||||
|
<dt>File</dt>
|
||||||
|
<dd><a href=""><div class="path-wrapper">modules/page-login.php</div></a></dd>
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
package
|
||||||
|
</th>
|
||||||
|
<td>
|
||||||
|
<p>page-login</p>
|
||||||
|
<p>page-login</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-login.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-logout.html
Normal file
250
docs/ModuleApi/files/modules.page-logout.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-462050031"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-462050031" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-logout.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-logout.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-move.html
Normal file
250
docs/ModuleApi/files/modules.page-move.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-162517086"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-162517086" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-move.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-move.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-update.html
Normal file
250
docs/ModuleApi/files/modules.page-update.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-812824952"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-812824952" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-update.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-update.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-user-list.html
Normal file
250
docs/ModuleApi/files/modules.page-user-list.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-641381619"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-641381619" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-user-list.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-user-list.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
250
docs/ModuleApi/files/modules.page-view.html
Normal file
250
docs/ModuleApi/files/modules.page-view.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-704290044"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-704290044" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>page-view.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/page-view.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
257
docs/ModuleApi/files/modules.parser-default-old.html
Normal file
257
docs/ModuleApi/files/modules.parser-default-old.html
Normal file
|
@ -0,0 +1,257 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-670272597"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-670272597" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>parser-default-old.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Classes</h2>
|
||||||
|
<table class="table table-hover">
|
||||||
|
<tr>
|
||||||
|
<td><a href="../classes/Slimdown.html">Slimdown</a></td>
|
||||||
|
<td><em>Modified by Starbeamrainbowlabs (starbeamrainbowlabs)</em></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/parser-default-old.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
257
docs/ModuleApi/files/modules.parser-parsedown.html
Normal file
257
docs/ModuleApi/files/modules.parser-parsedown.html
Normal file
|
@ -0,0 +1,257 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1859215181"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1859215181" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small>modules</small>parser-parsedown.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Classes</h2>
|
||||||
|
<table class="table table-hover">
|
||||||
|
<tr>
|
||||||
|
<td><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></td>
|
||||||
|
<td><em></em></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/modules/parser-parsedown.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
51
docs/ModuleApi/files/modules/action-hash.php.txt
Normal file
51
docs/ModuleApi/files/modules/action-hash.php.txt
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Password hashing action",
|
||||||
|
"version" => "0.6",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a utility action (that anyone can use) called hash that hashes a given string. Useful when changing a user's password.",
|
||||||
|
"id" => "action-hash",
|
||||||
|
"code" => function() {
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=hash&string={text} Hash a password
|
||||||
|
* @apiName Hash
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} string The string to hash.
|
||||||
|
* @apiParam {boolean} raw Whether to return the hashed password as a raw string instead of as part of an HTML page.
|
||||||
|
*
|
||||||
|
* @apiError ParamNotFound The string parameter was not specified.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ █████ ███████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ███████ ███████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ███████ ██ ██
|
||||||
|
*/
|
||||||
|
add_action("hash", function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
if(!isset($_GET["string"]))
|
||||||
|
{
|
||||||
|
http_response_code(422);
|
||||||
|
exit(page_renderer::render_main("Missing parameter", "<p>The <code>GET</code> parameter <code>string</code> must be specified.</p>
|
||||||
|
<p>It is strongly recommended that you utilise this page via a private or incognito window in order to prevent your password from appearing in your browser history.</p>"));
|
||||||
|
}
|
||||||
|
else if(!empty($_GET["raw"]))
|
||||||
|
{
|
||||||
|
header("content-type: text/plain");
|
||||||
|
exit(hash_password($_GET["string"]));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Hashed string", "<p>Algorithm: " . ($settings->use_sha3 ? "sha3" : "sha256") . "</p>\n<p><code>" . $_GET["string"] . "</code> → <code>" . hash_password($_GET["string"]) . "</code></p>"));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
63
docs/ModuleApi/files/modules/action-protect.php.txt
Normal file
63
docs/ModuleApi/files/modules/action-protect.php.txt
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Page protection",
|
||||||
|
"version" => "0.2",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Exposes Pepperminty Wiki's new page protection mechanism and makes the protect button in the 'More...' menu on the top bar work.",
|
||||||
|
"id" => "action-protect",
|
||||||
|
"code" => function() {
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=protect&page={pageName} Toggle the protection of a page.
|
||||||
|
* @apiName Protect
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Moderator
|
||||||
|
*
|
||||||
|
* @apiParam {string} page The page name to toggle the protection of.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██████ ██████ ████████ ███████ ██████ ████████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██████ ██ ██ ██ █████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██████ ██ ███████ ██████ ██
|
||||||
|
*/
|
||||||
|
add_action("protect", function() {
|
||||||
|
global $env, $pageindex, $paths, $settings;
|
||||||
|
|
||||||
|
// Make sure that the user is logged in as an admin / mod.
|
||||||
|
if($env->is_admin)
|
||||||
|
{
|
||||||
|
// They check out ok, toggle the page's protection.
|
||||||
|
$page = $env->page;
|
||||||
|
|
||||||
|
if(!isset($pageindex->$page->protect))
|
||||||
|
{
|
||||||
|
$pageindex->$page->protect = true;
|
||||||
|
}
|
||||||
|
else if($pageindex->$page->protect === true)
|
||||||
|
{
|
||||||
|
$pageindex->$page->protect = false;
|
||||||
|
}
|
||||||
|
else if($pageindex->$page->protect === false)
|
||||||
|
{
|
||||||
|
$pageindex->$page->protect = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Save the pageindex
|
||||||
|
file_put_contents($paths->pageindex, json_encode($pageindex, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
|
$state = ($pageindex->$page->protect ? "enabled" : "disabled");
|
||||||
|
$title = "Page protection $state.";
|
||||||
|
exit(page_renderer::render_main($title, "<p>Page protection for $env->page has been $state.</p><p><a href='?action=$settings->defaultaction&page=$env->page'>Go back</a>."));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Error protecting page", "<p>You are not allowed to protect pages because you are not logged in as a mod or admin. Please try logging out if you are logged in and then try logging in as an administrator.</p>"));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
32
docs/ModuleApi/files/modules/action-random.php.txt
Normal file
32
docs/ModuleApi/files/modules/action-random.php.txt
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Random Page",
|
||||||
|
"version" => "0.1",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds an action called 'random' that redirects you to a random page.",
|
||||||
|
"id" => "action-random",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=random Redirects to a random page.
|
||||||
|
* @apiName RawSource
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*/
|
||||||
|
|
||||||
|
add_action("random", function() {
|
||||||
|
global $pageindex;
|
||||||
|
|
||||||
|
$pageNames = array_keys(get_object_vars($pageindex));
|
||||||
|
$randomPageName = $pageNames[array_rand($pageNames)];
|
||||||
|
|
||||||
|
http_response_code(307);
|
||||||
|
header("location: ?page=" . rawurlencode($randomPageName));
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("26-random-redirect", "Jumping to a random page", "<p>$settings->sitename has a function that can send you to a random page. To use it, click <a href='?action=random'>here</a>. $settings->admindetails_name ($settings->sitename's adminstrator) may have added it to one of the menus.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
39
docs/ModuleApi/files/modules/action-raw.php.txt
Normal file
39
docs/ModuleApi/files/modules/action-raw.php.txt
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Raw page source",
|
||||||
|
"version" => "0.7",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a 'raw' action that shows you the raw source of a page.",
|
||||||
|
"id" => "action-raw",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=raw&page={pageName} Get the raw source code of a page
|
||||||
|
* @apiName RawSource
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} page The page to return the source of.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ █████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ███████ ██ █ ██
|
||||||
|
* ██ ██ ██ ██ ██ ███ ██
|
||||||
|
* ██ ██ ██ ██ ███ ███
|
||||||
|
*/
|
||||||
|
add_action("raw", function() {
|
||||||
|
global $env;
|
||||||
|
|
||||||
|
header("content-type: text/markdown");
|
||||||
|
exit(file_get_contents($env->page_filename));
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("800-raw-page-content", "Viewing Raw Page Content", "<p>Although you can use the edit page to view a page's source, you can also ask $settings->sitename to send you the raw page source and nothing else. This feature is intented for those who want to automate their interaction with $settings->sitename.</p>
|
||||||
|
<p>To use this feature, navigate to the page for which you want to see the source, and then alter the <code>action</code> parameter in the url's query string to be <code>raw</code>. If the <code>action</code> parameter doesn't exist, add it. Note that when used on an file's page this action will return the source of the description and not the file itself.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
50
docs/ModuleApi/files/modules/api-status.php.txt
Normal file
50
docs/ModuleApi/files/modules/api-status.php.txt
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "API status",
|
||||||
|
"version" => "0.1",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Provides a basic JSON status action that provices a few useful bits of information for API consumption.",
|
||||||
|
"id" => "api-status",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=raw&page={pageName} Get the raw source code of a page
|
||||||
|
* @apiName RawSource
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} page The page to return the source of.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
add_action("status", function() {
|
||||||
|
global $version, $env, $settings, $actions;
|
||||||
|
|
||||||
|
// Make sure the client can accept JSON
|
||||||
|
if(!accept_contains_mime($_SERVER["HTTP_ACCEPT"] ?? "application/json", "application/json")) {
|
||||||
|
http_response_code(406);
|
||||||
|
header("content-type: text/plain");
|
||||||
|
|
||||||
|
exit("Unfortunately, this API is currently only available in application/json at the moment, which you haven't indicated you accept in your http accept header. You said this in your accept header:\n" . $_SERVER["HTTP_ACCEPT"]);
|
||||||
|
}
|
||||||
|
|
||||||
|
$action_names = array_keys(get_object_vars($actions));
|
||||||
|
sort($action_names);
|
||||||
|
|
||||||
|
$result = new stdClass();
|
||||||
|
$result->status = "ok";
|
||||||
|
$result->version = $version;
|
||||||
|
$result->available_actions = $action_names;
|
||||||
|
$result->wiki_name = $settings->sitename;
|
||||||
|
$result->logo_url = $settings->favicon;
|
||||||
|
|
||||||
|
header("content-type: application/json");
|
||||||
|
exit(json_encode($result, JSON_PRETTY_PRINT) . "\n");
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("960-api-status", "Wiki Status API", "<p></p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
122
docs/ModuleApi/files/modules/extra-sidebar.php.txt
Normal file
122
docs/ModuleApi/files/modules/extra-sidebar.php.txt
Normal file
|
@ -0,0 +1,122 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Sidebar",
|
||||||
|
"version" => "0.3.1",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a sidebar to the left hand side of every page. Add '\$settings->sidebar_show = true;' to your configuration, or append '&sidebar=yes' to the url to enable. Adding to the url sets a cookie to remember your setting.",
|
||||||
|
"id" => "extra-sidebar",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
$show_sidebar = false;
|
||||||
|
|
||||||
|
// Show the sidebar if it is enabled in the settings
|
||||||
|
if(isset($settings->sidebar_show) && $settings->sidebar_show === true)
|
||||||
|
$show_sidebar = true;
|
||||||
|
|
||||||
|
// Also show and persist the sidebar if the special GET parameter
|
||||||
|
// sidebar is seet
|
||||||
|
if(!$show_sidebar && isset($_GET["sidebar"]))
|
||||||
|
{
|
||||||
|
$show_sidebar = true;
|
||||||
|
// Set a cookie to persist the display of the sidebar
|
||||||
|
setcookie("sidebar_show", "true", time() + (60 * 60 * 24 * 30));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Show the sidebar if the cookie is set
|
||||||
|
if(!$show_sidebar && isset($_COOKIE["sidebar_show"]))
|
||||||
|
$show_sidebar = true;
|
||||||
|
|
||||||
|
// Delete the cookie and hide the sidebar if the special GET paramter
|
||||||
|
// nosidebar is set
|
||||||
|
if(isset($_GET["nosidebar"]))
|
||||||
|
{
|
||||||
|
$show_sidebar = false;
|
||||||
|
unset($_COOKIE["sidebar_show"]);
|
||||||
|
setcookie("sidebar_show", null, time() - 3600);
|
||||||
|
}
|
||||||
|
|
||||||
|
page_renderer::register_part_preprocessor(function(&$parts) use ($show_sidebar) {
|
||||||
|
global $settings, $pageindex, $env;
|
||||||
|
|
||||||
|
// Don't render a sidebar if the user is logging in and a login is
|
||||||
|
// required in order to view pages.
|
||||||
|
if($settings->require_login_view && in_array($env->action, [ "login", "checklogin" ]))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
if($show_sidebar && !isset($_GET["printable"]))
|
||||||
|
{
|
||||||
|
// Show the sidebar
|
||||||
|
$exec_start = microtime(true);
|
||||||
|
|
||||||
|
// Sort the pageindex
|
||||||
|
$sorted_pageindex = get_object_vars($pageindex);
|
||||||
|
ksort($sorted_pageindex, SORT_NATURAL);
|
||||||
|
|
||||||
|
$sidebar_contents = "";
|
||||||
|
$sidebar_contents .= render_sidebar($sorted_pageindex);
|
||||||
|
|
||||||
|
$parts["{body}"] = "<aside class='sidebar'>
|
||||||
|
$sidebar_contents
|
||||||
|
<!-- Sidebar rendered in " . (microtime(true) - $exec_start) . "s -->
|
||||||
|
</aside>
|
||||||
|
<div class='main-container'>" . $parts["{body}"] . "</div>
|
||||||
|
<!-------------->
|
||||||
|
<style>
|
||||||
|
body { display: flex; }
|
||||||
|
.main-container { flex: 1; }
|
||||||
|
</style>";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("50-sidebar", "Sidebar", "<p>$settings->sitename has an optional sidebar which displays a list of all the current pages (but not subpages) that it is currently hosting. It may or may not be enabled.</p>
|
||||||
|
<p>If it isn't enabled, it can be enabled for your current browser only by appending <code>sidebar=yes</code> to the current page's query string.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders the sidebar for a given pageindex.
|
||||||
|
* @package extra-sidebar
|
||||||
|
* @param array $pageindex The pageindex to render the sidebar for
|
||||||
|
* @param string $root_pagename The pagename that should be considered the root of the rendering. You don't usually need to use this, it is used by the algorithm itself since it is recursive.
|
||||||
|
* @return string A HTML rendering of the sidebar for the given pageindex.
|
||||||
|
*/
|
||||||
|
function render_sidebar($pageindex, $root_pagename = "")
|
||||||
|
{
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
$result = "<ul";
|
||||||
|
// If this is the very root of the tree, add an extra class to it
|
||||||
|
if($root_pagename == "") $result .= " class='sidebar-tree'";
|
||||||
|
$result .=">";
|
||||||
|
foreach ($pageindex as $pagename => $details)
|
||||||
|
{
|
||||||
|
// If we have a valid root pagename, and it isn't present at the
|
||||||
|
// beginning of the current pagename, skip it
|
||||||
|
if($root_pagename !== "" && strpos($pagename, $root_pagename) !== 0)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
// The current page is the same as the root page, skip it
|
||||||
|
if($pagename == $root_pagename)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
// If the page already appears on the sidebar, skip it
|
||||||
|
if(preg_match("/>$pagename<\a>/m", $result) === 1)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
// If the part of the current pagename that comes after the root
|
||||||
|
// pagename has a slash in it, skip it as it is a sub-sub page.
|
||||||
|
if(strpos(substr($pagename, strlen($root_pagename)), "/") !== false)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
$result .= "<li><a href='?action=$settings->defaultaction&page=$pagename'>$pagename</a>\n";
|
||||||
|
$result .= render_sidebar($pageindex, $pagename);
|
||||||
|
$result .= "</li>\n";
|
||||||
|
}
|
||||||
|
$result .= "</ul>\n";
|
||||||
|
|
||||||
|
return $result == "<ul></ul>\n" ? "" : $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
341
docs/ModuleApi/files/modules/feature-comments.php.txt
Normal file
341
docs/ModuleApi/files/modules/feature-comments.php.txt
Normal file
|
@ -0,0 +1,341 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Page Comments",
|
||||||
|
"version" => "0.2.3",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds threaded comments to the bottom of every page.",
|
||||||
|
"id" => "feature-comments",
|
||||||
|
"code" => function() {
|
||||||
|
global $env, $settings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=comment Comment on a page
|
||||||
|
* @apiName Comment
|
||||||
|
* @apiGroup Comment
|
||||||
|
* @apiPermission User
|
||||||
|
* @apiDescription Posts a comment on a page, optionally in reply to another comment. Currently, comments must be made by a logged-in user.
|
||||||
|
*
|
||||||
|
* @apiParam {string} message The comment text. Supports the same syntax that the renderer of the main page supports. The default is extended markdown - see the help page of the specific wiki for more information.
|
||||||
|
* @apiParam {string} replyto Optional. If specified the comment will be posted in reply to the comment with the specified id.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @apiError CommentNotFound The comment to reply to was not found.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██████ ███ ███ ███ ███ ███████ ███ ██ ████████
|
||||||
|
* ██ ██ ██ ████ ████ ████ ████ ██ ████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ████ ██ ██ ████ ██ █████ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██████ ██ ██ ██ ██ ███████ ██ ████ ██
|
||||||
|
*/
|
||||||
|
add_action("comment", function() {
|
||||||
|
global $settings, $env;
|
||||||
|
|
||||||
|
$reply_to = $_POST["replyto"] ?? null;
|
||||||
|
$message = $_POST["message"] ?? "";
|
||||||
|
|
||||||
|
if(!$env->is_logged_in) {
|
||||||
|
http_response_code(401);
|
||||||
|
exit(page_renderer::render_main("Error posting comment - $settings->sitename", "<p>Your comment couldn't be posted because you're not logged in. You can login <a href='?action=index'>here</a>. Here's the comment you tried to post:</p>
|
||||||
|
<textarea readonly>$message</textarea>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
$message_length = strlen($message);
|
||||||
|
if($message_length < $settings->comment_min_length) {
|
||||||
|
http_response_code(422);
|
||||||
|
exit(page_renderer::render_main("Error posting comment - $settings->sitename", "<p>Your comment couldn't be posted because it was too short. $settings->sitename needs at $settings->comment_min_length characters in a comment in order to post it.</p>"));
|
||||||
|
}
|
||||||
|
if($message_length > $settings->comment_max_length) {
|
||||||
|
http_response_code(422);
|
||||||
|
exit(page_renderer::renderer_main("Error posting comment - $settings->sitename", "<p>Your comment couldn't be posted because it was too long. $settings->sitenamae can only post comments that are up to $settings->comment_max_length characters in length, and yours was $message_length characters. Try splitting it up into multiple comments! Here's the comment you tried to post:</p>
|
||||||
|
<textarea readonly>$message</textarea>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Figure out where the comments are stored
|
||||||
|
$comment_filename = get_comment_filename($env->page);
|
||||||
|
if(!file_exists($comment_filename)) {
|
||||||
|
if(file_put_contents($comment_filename, "[]\n") === false) {
|
||||||
|
http_response_code(503);
|
||||||
|
exit(page_renderer::renderer_main("Error posting comment - $settings->sitename", "<p>$settings->sitename ran into a problem whilst creating a file to save your comment to! Please contact <a href='mailto:" . hide_email($settings->admindetails_email) . "'>$settings->admindetails_name</a>, $settings->sitename's administrator and tell them about this problem.</p>"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$comment_data = json_decode(file_get_contents($comment_filename));
|
||||||
|
|
||||||
|
$new_comment = new stdClass();
|
||||||
|
$new_comment->id = generate_comment_id();
|
||||||
|
$new_comment->timestamp = date("c");
|
||||||
|
$new_comment->username = $env->user;
|
||||||
|
$new_comment->logged_in = $env->is_logged_in;
|
||||||
|
$new_comment->message = $message;
|
||||||
|
$new_comment->replies = [];
|
||||||
|
|
||||||
|
if($reply_to == null)
|
||||||
|
$comment_data[] = $new_comment;
|
||||||
|
else {
|
||||||
|
$parent_comment = find_comment($comment_data, $reply_to);
|
||||||
|
if($parent_comment === false) {
|
||||||
|
http_response_code(422);
|
||||||
|
exit(page_renderer::render_main("Error posting comment - $settings->sitename", "<p>$settings->sitename couldn't post your comment because it couldn't find the parent comment you replied to. It's possible that $settings->admindetails_name, $settings->sitename's administrator, deleted the comment. Here's the comment you tried to post:</p>
|
||||||
|
<textarea readonly>$message</textarea>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
$parent_comment->replies[] = $new_comment;
|
||||||
|
|
||||||
|
// Get an array of all the parent comments we need to notify
|
||||||
|
$comment_thread = fetch_comment_thread($comment_data, $parent_comment->id);
|
||||||
|
|
||||||
|
$email_subject = "[Notification] $env->user replied to your comment on $env->page - $settings->sitename";
|
||||||
|
|
||||||
|
foreach($comment_thread as $thread_comment) {
|
||||||
|
$email_body = "Hello, {username}!\n" .
|
||||||
|
"It's $settings->sitename here, letting you know that " .
|
||||||
|
"someone replied to your comment (or a reply to your comment) on $env->page.\n" .
|
||||||
|
"\n" .
|
||||||
|
"They said:\n" .
|
||||||
|
"\n" .
|
||||||
|
"$new_comment->message" .
|
||||||
|
"\n" .
|
||||||
|
"You said on " . date("c", strtotime($thread_comment->timestamp)) . ":\n" .
|
||||||
|
"\n" .
|
||||||
|
"$thread_comment->message\n" .
|
||||||
|
"\n";
|
||||||
|
|
||||||
|
email_user($thread_comment->username, $email_subject, $email_body);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Save the comments back to disk
|
||||||
|
if(file_put_contents($comment_filename, json_encode($comment_data, JSON_PRETTY_PRINT)) === false) {
|
||||||
|
http_response_code(503);
|
||||||
|
exit(page_renderer::renderer_main("Error posting comment - $settings->sitename", "<p>$settings->sitename ran into a problem whilst saving your comment to disk! Please contact <a href='mailto:" . hide_email($settings->admindetails_email) . "'>$settings->admindetails_name</a>, $settings->sitename's administrator and tell them about this problem.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add a recent change if the recent changes module is installed
|
||||||
|
if(module_exists("feature-recent-changes")) {
|
||||||
|
add_recent_change([
|
||||||
|
"type" => "comment",
|
||||||
|
"timestamp" => time(),
|
||||||
|
"page" => $env->page,
|
||||||
|
"user" => $env->user,
|
||||||
|
"reply_depth" => count($comment_thread),
|
||||||
|
"comment_id" => $new_comment->id
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
http_response_code(307);
|
||||||
|
header("location: ?action=view&page=" . rawurlencode($env->page) . "&commentsuccess=yes#comment-$new_comment->id");
|
||||||
|
exit(page_renderer::render_main("Comment posted successfully - $settings->sitename", "<p>Your comment on $env->page was posted successfully. If your browser doesn't redirect you automagically, please <a href='?action=view&page=" . rawurlencode($env->page) . "commentsuccess=yes#comment-$new_comment->id'>click here</a> to go to the comment you posted on the page you were viewing.</p>"));
|
||||||
|
});
|
||||||
|
|
||||||
|
if($env->action == "view") {
|
||||||
|
page_renderer::register_part_preprocessor(function(&$parts) {
|
||||||
|
global $env;
|
||||||
|
$comments_filename = get_comment_filename($env->page);
|
||||||
|
$comments_data = file_exists($comments_filename) ? json_decode(file_get_contents($comments_filename)) : [];
|
||||||
|
|
||||||
|
|
||||||
|
$comments_html = "<aside class='comments'>" .
|
||||||
|
"<h2 id='comments'>Comments</h2>\n";
|
||||||
|
|
||||||
|
if($env->is_logged_in) {
|
||||||
|
$comments_html .= "<form class='comment-reply-form' method='post' action='?action=comment&page=" . rawurlencode($env->page) . "'>\n" .
|
||||||
|
"<h3>Post a Comment</h3>\n" .
|
||||||
|
"\t<textarea name='message' placeholder='Type your comment here. You can use the same syntax you use when writing pages.'></textarea>\n" .
|
||||||
|
"\t<input type='hidden' name='replyto' />\n" .
|
||||||
|
"\t<input type='submit' value='Post Comment' />\n" .
|
||||||
|
"</form>\n";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$comments_html .= "<form class='comment-reply-form disabled no-login'>\n" .
|
||||||
|
"\t<textarea disabled name='message' placeholder='Type your comment here. You can use the same syntax you use when writing pages.'></textarea>\n" .
|
||||||
|
"\t<p class='not-logged-in'><a href='?action=login&returnto=" . rawurlencode("?action=view&page=" . rawurlencode($env->page)) . "'>Login</a> to post a comment.</p>\n" .
|
||||||
|
"\t<input type='hidden' name='replyto' />\n" .
|
||||||
|
"\t<input disabled type='submit' value='Post Comment' title='Login to post a comment.' />\n" .
|
||||||
|
"</form>\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
$comments_html .= render_comments($comments_data);
|
||||||
|
|
||||||
|
$comments_html .= "</aside>\n";
|
||||||
|
|
||||||
|
$to_comments_link = "<div class='jump-to-comments'><a href='#comments'>Jump to comments</a></div>";
|
||||||
|
|
||||||
|
$parts["{extra}"] = $comments_html . $parts["{extra}"];
|
||||||
|
|
||||||
|
$parts["{content}"] = str_replace_once("</h1>", "</h1>\n$to_comments_link", $parts["{content}"]);
|
||||||
|
});
|
||||||
|
|
||||||
|
$reply_js_snippet = <<<'REPLYJS'
|
||||||
|
///////////////////////////////////
|
||||||
|
///////// Commenting Form /////////
|
||||||
|
///////////////////////////////////
|
||||||
|
window.addEventListener("load", function(event) {
|
||||||
|
var replyButtons = document.querySelectorAll(".reply-button");
|
||||||
|
for(let i = 0; i < replyButtons.length; i++) {
|
||||||
|
replyButtons[i].addEventListener("click", display_reply_form);
|
||||||
|
replyButtons[i].addEventListener("touchend", display_reply_form);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
function display_reply_form(event)
|
||||||
|
{
|
||||||
|
// Deep-clone the comment form
|
||||||
|
var replyForm = document.querySelector(".comment-reply-form").cloneNode(true);
|
||||||
|
replyForm.classList.add("nested");
|
||||||
|
// Set the comment we're replying to
|
||||||
|
replyForm.querySelector("[name=replyto]").value = event.target.parentElement.parentElement.parentElement.dataset.commentId;
|
||||||
|
// Display the newly-cloned commenting form
|
||||||
|
var replyBoxContiner = event.target.parentElement.parentElement.parentElement.querySelector(".reply-box-container");
|
||||||
|
replyBoxContiner.classList.add("active");
|
||||||
|
replyBoxContiner.appendChild(replyForm);
|
||||||
|
// Hide the reply button so it can't be pressed more than once - that could
|
||||||
|
// be awkward :P
|
||||||
|
event.target.parentElement.removeChild(event.target);
|
||||||
|
}
|
||||||
|
|
||||||
|
REPLYJS;
|
||||||
|
page_renderer::AddJSSnippet($reply_js_snippet);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
add_help_section("29-commenting", "Commenting", "<p>$settings->sitename has a threaded commenting system on every page. You can find it below each page's content, and can either leave a new comment, or reply to an existing one. If you reply to an existing one, then the authors of all the comments above yours will get notified by email of your reply - so long as they have an email address registered in their preferences.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Given a page name, returns the absolute file path in which that page's
|
||||||
|
* comments are stored.
|
||||||
|
* @package feature-comments
|
||||||
|
* @param string $pagename The name pf the page to fetch the comments filename for.
|
||||||
|
* @return string The path to the file that the
|
||||||
|
*/
|
||||||
|
function get_comment_filename($pagename)
|
||||||
|
{
|
||||||
|
global $env;
|
||||||
|
$pagename = makepathsafe($pagename);
|
||||||
|
return "$env->storage_prefix$pagename.comments.json";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generates a new random comment id.
|
||||||
|
* @package feature-comments
|
||||||
|
* @return string A new random comment id.
|
||||||
|
*/
|
||||||
|
function generate_comment_id()
|
||||||
|
{
|
||||||
|
$result = base64_encode(random_bytes(16));
|
||||||
|
$result = str_replace(["+", "/", "="], ["-", "_"], $result);
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Finds the comment with specified id by way of an almost-breadth-first search.
|
||||||
|
* @package feature-comments
|
||||||
|
* @param array $comment_data The comment data to search.
|
||||||
|
* @param string $comment_id The id of the comment to find.
|
||||||
|
* @return object The comment data with the specified id, or
|
||||||
|
* false if it wasn't found.
|
||||||
|
*/
|
||||||
|
function find_comment($comment_data, $comment_id)
|
||||||
|
{
|
||||||
|
$subtrees = [];
|
||||||
|
foreach($comment_data as $comment)
|
||||||
|
{
|
||||||
|
if($comment->id === $comment_id)
|
||||||
|
return $comment;
|
||||||
|
|
||||||
|
if(count($comment->replies) > 0) {
|
||||||
|
$subtrees[] = $comment->replies;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach($subtrees as $subtree)
|
||||||
|
{
|
||||||
|
$subtree_result = find_comment($subtree, $comment_id);
|
||||||
|
if($subtree_result !== false)
|
||||||
|
return $subtree_result;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetches all the parent comments of the specified comment id, including the
|
||||||
|
* comment itself at the end.
|
||||||
|
* Useful for figuring out who needs notifying when a new comment is posted.
|
||||||
|
* @package feature-comments
|
||||||
|
* @param array $comment_data The comment data to search.
|
||||||
|
* @param string $comment_id The comment id to fetch the thread for.
|
||||||
|
* @return object[] A list of the comments in the thread, with the deepest
|
||||||
|
* one at the end.
|
||||||
|
*/
|
||||||
|
function fetch_comment_thread($comment_data, $comment_id)
|
||||||
|
{
|
||||||
|
foreach($comment_data as $comment)
|
||||||
|
{
|
||||||
|
// If we're the comment they're looking for, then return ourselves as
|
||||||
|
// the beginning of a thread
|
||||||
|
if($comment->id === $comment_id)
|
||||||
|
return [ $comment ];
|
||||||
|
|
||||||
|
if(count($comment->replies) > 0) {
|
||||||
|
$subtree_result = fetch_comment_thread($comment->replies, $comment_id);
|
||||||
|
if($subtree_result !== false) {
|
||||||
|
// Prepend ourselves to the result
|
||||||
|
array_unshift($subtree_result, $comment);
|
||||||
|
return $subtree_result; // Return the comment thread
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders a given comments tree to html.
|
||||||
|
* @package feature-comments
|
||||||
|
* @param object[] $comments_data The comments tree to render.
|
||||||
|
* @param integer $depth For internal use only. Specifies the depth
|
||||||
|
* at which the comments are being rendered.
|
||||||
|
* @return string The given comments tree as html.
|
||||||
|
*/
|
||||||
|
function render_comments($comments_data, $depth = 0)
|
||||||
|
{
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
if(count($comments_data) == 0) {
|
||||||
|
if($depth == 0)
|
||||||
|
return "<p><em>No comments here! Start the conversation above.</em></p>";
|
||||||
|
else
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
$result = "<div class='comments-list" . ($depth > 0 ? " nested" : "") . "' data-depth='$depth'>";
|
||||||
|
|
||||||
|
//$comments_data = array_reverse($comments_data);
|
||||||
|
for($i = count($comments_data) - 1; $i >= 0; $i--) {
|
||||||
|
$comment = $comments_data[$i];
|
||||||
|
|
||||||
|
$result .= "\t<div class='comment' id='comment-$comment->id' data-comment-id='$comment->id'>\n";
|
||||||
|
$result .= "\t<p class='comment-header'><span class='name'>" . page_renderer::render_username($comment->username) . "</span> said:</p>";
|
||||||
|
$result .= "\t<div class='comment-body'>\n";
|
||||||
|
$result .= "\t\t" . parse_page_source($comment->message);
|
||||||
|
$result .= "\t</div>\n";
|
||||||
|
$result .= "\t<div class='reply-box-container'></div>\n";
|
||||||
|
$result .= "\t<p class='comment-footer'>";
|
||||||
|
$result .= "\t\t<span class='comment-footer-item'><button class='reply-button'>Reply</button></span>\n";
|
||||||
|
$result .= "\t\t<span class='comment-footer-item'><a class='permalink-button' href='#comment-$comment->id' title='Permalink to this comment'>🔗</a></span>\n";
|
||||||
|
$result .= "\t\t<span class='comment-footer-item'><time datetime='" . date("c", strtotime($comment->timestamp)) . "' title='The time this comment was posted'>$settings->comment_time_icon " . date("l jS \of F Y \a\\t h:ia T", strtotime($comment->timestamp)) . "</time></span>\n";
|
||||||
|
$result .= "\t</p>\n";
|
||||||
|
$result .= "\t" . render_comments($comment->replies, $depth + 1) . "\n";
|
||||||
|
$result .= "\t</div>";
|
||||||
|
}
|
||||||
|
$result .= "</div>";
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
200
docs/ModuleApi/files/modules/feature-guiconfig.php.txt
Normal file
200
docs/ModuleApi/files/modules/feature-guiconfig.php.txt
Normal file
|
@ -0,0 +1,200 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Settings GUI",
|
||||||
|
"version" => "0.1.1",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "The module everyone has been waiting for! Adds a web based gui that lets mods change the wiki settings.",
|
||||||
|
"id" => "feature-guiconfig",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=configure Get a page to change the global wiki settings
|
||||||
|
* @apiName ConfigureSettings
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Moderator
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██████ ███ ██ ███████ ██ ██████ ██ ██ ██████ ███████
|
||||||
|
* ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ █████ ██ ██ ███ ██ ██ ██████ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██████ ██ ████ ██ ██ ██████ ██████ ██ ██ ███████
|
||||||
|
*/
|
||||||
|
add_action("configure", function() {
|
||||||
|
global $settings, $env, $guiConfig;
|
||||||
|
|
||||||
|
if(!$env->is_admin)
|
||||||
|
{
|
||||||
|
$errorMessage = "<p>You don't have permission to change $settings->sitename's master settings.</p>\n";
|
||||||
|
if(!$env->is_logged_in)
|
||||||
|
$errorMessage .= "<p>You could try <a href='?action=login&returnto=%3Faction%3Dconfigure'>logging in</a>.</p>";
|
||||||
|
else
|
||||||
|
$errorMessage .= "<p>You could try <a href='?action=logout&returnto=%3Faction%3Dconfigure'>logging out</a> and then <a href='?action=login&returnto=%3Faction%3Dconfigure'>logging in</a> again with a different account that has the appropriate privileges.</a>.</p>";
|
||||||
|
exit(page_renderer::render_main("Error - $settings->sitename", $errorMessage));
|
||||||
|
}
|
||||||
|
|
||||||
|
$content = "<h1>Master Control Panel</h1>\n";
|
||||||
|
$content .= "<p>This page lets you configure $settings->sitename's master settings. Please be careful - you can break things easily on this page if you're not careful!</p>\n";
|
||||||
|
$content .= "<h2>Actions</h2>";
|
||||||
|
|
||||||
|
$content .= "<button class='action-invindex-rebuild'>Rebuild Search Index</button><br />\n";
|
||||||
|
$content .= "<output class='action-invindex-rebuild-latestmessage'></output><br />\n";
|
||||||
|
$content .= "<progress class='action-invindex-rebuild-progress' min='0' max='100' value='0' style='display: none;'></progress><br />\n";
|
||||||
|
|
||||||
|
$invindex_rebuild_script = <<<SCRIPT
|
||||||
|
window.addEventListener("load", function(event) {
|
||||||
|
document.querySelector(".action-invindex-rebuild").addEventListener("click", function(event) {
|
||||||
|
var rebuildActionEvents = new EventSource("?action=invindex-rebuild");
|
||||||
|
var latestMessageElement = document.querySelector(".action-invindex-rebuild-latestmessage");
|
||||||
|
var progressElement = document.querySelector(".action-invindex-rebuild-progress");
|
||||||
|
rebuildActionEvents.addEventListener("message", function(event) {
|
||||||
|
console.log(event);
|
||||||
|
let message = event.data;
|
||||||
|
latestMessageElement.value = event.data;
|
||||||
|
let parts = message.match(/^\[\s*(\d+)\s+\/\s+(\d+)\s*\]/);
|
||||||
|
if(parts != null) {
|
||||||
|
progressElement.style.display = "";
|
||||||
|
progressElement.min = 0;
|
||||||
|
progressElement.max = parseInt(parts[2]);
|
||||||
|
progressElement.value = parseInt(parts[1]);
|
||||||
|
}
|
||||||
|
if(message.startsWith("Done! Saving new search index to"))
|
||||||
|
rebuildActionEvents.close();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
SCRIPT;
|
||||||
|
|
||||||
|
page_renderer::AddJSSnippet($invindex_rebuild_script);
|
||||||
|
|
||||||
|
$content .= "<h2>Settings</h2>";
|
||||||
|
$content .= "<p>Mouse over the name of each setting to see a description of what it does.</p>\n";
|
||||||
|
$content .= "<form action='?action=configure-save' method='post'>\n";
|
||||||
|
|
||||||
|
foreach($guiConfig as $configKey => $configData)
|
||||||
|
{
|
||||||
|
// Don't display the site secret~!
|
||||||
|
// Apparently it got lost in translation, but I'll be re-adding
|
||||||
|
// it again at some point I'm sure - so support for it is
|
||||||
|
// included here.
|
||||||
|
if($configKey == "sitesecret") continue;
|
||||||
|
|
||||||
|
$reverse = false;
|
||||||
|
$inputControl = "";
|
||||||
|
$label = "<label for='setting-$configKey' title=\"$configData->description\" class='cursor-query'>$configKey</label>";
|
||||||
|
switch($configData->type)
|
||||||
|
{
|
||||||
|
case "url":
|
||||||
|
case "email":
|
||||||
|
case "number":
|
||||||
|
case "text":
|
||||||
|
$inputControl = "<input type='$configData->type' id='$configKey' name='$configKey' value='{$settings->$configKey}' />";
|
||||||
|
break;
|
||||||
|
case "textarea":
|
||||||
|
$inputControl = "<textarea id='$configKey' name='$configKey'>{$settings->$configKey}</textarea>";
|
||||||
|
break;
|
||||||
|
case "checkbox":
|
||||||
|
$reverse = true;
|
||||||
|
$inputControl = "<input type='checkbox' id='$configKey' name='$configKey' " . ($settings->$configKey ? " checked" : "") . " />";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
$label = "";
|
||||||
|
$inputControl = "<p><em>Sorry! The <code>$configKey</code> setting isn't editable yet through the gui. Please try editing <code>peppermint.json</code> for the time being.</em></p>";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
$content .= "<div class='setting-configurator'>\n\t";
|
||||||
|
$content .= $reverse ? "$inputControl\n\t$label" : "$label\n\t$inputControl";
|
||||||
|
$content .= "\n</div>\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
$content .= "<input type='submit' value='Save Settings' />";
|
||||||
|
$content .= "</form>\n";
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("Master Control Panel - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=configure-save Save changes to the global wiki settings
|
||||||
|
* @apiName ConfigureSettings
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Moderator
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██████ ███ ██ ███████ ██ ██████ ██ ██ ██████ ███████
|
||||||
|
* ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ █████ ██ ██ ███ ██ ██ ██████ █████ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██████ ██ ████ ██ ██ ██████ ██████ ██ ██ ███████
|
||||||
|
* ███████ █████ ██ ██ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ███████ ██ ██ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ████ ███████
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
add_action("configure-save", function () {
|
||||||
|
global $env, $settings, $paths, $defaultCSS;
|
||||||
|
|
||||||
|
// If the user isn't an admin, then the regular configuration page will display an appropriate error
|
||||||
|
if(!$env->is_admin)
|
||||||
|
{
|
||||||
|
http_response_code(307);
|
||||||
|
header("location: ?action=configure");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Build a new settings object
|
||||||
|
$newSettings = new stdClass();
|
||||||
|
foreach($settings as $configKey => $rawValue)
|
||||||
|
{
|
||||||
|
$configValue = $rawValue;
|
||||||
|
if(isset($_POST[$configKey]))
|
||||||
|
{
|
||||||
|
$decodedConfigValue = json_decode($_POST[$configKey]);
|
||||||
|
if(json_last_error() === JSON_ERROR_NONE)
|
||||||
|
$configValue = $decodedConfigValue;
|
||||||
|
else
|
||||||
|
$configValue = $_POST[$configKey];
|
||||||
|
|
||||||
|
// Convert boolean settings to a boolean, since POST
|
||||||
|
// parameters don't decode correctly.
|
||||||
|
if(is_bool($settings->$configKey))
|
||||||
|
$configValue = in_array($configValue, [ 1, "on"], true) ? true : false;
|
||||||
|
|
||||||
|
// If the CSS hasn't changed, then we can replace it with
|
||||||
|
// 'auto' - this will ensure that upon update the new
|
||||||
|
// default CSS will be used. Also make sure we ignore line
|
||||||
|
// ending nonsense & differences here, since they really
|
||||||
|
// don't matter
|
||||||
|
if($configKey === "css" && str_replace("\r\n", "\n", $defaultCSS) === str_replace("\r\n", "\n", $configValue))
|
||||||
|
$configValue = "auto";
|
||||||
|
}
|
||||||
|
|
||||||
|
$newSettings->$configKey = $configValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Take a backup of the current settings file
|
||||||
|
rename($paths->settings_file, "$paths->settings_file.bak");
|
||||||
|
// Save the new settings file
|
||||||
|
file_put_contents($paths->settings_file, json_encode($newSettings, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
|
$content = "<h1>Master settings updated sucessfully</h1>\n";
|
||||||
|
$content .= "<p>$settings->sitename's master settings file has been updated successfully. A backup of the original settings has been created under the name <code>peppermint.json.bak</code>, just in case. You can <a href='?action=configure'>go back</a> and continue editing the master settings file, or you can go to the <a href='?action=view&page=" . rawurlencode($settings->defaultpage) . "'>" . htmlentities($settings->defaultpage) . "</a>.</p>\n";
|
||||||
|
$content .= "<p>For reference, the newly generated master settings file is as follows:</p>\n";
|
||||||
|
$content .= "<textarea name='content'>";
|
||||||
|
$content .= json_encode($newSettings, JSON_PRETTY_PRINT);
|
||||||
|
$content .= "</textarea>\n";
|
||||||
|
exit(page_renderer::render_main("Master Settings Updated - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("800-raw-page-content", "Viewing Raw Page Content", "<p>Although you can use the edit page to view a page's source, you can also ask $settings->sitename to send you the raw page source and nothing else. This feature is intented for those who want to automate their interaction with $settings->sitename.</p>
|
||||||
|
<p>To use this feature, navigate to the page for which you want to see the source, and then alter the <code>action</code> parameter in the url's query string to be <code>raw</code>. If the <code>action</code> parameter doesn't exist, add it. Note that when used on an file's page this action will return the source of the description and not the file itself.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
98
docs/ModuleApi/files/modules/feature-history.php.txt
Normal file
98
docs/ModuleApi/files/modules/feature-history.php.txt
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Page History",
|
||||||
|
"version" => "0.3",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds the ability to keep unlimited page history, limited only by your disk space. Note that this doesn't store file history (yet). Currently depends on feature-recent-changes for rendering of the history page.",
|
||||||
|
"id" => "feature-history",
|
||||||
|
"code" => function() {
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=history&page={pageName} Get a list of revisions for a page
|
||||||
|
* @apiName History
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} page The page name to return a revision list for.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ ██ ███████ ████████ ██████ ██████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ███████ ██ ██ ██ ██████ ████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ███████ ██ ██████ ██ ██ ██
|
||||||
|
*/
|
||||||
|
add_action("history", function() {
|
||||||
|
global $settings, $env, $pageindex;
|
||||||
|
|
||||||
|
|
||||||
|
$content = "<h1>History for $env->page</h1>\n";
|
||||||
|
if(!empty($pageindex->{$env->page}->history))
|
||||||
|
{
|
||||||
|
$content .= "\t\t<ul class='page-list'>\n";
|
||||||
|
foreach(array_reverse($pageindex->{$env->page}->history) as $revisionData)
|
||||||
|
{
|
||||||
|
// Only display edits for now
|
||||||
|
if($revisionData->type != "edit")
|
||||||
|
continue;
|
||||||
|
|
||||||
|
// The number (and the sign) of the size difference to display
|
||||||
|
$size_display = ($revisionData->sizediff > 0 ? "+" : "") . $revisionData->sizediff;
|
||||||
|
$size_display_class = $revisionData->sizediff > 0 ? "larger" : ($revisionData->sizediff < 0 ? "smaller" : "nochange");
|
||||||
|
if($revisionData->sizediff > 500 or $revisionData->sizediff < -500)
|
||||||
|
$size_display_class .= " significant";
|
||||||
|
$size_title_display = human_filesize($revisionData->newsize - $revisionData->sizediff) . " -> " . human_filesize($revisionData->newsize);
|
||||||
|
|
||||||
|
$content .= "<li><a href='?page=" . rawurlencode($env->page) . "&revision=$revisionData->rid'>#$revisionData->rid</a> " . render_editor(page_renderer::render_username($revisionData->editor)) . " " . render_timestamp($revisionData->timestamp) . " <span class='cursor-query $size_display_class' title='$size_title_display'>($size_display)</span>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$content .= "<p style='text-align: center;'><em>(None yet! Try editing this page and then coming back here.)</em></p>\n";
|
||||||
|
}
|
||||||
|
exit(page_renderer::render_main("$env->page - History - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
register_save_preprocessor("history_add_revision");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
function history_add_revision(&$pageinfo, &$newsource, &$oldsource, $save_pageindex = true) {
|
||||||
|
global $pageindex, $paths, $env;
|
||||||
|
|
||||||
|
if(!isset($pageinfo->history))
|
||||||
|
$pageinfo->history = [];
|
||||||
|
|
||||||
|
// Save the *new source* as a revision
|
||||||
|
// This results in 2 copies of the current source, but this is ok
|
||||||
|
// since any time someone changes something, it create a new
|
||||||
|
// revision
|
||||||
|
// Note that we can't save the old source here because we'd have no
|
||||||
|
// clue who edited it since $pageinfo has already been updated by
|
||||||
|
// this point
|
||||||
|
|
||||||
|
// TODO Store tag changes here
|
||||||
|
$nextRid = count($pageinfo->history); // The next revision id
|
||||||
|
$ridFilename = "$pageinfo->filename.r$nextRid";
|
||||||
|
// Insert a new entry into the history
|
||||||
|
$pageinfo->history[] = [
|
||||||
|
"type" => "edit", // We might want to store other types later (e.g. page moves)
|
||||||
|
"rid" => $nextRid,
|
||||||
|
"timestamp" => time(),
|
||||||
|
"filename" => $ridFilename,
|
||||||
|
"newsize" => strlen($newsource),
|
||||||
|
"sizediff" => strlen($newsource) - strlen($oldsource),
|
||||||
|
"editor" => $pageinfo->lasteditor
|
||||||
|
];
|
||||||
|
|
||||||
|
// Save the new source as a revision
|
||||||
|
file_put_contents("$env->storage_prefix$ridFilename", $newsource);
|
||||||
|
|
||||||
|
// Save the edited pageindex
|
||||||
|
if($save_pageindex)
|
||||||
|
file_put_contents($paths->pageindex, json_encode($pageindex, JSON_PRETTY_PRINT));
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
269
docs/ModuleApi/files/modules/feature-recent-changes.php.txt
Normal file
269
docs/ModuleApi/files/modules/feature-recent-changes.php.txt
Normal file
|
@ -0,0 +1,269 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Recent Changes",
|
||||||
|
"version" => "0.3.4",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds recent changes. Access through the 'recent-changes' action.",
|
||||||
|
"id" => "feature-recent-changes",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings, $env, $paths;
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=recentchanges Get a list of recent changes
|
||||||
|
* @apiName RecentChanges
|
||||||
|
* @apiGroup Stats
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Add the recent changes json file to $paths for convenience.
|
||||||
|
$paths->recentchanges = $env->storage_prefix . "recent-changes.json";
|
||||||
|
// Create the recent changes json file if it doesn't exist
|
||||||
|
if(!file_exists($paths->recentchanges))
|
||||||
|
file_put_contents($paths->recentchanges, "[]");
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ███████ ██████ ███████ ███ ██ ████████
|
||||||
|
* ██ ██ ██ ██ ██ ████ ██ ██
|
||||||
|
* ██████ █████ ██ █████ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ███████ ██████ ███████ ██ ████ ██
|
||||||
|
*
|
||||||
|
* ██████ ██ ██ █████ ███ ██ ██████ ███████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ████ ██ ██ ██ ██
|
||||||
|
* ██ ███████ ███████ ██ ██ ██ ██ ███ █████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██ ██ ██ ██ ██ ████ ██████ ███████ ███████
|
||||||
|
*/
|
||||||
|
add_action("recent-changes", function() {
|
||||||
|
global $settings, $paths, $pageindex;
|
||||||
|
|
||||||
|
$content = "\t\t<h1>Recent Changes</h1>\n";
|
||||||
|
|
||||||
|
$recent_changes = json_decode(file_get_contents($paths->recentchanges));
|
||||||
|
|
||||||
|
if(count($recent_changes) > 0)
|
||||||
|
{
|
||||||
|
$content .= render_recent_changes($recent_changes);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// No changes yet :(
|
||||||
|
$content .= "<p><em>None yet! Try making a few changes and then check back here.</em></p>\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
exit(page_renderer::render("Recent Changes - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
register_save_preprocessor(function(&$pageinfo, &$newsource, &$oldsource) {
|
||||||
|
global $env, $settings, $paths;
|
||||||
|
|
||||||
|
// Work out the old and new page lengths
|
||||||
|
$oldsize = strlen($oldsource);
|
||||||
|
$newsize = strlen($newsource);
|
||||||
|
// Calculate the page length difference
|
||||||
|
$size_diff = $newsize - $oldsize;
|
||||||
|
|
||||||
|
$newchange = [
|
||||||
|
"type" => "edit",
|
||||||
|
"timestamp" => time(),
|
||||||
|
"page" => $env->page,
|
||||||
|
"user" => $env->user,
|
||||||
|
"newsize" => $newsize,
|
||||||
|
"sizediff" => $size_diff
|
||||||
|
];
|
||||||
|
if($oldsize == 0)
|
||||||
|
$newchange["newpage"] = true;
|
||||||
|
|
||||||
|
add_recent_change($newchange);
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("800-raw-page-content", "Recent Changes", "<p>The <a href='?action=recent-changes'>recent changes</a> page displays a list of all the most recent changes that have happened around $settings->sitename, arranged in chronological order. It can be found in the \"More...\" menu in the top right by default.</p>
|
||||||
|
<p>Each entry displays the name of the page in question, who edited it, how long ago they did so, and the number of characters added or removed. Pages that <em>currently</em> redirect to another page are shown in italics, and hovering over the time since the edit wil show the exact time that the edit was made.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a new recent change to the recent changes file.
|
||||||
|
* @package feature-recent-changes
|
||||||
|
* @param array $rchange The new change to add.
|
||||||
|
*/
|
||||||
|
function add_recent_change($rchange)
|
||||||
|
{
|
||||||
|
global $settings, $paths;
|
||||||
|
|
||||||
|
$recentchanges = json_decode(file_get_contents($paths->recentchanges), true);
|
||||||
|
array_unshift($recentchanges, $rchange);
|
||||||
|
|
||||||
|
// Limit the number of entries in the recent changes file if we've
|
||||||
|
// been asked to.
|
||||||
|
if(isset($settings->max_recent_changes))
|
||||||
|
$recentchanges = array_slice($recentchanges, 0, $settings->max_recent_changes);
|
||||||
|
|
||||||
|
// Save the recent changes file back to disk
|
||||||
|
file_put_contents($paths->recentchanges, json_encode($recentchanges, JSON_PRETTY_PRINT));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders a list of recent changes to HTML.
|
||||||
|
* @package feature-recent-changes
|
||||||
|
* @param array $recent_changes The recent changes to render.
|
||||||
|
* @return string The given recent changes as HTML.
|
||||||
|
*/
|
||||||
|
function render_recent_changes($recent_changes)
|
||||||
|
{
|
||||||
|
global $pageindex;
|
||||||
|
|
||||||
|
// Cache the number of recent changes we are dealing with
|
||||||
|
$rchange_count = count($recent_changes);
|
||||||
|
|
||||||
|
// Group changes made on the same page and the same day together
|
||||||
|
for($i = 0; $i < $rchange_count; $i++)
|
||||||
|
{
|
||||||
|
for($s = $i + 1; $s < $rchange_count; $s++)
|
||||||
|
{
|
||||||
|
// Break out if we have reached the end of the day we are scanning
|
||||||
|
if(date("dmY", $recent_changes[$i]->timestamp) !== date("dmY", $recent_changes[$s]->timestamp))
|
||||||
|
break;
|
||||||
|
|
||||||
|
// If we have found a change that has been made on the same page and
|
||||||
|
// on the same day as the one that we are scanning for, move it up
|
||||||
|
// next to the change we are scanning for.
|
||||||
|
if($recent_changes[$i]->page == $recent_changes[$s]->page &&
|
||||||
|
date("j", $recent_changes[$i]->timestamp) === date("j", $recent_changes[$s]->timestamp))
|
||||||
|
{
|
||||||
|
// FUTURE: We may need to remove and insert instead of swapping changes around if this causes some changes to appear out of order.
|
||||||
|
$temp = $recent_changes[$i + 1];
|
||||||
|
$recent_changes[$i + 1] = $recent_changes[$s];
|
||||||
|
$recent_changes[$s] = $temp;
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$content = "<ul class='page-list'>\n";
|
||||||
|
$last_time = 0;
|
||||||
|
for($i = 0; $i < $rchange_count; $i++)
|
||||||
|
{
|
||||||
|
$rchange = $recent_changes[$i];
|
||||||
|
|
||||||
|
if($last_time !== date("dmY", $rchange->timestamp))
|
||||||
|
$content .= "<li class='header'><h2>" . date("jS F", $rchange->timestamp) . "</h2></li>\n";
|
||||||
|
|
||||||
|
$rchange_results = [];
|
||||||
|
for($s = $i; $s < $rchange_count; $s++)
|
||||||
|
{
|
||||||
|
if($recent_changes[$s]->page !== $rchange->page)
|
||||||
|
break;
|
||||||
|
|
||||||
|
$rchange_results[$s] = render_recent_change($recent_changes[$s]);
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
// Take one from i to account for when we tick over to the next
|
||||||
|
// iteration of the main loop
|
||||||
|
$i -= 1;
|
||||||
|
|
||||||
|
$next_entry = implode("\n", $rchange_results);
|
||||||
|
// If the change count is greater than 1, then we should enclose it
|
||||||
|
// in a <details /> tag.
|
||||||
|
if(count($rchange_results) > 1)
|
||||||
|
{
|
||||||
|
reset($rchange_results);
|
||||||
|
$rchange_first = $recent_changes[key($rchange_results)];
|
||||||
|
end($rchange_results);
|
||||||
|
$rchange_last = $recent_changes[key($rchange_results)];
|
||||||
|
|
||||||
|
$pageDisplayHtml = render_pagename($rchange_first);
|
||||||
|
$timeDisplayHtml = render_timestamp($rchange_first->timestamp);
|
||||||
|
$users = [];
|
||||||
|
foreach($rchange_results as $key => $rchange_result)
|
||||||
|
{
|
||||||
|
if(!in_array($recent_changes[$key]->user, $users))
|
||||||
|
$users[] = $recent_changes[$key]->user;
|
||||||
|
}
|
||||||
|
foreach($users as &$user)
|
||||||
|
$user = page_renderer::render_username($user);
|
||||||
|
$userDisplayHtml = render_editor(implode(", ", $users));
|
||||||
|
|
||||||
|
$next_entry = "<li><details><summary><a href='?page=" . rawurlencode($rchange_first->page) . "'>$pageDisplayHtml</a> $userDisplayHtml $timeDisplayHtml</summary><ul class='page-list'>$next_entry</ul></details></li>";
|
||||||
|
|
||||||
|
$content .= "$next_entry\n";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$content .= implode("\n", $rchange_results);
|
||||||
|
}
|
||||||
|
|
||||||
|
$last_time = date("dmY", $rchange->timestamp);
|
||||||
|
}
|
||||||
|
$content .= "\t\t</ul>";
|
||||||
|
|
||||||
|
return $content;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders a single recent change
|
||||||
|
* @package feature-recent-changes
|
||||||
|
* @param object $rchange The recent change to render.
|
||||||
|
* @return string The recent change, rendered to HTML.
|
||||||
|
*/
|
||||||
|
function render_recent_change($rchange)
|
||||||
|
{
|
||||||
|
global $pageindex;
|
||||||
|
$pageDisplayHtml = render_pagename($rchange);
|
||||||
|
$editorDisplayHtml = render_editor(page_renderer::render_username($rchange->user));
|
||||||
|
$timeDisplayHtml = render_timestamp($rchange->timestamp);
|
||||||
|
|
||||||
|
$revisionId = false;
|
||||||
|
if(isset($pageindex->{$rchange->page}) && isset($pageindex->{$rchange->page}->history))
|
||||||
|
{
|
||||||
|
foreach($pageindex->{$rchange->page}->history as $historyEntry)
|
||||||
|
{
|
||||||
|
if($historyEntry->timestamp == $rchange->timestamp)
|
||||||
|
{
|
||||||
|
$revisionId = $historyEntry->rid;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$result = "";
|
||||||
|
$resultClasses = [];
|
||||||
|
switch(isset($rchange->type) ? $rchange->type : "edit")
|
||||||
|
{
|
||||||
|
case "edit":
|
||||||
|
// The number (and the sign) of the size difference to display
|
||||||
|
$size_display = ($rchange->sizediff > 0 ? "+" : "") . $rchange->sizediff;
|
||||||
|
$size_display_class = $rchange->sizediff > 0 ? "larger" : ($rchange->sizediff < 0 ? "smaller" : "nochange");
|
||||||
|
if($rchange->sizediff > 500 or $rchange->sizediff < -500)
|
||||||
|
$size_display_class .= " significant";
|
||||||
|
|
||||||
|
|
||||||
|
$size_title_display = human_filesize($rchange->newsize - $rchange->sizediff) . " -> " . human_filesize($rchange->newsize);
|
||||||
|
|
||||||
|
if(!empty($rchange->newpage))
|
||||||
|
$resultClasses[] = "newpage";
|
||||||
|
|
||||||
|
$result .= "<a href='?page=" . rawurlencode($rchange->page) . ($revisionId !== false ? "&revision=$revisionId" : "") . "'>$pageDisplayHtml</a> $editorDisplayHtml $timeDisplayHtml <span class='$size_display_class' title='$size_title_display'>($size_display)</span>";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "deletion":
|
||||||
|
$resultClasses[] = "deletion";
|
||||||
|
$result .= "$pageDisplayHtml $editorDisplayHtml $timeDisplayHtml";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "upload":
|
||||||
|
$resultClasses[] = "upload";
|
||||||
|
$result .= "<a href='?page=$rchange->page'>$pageDisplayHtml</a> $editorDisplayHtml $timeDisplayHtml (" . human_filesize($rchange->filesize) . ")";
|
||||||
|
break;
|
||||||
|
case "comment":
|
||||||
|
$resultClasses[] = "new-comment";
|
||||||
|
$result .= "<a href='?page=$rchange->page#comment-" . (!empty($rchange->comment_id) ? "$rchange->comment_id" : "unknown_comment_id") . "'>$pageDisplayHtml</a> $editorDisplayHtml";
|
||||||
|
}
|
||||||
|
|
||||||
|
$resultAttributes = " " . (count($resultClasses) > 0 ? "class='" . implode(" ", $resultClasses) . "'" : "");
|
||||||
|
$result = "\t\t\t<li$resultAttributes>$result</li>\n";
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
37
docs/ModuleApi/files/modules/feature-redirect.php.txt
Normal file
37
docs/ModuleApi/files/modules/feature-redirect.php.txt
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Redirect pages",
|
||||||
|
"version" => "0.3.1",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds support for redirect pages. Uses the same syntax that Mediawiki does.",
|
||||||
|
"id" => "feature-redirect",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
register_save_preprocessor(function(&$index_entry, &$pagedata) {
|
||||||
|
$matches = [];
|
||||||
|
if(preg_match("/^# ?REDIRECT ?\[\[([^\]]+)\]\]/i", $pagedata, $matches) === 1)
|
||||||
|
{
|
||||||
|
//error_log("matches: " . var_export($matches, true));
|
||||||
|
// We have found a redirect page!
|
||||||
|
// Update the metadata to reflect this.
|
||||||
|
$index_entry->redirect = true;
|
||||||
|
$index_entry->redirect_target = $matches[1];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// This page isn't a redirect. Unset the metadata just in case.
|
||||||
|
if(isset($index_entry->redirect))
|
||||||
|
unset($index_entry->redirect);
|
||||||
|
if(isset($index_entry->redirect_target))
|
||||||
|
unset($index_entry->redirect_target);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Register a help section
|
||||||
|
add_help_section("25-redirect", "Redirect Pages", "<p>$settings->sitename supports redirect pages. To create a redirect page, enter something like <code># REDIRECT [[pagename]]</code> on the first line of the redirect page's content. This <em>must</em> appear as the first line of the page, with no whitespace before it. You can include content beneath the redirect if you want, too (such as a reason for redirecting the page).</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
884
docs/ModuleApi/files/modules/feature-search.php.txt
Normal file
884
docs/ModuleApi/files/modules/feature-search.php.txt
Normal file
|
@ -0,0 +1,884 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Search",
|
||||||
|
"version" => "0.5.1",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds proper search functionality to Pepperminty Wiki using an inverted index to provide a full text search engine. If pages don't show up, then you might have hit a stop word. If not, try requesting the `invindex-rebuild` action to rebuild the inverted index from scratch.",
|
||||||
|
"id" => "feature-search",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=index&page={pageName} Get an index of words for a given page
|
||||||
|
* @apiName SearchIndex
|
||||||
|
* @apiGroup Search
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} page The page to generate a word index page.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ███ ██ ██████ ███████ ██ ██
|
||||||
|
* ██ ████ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ █████ ███
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ████ ██████ ███████ ██ ██
|
||||||
|
*/
|
||||||
|
add_action("index", function() {
|
||||||
|
global $settings, $env;
|
||||||
|
|
||||||
|
$breakable_chars = "\r\n\t .,\\/!\"£$%^&*[]()+`_~#";
|
||||||
|
|
||||||
|
header("content-type: text/plain");
|
||||||
|
|
||||||
|
$source = file_get_contents("$env->storage_prefix$env->page.md");
|
||||||
|
|
||||||
|
$index = search::index($source);
|
||||||
|
|
||||||
|
var_dump($env->page);
|
||||||
|
var_dump($source);
|
||||||
|
|
||||||
|
var_dump($index);
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=invindex-rebuild Rebuild the inverted search index from scratch
|
||||||
|
* @apiDescription Causes the inverted search index to be completely rebuilt from scratch. Can take a while for large wikis!
|
||||||
|
* @apiName SearchInvindexRebuild
|
||||||
|
* @apiGroup Search
|
||||||
|
* @apiPermission Admin
|
||||||
|
*
|
||||||
|
* @apiParam {string} secret Optional. Specify the secret from peppermint.json here in order to rebuild the search index without logging in.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ███ ██ ██ ██ ██ ███ ██ ██████ ███████ ██ ██
|
||||||
|
* ██ ████ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ███ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ████ ████ ██ ██ ████ ██████ ███████ ██ ██
|
||||||
|
*
|
||||||
|
* ██████ ███████ ██████ ██ ██ ██ ██ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ █████ ██████ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ███████ ██████ ██████ ██ ███████ ██████
|
||||||
|
*/
|
||||||
|
add_action("invindex-rebuild", function() {
|
||||||
|
global $env, $settings;
|
||||||
|
if($env->is_admin ||
|
||||||
|
(
|
||||||
|
!empty($_POST["secret"]) &&
|
||||||
|
$_POST["secret"] === $settings->secret
|
||||||
|
)
|
||||||
|
)
|
||||||
|
search::rebuild_invindex();
|
||||||
|
else
|
||||||
|
{
|
||||||
|
http_response_code(401);
|
||||||
|
exit(page_renderer::render_main("Error - Search index regenerator - $settings->sitename", "<p>Error: You aren't allowed to regenerate the search index. Try logging in as an admin, or setting the <code>secret</code> POST parameter to $settings->sitename's secret - which can be found in $settings->sitename's <code>peppermint.json</code> file.</p>"));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=idindex-show Show the id index
|
||||||
|
* @apiDescription Outputs the id index. Useful if you need to verify that it's working as expected.
|
||||||
|
* @apiName SearchShowIdIndex
|
||||||
|
* @apiGroup Search
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*/
|
||||||
|
add_action("idindex-show", function() {
|
||||||
|
global $idindex;
|
||||||
|
header("content-type: application/json; charset=UTF-8");
|
||||||
|
exit(json_encode($idindex, JSON_PRETTY_PRINT));
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=search&query={text} Search the wiki for a given query string
|
||||||
|
* @apiName Search
|
||||||
|
* @apiGroup Search
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} query The query string to search for.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ███████ ███████ █████ ██████ ██████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ █████ ███████ ██████ ██ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ███████ ██ ██ ██ ██ ██████ ██ ██
|
||||||
|
*/
|
||||||
|
add_action("search", function() {
|
||||||
|
global $settings, $env, $pageindex, $paths;
|
||||||
|
|
||||||
|
// Create the inverted index if it doesn't exist.
|
||||||
|
// todo In the future perhaps a CLI for this would be good?
|
||||||
|
if(!file_exists($paths->searchindex))
|
||||||
|
search::rebuild_invindex(false);
|
||||||
|
|
||||||
|
if(!isset($_GET["query"]))
|
||||||
|
exit(page_renderer::render("No Search Terms - Error - $settings->sitename", "<p>You didn't specify any search terms. Try typing some into the box above.</p>"));
|
||||||
|
|
||||||
|
$search_start = microtime(true);
|
||||||
|
|
||||||
|
$invindex = search::load_invindex($paths->searchindex);
|
||||||
|
$results = search::query_invindex($_GET["query"], $invindex);
|
||||||
|
$resultCount = count($results);
|
||||||
|
|
||||||
|
$env->perfdata->search_time = round((microtime(true) - $search_start)*1000, 3);
|
||||||
|
|
||||||
|
$title = $_GET["query"] . " - Search results - $settings->sitename";
|
||||||
|
|
||||||
|
$content = "<section>\n";
|
||||||
|
$content .= "<h1>Search Results</h1>";
|
||||||
|
|
||||||
|
/// Search Box ///
|
||||||
|
$content .= "<form method='get' action=''>\n";
|
||||||
|
$content .= " <input type='search' id='search-box' name='query' placeholder='Type your query here and then press enter.' value='" . htmlentities($_GET["query"], ENT_HTML5 | ENT_QUOTES) . "' />\n";
|
||||||
|
$content .= " <input type='hidden' name='action' value='search' />\n";
|
||||||
|
$content .= "</form>";
|
||||||
|
|
||||||
|
$content .= "<p>Found $resultCount " . ($resultCount === 1 ? "result" : "results") . " in " . $env->perfdata->search_time . "ms. ";
|
||||||
|
|
||||||
|
$query = $_GET["query"];
|
||||||
|
if(isset($pageindex->$query))
|
||||||
|
{
|
||||||
|
$content .= "There's a page on $settings->sitename called <a href='?page=" . rawurlencode($query) . "'>$query</a>.";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$content .= "There isn't a page called $query on $settings->sitename, but you ";
|
||||||
|
if((!$settings->anonedits && !$env->is_logged_in) || !$settings->editing)
|
||||||
|
{
|
||||||
|
$content .= "do not have permission to create it.";
|
||||||
|
if(!$env->is_logged_in)
|
||||||
|
{
|
||||||
|
$content .= " You could try <a href='?action=login&returnto=" . rawurlencode($_SERVER["REQUEST_URI"]) . "'>logging in</a>.";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$content .= "can <a href='?action=edit&page=" . rawurlencode($query) . "'>create it</a>.";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$content .= "</p>";
|
||||||
|
|
||||||
|
$i = 0; // todo use $_GET["offset"] and $_GET["result-count"] or something
|
||||||
|
foreach($results as $result)
|
||||||
|
{
|
||||||
|
$link = "?page=" . rawurlencode($result["pagename"]);
|
||||||
|
$pagesource = file_get_contents($env->storage_prefix . $result["pagename"] . ".md");
|
||||||
|
|
||||||
|
//echo("Extracting context for result " . $result["pagename"] . ".\n");
|
||||||
|
$context = search::extract_context($_GET["query"], $pagesource);
|
||||||
|
if(strlen($context) === 0)
|
||||||
|
$context = substr($pagesource, 0, $settings->search_characters_context * 2);
|
||||||
|
//echo("'Generated search context for " . $result["pagename"] . ": $context'\n");
|
||||||
|
$context = search::highlight_context($_GET["query"], htmlentities($context));
|
||||||
|
/*if(strlen($context) == 0)
|
||||||
|
{
|
||||||
|
$context = search::strip_markup(file_get_contents("$env->page.md", null, null, null, $settings->search_characters_context * 2));
|
||||||
|
if($pageindex->{$env->page}->size > $settings->search_characters_context * 2)
|
||||||
|
$context .= "...";
|
||||||
|
}*/
|
||||||
|
|
||||||
|
// Make redirect pages italics
|
||||||
|
if(!empty($pageindex->{$result["pagename"]}->redirect))
|
||||||
|
$result["pagename"] = "<em>{$result["pagename"]}</em>";
|
||||||
|
|
||||||
|
// We add 1 to $i here to convert it from an index to a result
|
||||||
|
// number as people expect it to start from 1
|
||||||
|
$content .= "<div class='search-result' data-result-number='" . ($i + 1) . "' data-rank='" . $result["rank"] . "'>\n";
|
||||||
|
$content .= " <h2><a href='$link'>" . $result["pagename"] . "</a></h2>\n";
|
||||||
|
$content .= " <p class='search-context'>$context</p>\n";
|
||||||
|
$content .= "</div>\n";
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
$content .= "</section>\n";
|
||||||
|
|
||||||
|
header("content-type: text/html; charset=UTF-8");
|
||||||
|
exit(page_renderer::render($title, $content));
|
||||||
|
|
||||||
|
//header("content-type: text/plain");
|
||||||
|
//var_dump($results);
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██ ██ ███████ ██████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ █████ ██████ ████ █████
|
||||||
|
* ██ ▄▄ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██████ ███████ ██ ██ ██
|
||||||
|
* ▀▀
|
||||||
|
* ███████ ███████ █████ ██████ ██████ ██ ██ ██ ███ ██ ██████ ███████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ █████ ███████ ██████ ██ ███████ ██ ██ ██ ██ ██ ██ █████ ███
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ███████ ██ ██ ██ ██ ██████ ██ ██ ██ ██ ████ ██████ ███████ ██ ██
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=query-searchindex&query={text} Inspect the internals of the search results for a query
|
||||||
|
* @apiName Search
|
||||||
|
* @apiGroup Search
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} query The query string to search for.
|
||||||
|
*/
|
||||||
|
add_action("query-searchindex", function() {
|
||||||
|
global $env, $paths;
|
||||||
|
|
||||||
|
if(empty($_GET["query"])) {
|
||||||
|
http_response_code(400);
|
||||||
|
header("content-type: text/plain");
|
||||||
|
exit("Error: No query specified. Specify it with the 'query' GET parameter.");
|
||||||
|
}
|
||||||
|
|
||||||
|
$env->perfdata->searchindex_decode_start = microtime(true);
|
||||||
|
$searchIndex = search::load_invindex($paths->searchindex);
|
||||||
|
$env->perfdata->searchindex_decode_time = (microtime(true) - $env->perfdata->searchindex_decode_start) * 1000;
|
||||||
|
$env->perfdata->searchindex_query_start = microtime(true);
|
||||||
|
$searchResults = search::query_invindex($_GET["query"], $searchIndex);
|
||||||
|
$env->perfdata->searchindex_query_time = (microtime(true) - $env->perfdata->searchindex_query_start) * 1000;
|
||||||
|
|
||||||
|
header("content-type: application/json");
|
||||||
|
$result = new stdClass();
|
||||||
|
$result->time_format = "ms";
|
||||||
|
$result->decode_time = $env->perfdata->searchindex_decode_time;
|
||||||
|
$result->query_time = $env->perfdata->searchindex_query_time;
|
||||||
|
$result->total_time = $result->decode_time + $result->query_time;
|
||||||
|
$result->search_results = $searchResults;
|
||||||
|
exit(json_encode($result, JSON_PRETTY_PRINT));
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██████ ███████ ███ ██ ███████ ███████ █████ ██████ ██████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██████ █████ ██ ██ ██ ███████ █████ ███████ ██████ ██ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██ ███████ ██ ████ ███████ ███████ ██ ██ ██ ██ ██████ ██ ██
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=opensearch-description Get the opensearch description file
|
||||||
|
* @apiName OpenSearchDescription
|
||||||
|
* @apiGroup Search
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*/
|
||||||
|
add_action("opensearch-description", function () {
|
||||||
|
global $settings;
|
||||||
|
$siteRoot = full_url() . "/index.php";
|
||||||
|
if(!isset($_GET["debug"]))
|
||||||
|
header("content-type: application/opensearchdescription+xml");
|
||||||
|
else
|
||||||
|
header("content-type: text/plain");
|
||||||
|
|
||||||
|
exit('<?xml version="1.0" encoding="UTF-8"?' . '>' . // hack The build system strips it otherwise O.o I should really fix that.
|
||||||
|
"\n<OpenSearchDescription xmlns=\"http://a9.com/-/spec/opensearch/1.1/\">
|
||||||
|
<ShortName>Search $settings->sitename</ShortName>
|
||||||
|
<Description>Search $settings->sitename, which is powered by Pepperminty Wiki.</Description>
|
||||||
|
<Tags>$settings->sitename Wiki</Tags>
|
||||||
|
<Image type=\"image/png\">$settings->favicon</Image>
|
||||||
|
<Attribution>Search content available under the license linked to at the bottom of the search results page.</Attribution>
|
||||||
|
<Developer>Starbeamrainbowlabs (https://github.com/sbrl/Pepperminty-Wiki/graphs/contributors)</Developer>
|
||||||
|
<InputEncoding>UTF-8</InputEncoding>
|
||||||
|
<OutputEncoding>UTF-8</OutputEncoding>
|
||||||
|
|
||||||
|
<Url type=\"text/html\" method=\"get\" template=\"$siteRoot?action=view&search-redirect=yes&page={searchTerms}&offset={startIndex?}&count={count}\" />
|
||||||
|
<Url type=\"application/x-suggestions+json\" template=\"$siteRoot?action=suggest-pages&query={searchTerms}&type=opensearch\" />
|
||||||
|
</OpenSearchDescription>");
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=suggest-pages[&type={type}] Get search suggestions for a query
|
||||||
|
* @apiName OpenSearchDescription
|
||||||
|
* @apiGroup Search
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} text The search query string to get search suggestions for.
|
||||||
|
* @apiParam {string} type The type of result to return. Default value: json. Available values: json, opensearch
|
||||||
|
*/
|
||||||
|
add_action("suggest-pages", function() {
|
||||||
|
global $settings, $pageindex;
|
||||||
|
|
||||||
|
if($settings->dynamic_page_suggestion_count === 0)
|
||||||
|
{
|
||||||
|
header("content-type: application/json");
|
||||||
|
header("content-length: 3");
|
||||||
|
exit("[]\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(empty($_GET["query"])) {
|
||||||
|
http_response_code(400);
|
||||||
|
header("content-type: text/plain");
|
||||||
|
exit("Error: You didn't specify the 'query' GET parameter.");
|
||||||
|
}
|
||||||
|
|
||||||
|
$type = $_GET["type"] ?? "json";
|
||||||
|
|
||||||
|
if(!in_array($type, ["json", "opensearch"])) {
|
||||||
|
http_response_code(406);
|
||||||
|
exit("Error: The type '$type' is not one of the supported output types. Available values: json, opensearch. Default: json");
|
||||||
|
}
|
||||||
|
|
||||||
|
// Rank each page name
|
||||||
|
$results = [];
|
||||||
|
foreach($pageindex as $pageName => $entry) {
|
||||||
|
$results[] = [
|
||||||
|
"pagename" => $pageName,
|
||||||
|
// Costs: Insert: 1, Replace: 8, Delete: 6
|
||||||
|
"distance" => levenshtein(mb_strtolower($_GET["query"]), mb_strtolower($pageName), 1, 8, 6)
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sort the page names by distance from the original query
|
||||||
|
usort($results, function($a, $b) {
|
||||||
|
if($a["distance"] == $b["distance"])
|
||||||
|
return strcmp($a["pagename"], $b["pagename"]);
|
||||||
|
return $a["distance"] < $b["distance"] ? -1 : 1;
|
||||||
|
});
|
||||||
|
|
||||||
|
// Send the results to the user
|
||||||
|
$suggestions = array_slice($results, 0, $settings->dynamic_page_suggestion_count);
|
||||||
|
switch($type)
|
||||||
|
{
|
||||||
|
case "json":
|
||||||
|
header("content-type: application/json");
|
||||||
|
exit(json_encode($suggestions));
|
||||||
|
case "opensearch":
|
||||||
|
$opensearch_output = [
|
||||||
|
$_GET["query"],
|
||||||
|
array_map(function($suggestion) { return $suggestion["pagename"]; }, $suggestions)
|
||||||
|
];
|
||||||
|
header("content-type: application/x-suggestions+json");
|
||||||
|
exit(json_encode($opensearch_output));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
if($settings->dynamic_page_suggestion_count > 0)
|
||||||
|
{
|
||||||
|
page_renderer::AddJSSnippet('/// Dynamic page suggestion system
|
||||||
|
// Micro snippet 8 - Promisified GET (fetched 20th Nov 2016)
|
||||||
|
function get(u){return new Promise(function(r,t,a){a=new XMLHttpRequest();a.onload=function(b,c){b=a.status;c=a.response;if(b>199&&b<300){r(c)}else{t(c)}};a.open("GET",u,true);a.send(null)})}
|
||||||
|
|
||||||
|
window.addEventListener("load", function(event) {
|
||||||
|
var searchBox = document.querySelector("input[type=search]");
|
||||||
|
searchBox.dataset.lastValue = "";
|
||||||
|
searchBox.addEventListener("keyup", function(event) {
|
||||||
|
// Make sure that we don\'t keep sending requests to the server if nothing has changed
|
||||||
|
if(searchBox.dataset.lastValue == event.target.value)
|
||||||
|
return;
|
||||||
|
searchBox.dataset.lastValue = event.target.value;
|
||||||
|
// Fetch the suggestions from the server
|
||||||
|
get("?action=suggest-pages&query=" + encodeURIComponent(event.target.value)).then(function(response) {
|
||||||
|
var suggestions = JSON.parse(response),
|
||||||
|
dataList = document.getElementById("allpages");
|
||||||
|
|
||||||
|
// If the server sent no suggestions, then we shouldn\'t replace the contents of the datalist
|
||||||
|
if(suggestions.length == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
|
console.info(`Fetched suggestions for ${event.target.value}:`, suggestions.map(s => s.pagename));
|
||||||
|
|
||||||
|
// Remove all the existing suggestions
|
||||||
|
while(dataList.firstChild) {
|
||||||
|
dataList.removeChild(dataList.firstChild);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add the new suggestions to the datalist
|
||||||
|
var optionsFrag = document.createDocumentFragment();
|
||||||
|
suggestions.forEach(function(suggestion) {
|
||||||
|
var suggestionElement = document.createElement("option");
|
||||||
|
suggestionElement.value = suggestion.pagename;
|
||||||
|
suggestionElement.dataset.distance = suggestion.distance;
|
||||||
|
optionsFrag.appendChild(suggestionElement);
|
||||||
|
});
|
||||||
|
dataList.appendChild(optionsFrag);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
class search
|
||||||
|
{
|
||||||
|
// Words that we should exclude from the inverted index
|
||||||
|
public static $stop_words = [
|
||||||
|
"a", "about", "above", "above", "across", "after", "afterwards", "again",
|
||||||
|
"against", "all", "almost", "alone", "along", "already", "also",
|
||||||
|
"although", "always", "am", "among", "amongst", "amoungst", "amount",
|
||||||
|
"an", "and", "another", "any", "anyhow", "anyone", "anything", "anyway",
|
||||||
|
"anywhere", "are", "around", "as", "at", "back", "be", "became",
|
||||||
|
"because", "become", "becomes", "becoming", "been", "before",
|
||||||
|
"beforehand", "behind", "being", "below", "beside", "besides",
|
||||||
|
"between", "beyond", "bill", "both", "bottom", "but", "by", "call",
|
||||||
|
"can", "cannot", "cant", "co", "con", "could", "couldnt", "cry", "de",
|
||||||
|
"describe", "detail", "do", "done", "down", "due", "during", "each",
|
||||||
|
"eg", "eight", "either", "eleven", "else", "elsewhere", "empty",
|
||||||
|
"enough", "etc", "even", "ever", "every", "everyone", "everything",
|
||||||
|
"everywhere", "except", "few", "fill", "find",
|
||||||
|
"fire", "first", "five", "for", "former", "formerly", "found",
|
||||||
|
"four", "from", "front", "full", "further", "get", "give", "go", "had",
|
||||||
|
"has", "hasnt", "have", "he", "hence", "her", "here", "hereafter",
|
||||||
|
"hereby", "herein", "hereupon", "hers", "herself", "him", "himself",
|
||||||
|
"his", "how", "however", "ie", "if", "in", "inc", "indeed",
|
||||||
|
"interest", "into", "is", "it", "its", "itself", "keep", "last",
|
||||||
|
"latter", "latterly", "least", "less", "ltd", "made", "many", "may",
|
||||||
|
"me", "meanwhile", "might", "mine", "more", "moreover", "most",
|
||||||
|
"mostly", "move", "much", "must", "my", "myself", "name", "namely",
|
||||||
|
"neither", "never", "nevertheless", "next", "nine", "no", "none",
|
||||||
|
"nor", "not", "nothing", "now", "nowhere", "of", "off", "often", "on",
|
||||||
|
"once", "one", "only", "onto", "or", "other", "others", "otherwise",
|
||||||
|
"our", "ours", "ourselves", "out", "over", "own", "part", "per",
|
||||||
|
"perhaps", "please", "put", "rather", "re", "same", "see", "seem",
|
||||||
|
"seemed", "seeming", "seems", "serious", "several", "she", "should",
|
||||||
|
"show", "side", "since", "sincere", "six", "sixty", "so", "some",
|
||||||
|
"somehow", "someone", "something", "sometime", "sometimes",
|
||||||
|
"somewhere", "still", "such", "system", "take", "ten", "than", "that",
|
||||||
|
"the", "their", "them", "themselves", "then", "thence", "there",
|
||||||
|
"thereafter", "thereby", "therefore", "therein", "thereupon", "these",
|
||||||
|
"they", "thickv", "thin", "third", "this", "those", "though", "three",
|
||||||
|
"through", "throughout", "thru", "thus", "to", "together", "too", "top",
|
||||||
|
"toward", "towards", "twelve", "twenty", "two", "un", "under", "until",
|
||||||
|
"up", "upon", "us", "very", "via", "was", "we", "well", "were", "what",
|
||||||
|
"whatever", "when", "whence", "whenever", "where", "whereafter",
|
||||||
|
"whereas", "whereby", "wherein", "whereupon", "wherever", "whether",
|
||||||
|
"which", "while", "whither", "who", "whoever", "whole", "whom", "whose",
|
||||||
|
"why", "will", "with", "within", "without", "would", "yet", "you",
|
||||||
|
"your", "yours", "yourself", "yourselves"
|
||||||
|
];
|
||||||
|
|
||||||
|
public static function index($source)
|
||||||
|
{
|
||||||
|
$source = html_entity_decode($source, ENT_QUOTES);
|
||||||
|
$source_length = strlen($source);
|
||||||
|
|
||||||
|
$index = [];
|
||||||
|
|
||||||
|
$terms = self::tokenize($source);
|
||||||
|
$i = 0;
|
||||||
|
foreach($terms as $term)
|
||||||
|
{
|
||||||
|
$nterm = $term;
|
||||||
|
|
||||||
|
// Skip over stop words (see https://en.wikipedia.org/wiki/Stop_words)
|
||||||
|
if(in_array($nterm, self::$stop_words)) continue;
|
||||||
|
|
||||||
|
if(!isset($index[$nterm]))
|
||||||
|
{
|
||||||
|
$index[$nterm] = [ "freq" => 0, "offsets" => [] ];
|
||||||
|
}
|
||||||
|
|
||||||
|
$index[$nterm]["freq"]++;
|
||||||
|
$index[$nterm]["offsets"][] = $i;
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $index;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function tokenize($source)
|
||||||
|
{
|
||||||
|
$source = strtolower($source);
|
||||||
|
$source = str_replace([ '[', ']', '|', '{', '}' ], " ", $source);
|
||||||
|
return preg_split("/((^\p{P}+)|(\p{P}*\s+\p{P}*)|(\p{P}+$))|\|/u", $source, -1, PREG_SPLIT_NO_EMPTY);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function strip_markup($source)
|
||||||
|
{
|
||||||
|
return str_replace([ "[", "]", "\"", "*", "_", " - ", "`" ], "", $source);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function rebuild_invindex($output = true)
|
||||||
|
{
|
||||||
|
global $pageindex, $env, $paths, $settings;
|
||||||
|
|
||||||
|
if($output) {
|
||||||
|
header("content-type: text/event-stream");
|
||||||
|
ob_end_flush();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clear the id index out
|
||||||
|
ids::clear();
|
||||||
|
|
||||||
|
// Reindex each page in turn
|
||||||
|
$invindex = [];
|
||||||
|
$i = 0; $max = count(get_object_vars($pageindex));
|
||||||
|
$missing_files = 0;
|
||||||
|
foreach($pageindex as $pagename => $pagedetails)
|
||||||
|
{
|
||||||
|
$page_filename = $env->storage_prefix . $pagedetails->filename;
|
||||||
|
if(!file_exists($page_filename)) {
|
||||||
|
echo("data: [" . ($i + 1) . " / $max] Error: Can't find $page_filename");
|
||||||
|
flush();
|
||||||
|
$missing_files++;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
$pagesource = utf8_encode(file_get_contents($page_filename));
|
||||||
|
$index = self::index($pagesource);
|
||||||
|
|
||||||
|
$pageid = ids::getid($pagename);
|
||||||
|
self::merge_into_invindex($invindex, $pageid, $index);
|
||||||
|
|
||||||
|
if($output) {
|
||||||
|
echo("data: [" . ($i + 1) . " / $max] Added $pagename (id #$pageid) to the new search index.\n\n");
|
||||||
|
flush();
|
||||||
|
}
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
if($output) {
|
||||||
|
echo("data: Search index rebuilding complete.\n\n");
|
||||||
|
echo("data: Couldn't find $missing_files pages on disk. If $settings->sitename couldn't find some pages on disk, then you might need to manually correct $settings->sitename's page index (stored in pageindex.json).\n\n");
|
||||||
|
echo("data: Done! Saving new search index to '$paths->searchindex'.\n\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
self::save_invindex($paths->searchindex, $invindex);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @summary Sorts an index alphabetically. Will also sort an inverted index.
|
||||||
|
* This allows us to do a binary search instead of a regular
|
||||||
|
* sequential search.
|
||||||
|
*/
|
||||||
|
public static function sort_index(&$index)
|
||||||
|
{
|
||||||
|
ksort($index, SORT_NATURAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @summary Compares two *regular* indexes to find the differences between them.
|
||||||
|
*
|
||||||
|
* @param {array} $indexa - The old index.
|
||||||
|
* @param {array} $indexb - The new index.
|
||||||
|
* @param {array} $changed - An array to be filled with the nterms of all
|
||||||
|
* the changed entries.
|
||||||
|
* @param {array} $removed - An array to be filled with the nterms of all
|
||||||
|
* the removed entries.
|
||||||
|
*/
|
||||||
|
public static function compare_indexes($oldindex, $newindex, &$changed, &$removed)
|
||||||
|
{
|
||||||
|
foreach($oldindex as $nterm => $entry)
|
||||||
|
{
|
||||||
|
if(!isset($newindex[$nterm]))
|
||||||
|
$removed[] = $nterm;
|
||||||
|
}
|
||||||
|
foreach($newindex as $nterm => $entry)
|
||||||
|
{
|
||||||
|
if(!isset($oldindex[$nterm]) or // If this world is new
|
||||||
|
$newindex[$nterm] !== $oldindex[$nterm]) // If this word has changed
|
||||||
|
$changed[$nterm] = $newindex[$nterm];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @summary Reads in and parses an inverted index.
|
||||||
|
*/
|
||||||
|
// Todo remove this function and make everything streamable
|
||||||
|
public static function load_invindex($invindex_filename) {
|
||||||
|
$invindex = json_decode(file_get_contents($invindex_filename), true);
|
||||||
|
return $invindex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function measure_invindex_load_time($invindex_filename) {
|
||||||
|
global $env;
|
||||||
|
|
||||||
|
$searchindex_decode_start = microtime(true);
|
||||||
|
search::load_invindex($invindex_filename);
|
||||||
|
$env->perfdata->searchindex_decode_time = round((microtime(true) - $searchindex_decode_start)*1000, 3);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @summary Merge an index into an inverted index.
|
||||||
|
*/
|
||||||
|
public static function merge_into_invindex(&$invindex, $pageid, &$index, &$removals = [])
|
||||||
|
{
|
||||||
|
// Remove all the subentries that were removed since last time
|
||||||
|
foreach($removals as $nterm)
|
||||||
|
{
|
||||||
|
unset($invindex[$nterm][$pageid]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Merge all the new / changed index entries into the inverted index
|
||||||
|
foreach($index as $nterm => $newentry)
|
||||||
|
{
|
||||||
|
// If the nterm isn't in the inverted index, then create a space for it
|
||||||
|
if(!isset($invindex[$nterm])) $invindex[$nterm] = [];
|
||||||
|
$invindex[$nterm][$pageid] = $newentry;
|
||||||
|
|
||||||
|
// Sort the page entries for this word by frequency
|
||||||
|
uasort($invindex[$nterm], function($a, $b) {
|
||||||
|
if($a["freq"] == $b["freq"]) return 0;
|
||||||
|
return ($a["freq"] < $b["freq"]) ? +1 : -1;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sort the inverted index by rank
|
||||||
|
uasort($invindex, function($a, $b) {
|
||||||
|
$ac = count($a); $bc = count($b);
|
||||||
|
if($ac == $bc) return 0;
|
||||||
|
return ($ac < $bc) ? +1 : -1;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Deletes the given pageid from the given pageindex.
|
||||||
|
* @param inverted_index &$invindex The inverted index.
|
||||||
|
* @param number $pageid The pageid to remove.
|
||||||
|
*/
|
||||||
|
public static function delete_entry(&$invindex, $pageid)
|
||||||
|
{
|
||||||
|
$str_pageid = (string)$pageid;
|
||||||
|
foreach($invindex as $nterm => &$entry)
|
||||||
|
{
|
||||||
|
if(isset($entry[$pageid]))
|
||||||
|
unset($entry[$pageid]);
|
||||||
|
if(isset($entry[$str_pageid]))
|
||||||
|
unset($entry[$str_pageid]);
|
||||||
|
if(count($entry) === 0)
|
||||||
|
unset($invindex[$nterm]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function save_invindex($filename, &$invindex)
|
||||||
|
{
|
||||||
|
file_put_contents($filename, json_encode($invindex));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function query_invindex($query, &$invindex)
|
||||||
|
{
|
||||||
|
global $settings, $pageindex;
|
||||||
|
|
||||||
|
$query_terms = self::tokenize($query);
|
||||||
|
$matching_pages = [];
|
||||||
|
|
||||||
|
|
||||||
|
// Loop over each term in the query and find the matching page entries
|
||||||
|
$count = count($query_terms);
|
||||||
|
for($i = 0; $i < $count; $i++)
|
||||||
|
{
|
||||||
|
$qterm = $query_terms[$i];
|
||||||
|
|
||||||
|
// Stop words aren't worth the bother - make sure we don't search
|
||||||
|
// the title or the tags for them
|
||||||
|
if(in_array($qterm, self::$stop_words))
|
||||||
|
continue;
|
||||||
|
|
||||||
|
// Only search the inverted index if it actually exists there
|
||||||
|
if(isset($invindex[$qterm]))
|
||||||
|
{
|
||||||
|
// Loop over each page in the inverted index entry
|
||||||
|
foreach($invindex[$qterm] as $pageid => $page_entry)
|
||||||
|
{
|
||||||
|
// Create an entry in the matching pages array if it doesn't exist
|
||||||
|
if(!isset($matching_pages[$pageid]))
|
||||||
|
$matching_pages[$pageid] = [ "nterms" => [] ];
|
||||||
|
$matching_pages[$pageid]["nterms"][$qterm] = $page_entry;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Loop over the pageindex and search the titles / tags
|
||||||
|
foreach ($pageindex as $pagename => $pagedata)
|
||||||
|
{
|
||||||
|
// Get the current page's id
|
||||||
|
$pageid = ids::getid($pagename);
|
||||||
|
// Consider matches in the page title
|
||||||
|
if(stripos($pagename, $qterm) !== false)
|
||||||
|
{
|
||||||
|
// We found the qterm in the title
|
||||||
|
if(!isset($matching_pages[$pageid]))
|
||||||
|
$matching_pages[$pageid] = [ "nterms" => [] ];
|
||||||
|
|
||||||
|
// Set up a counter for page title matches if it doesn't exist already
|
||||||
|
if(!isset($matching_pages[$pageid]["title-matches"]))
|
||||||
|
$matching_pages[$pageid]["title-matches"] = 0;
|
||||||
|
|
||||||
|
$matching_pages[$pageid]["title-matches"] += count(mb_stripos_all($pagename, $qterm));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Consider matches in the page's tags
|
||||||
|
if(isset($pagedata->tags) and // If this page has tags
|
||||||
|
stripos(implode(" ", $pagedata->tags), $qterm) !== false) // And we found the qterm in the tags
|
||||||
|
{
|
||||||
|
if(!isset($matching_pages[$pageid]))
|
||||||
|
$matching_pages[$pageid] = [ "nterms" => [] ];
|
||||||
|
|
||||||
|
// Set up a counter for tag match if there isn't one already
|
||||||
|
if(!isset($matching_pages[$pageid]["tag-matches"]))
|
||||||
|
$matching_pages[$pageid]["tag-matches"] = 0;
|
||||||
|
$matching_pages[$pageid]["tag-matches"] += count(mb_stripos_all(implode(" ", $pagedata->tags), $qterm));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
foreach($matching_pages as $pageid => &$pagedata)
|
||||||
|
{
|
||||||
|
$pagedata["pagename"] = ids::getpagename($pageid);
|
||||||
|
$pagedata["rank"] = 0;
|
||||||
|
|
||||||
|
$pageOffsets = [];
|
||||||
|
|
||||||
|
// Loop over each search term found on this page
|
||||||
|
foreach($pagedata["nterms"] as $pterm => $entry)
|
||||||
|
{
|
||||||
|
// Add the number of occurrences of this search term to the ranking
|
||||||
|
$pagedata["rank"] += $entry["freq"];
|
||||||
|
|
||||||
|
// Add the offsets to a listof all offsets on this page
|
||||||
|
foreach($entry["offsets"] as $offset)
|
||||||
|
$pageOffsets[] = $offset;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
// Sort the list of offsets
|
||||||
|
$pageOffsets = array_unique($pageOffsets);
|
||||||
|
sort($pageOffsets);
|
||||||
|
var_dump($pageOffsets);
|
||||||
|
|
||||||
|
// Calcualate the clump distances via a variable moving window size
|
||||||
|
$pageOffsetsCount = count($pageOffsets);
|
||||||
|
$clumpDistanceWindow = min($count, $pageOffsetsCount); // a.k.a. count($query_terms) - see above
|
||||||
|
$clumpDistances = [];
|
||||||
|
for($i = 0; $i < $pageOffsetsCount - $clumpDistanceWindow; $i++)
|
||||||
|
$clumpDistances[] = $pageOffsets[$i] - $pageOffsets[$i + $clumpDistanceWindow];
|
||||||
|
|
||||||
|
// Sort the new list of clump distances
|
||||||
|
sort($clumpDistances);
|
||||||
|
// Calcualate a measureof how clumped the offsets are
|
||||||
|
$tightClumpLimit = floor((count($clumpDistances) - 1) / 0.25);
|
||||||
|
$tightClumpsMeasure = $clumpDistances[$tightClumpLimit] - $clumpDistances[0];
|
||||||
|
$clumpsRange = $clumpDistances[count($clumpDistances) - 1] - $clumpDistances[0];
|
||||||
|
|
||||||
|
$clumpiness = $tightClumpsMeasure / $clumpsRange;
|
||||||
|
echo("{$pagedata["pagename"]} - $clumpiness");
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Consider matches in the title / tags
|
||||||
|
if(isset($pagedata["title-matches"]))
|
||||||
|
$pagedata["rank"] += $pagedata["title-matches"] * $settings->search_title_matches_weighting;
|
||||||
|
if(isset($pagedata["tag-matches"]))
|
||||||
|
$pagedata["rank"] += $pagedata["tag-matches"] * $settings->search_tags_matches_weighting;
|
||||||
|
|
||||||
|
// todo remove items if the rank is below a threshold
|
||||||
|
}
|
||||||
|
|
||||||
|
// todo sort by rank here
|
||||||
|
uasort($matching_pages, function($a, $b) {
|
||||||
|
if($a["rank"] == $b["rank"]) return 0;
|
||||||
|
return ($a["rank"] < $b["rank"]) ? +1 : -1;
|
||||||
|
});
|
||||||
|
|
||||||
|
return $matching_pages;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function extract_context($query, $source)
|
||||||
|
{
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
$nterms = self::tokenize($query);
|
||||||
|
$matches = [];
|
||||||
|
// Loop over each nterm and find it in the source
|
||||||
|
foreach($nterms as $nterm)
|
||||||
|
{
|
||||||
|
if(in_array($nterm, static::$stop_words))
|
||||||
|
continue;
|
||||||
|
$all_offsets = mb_stripos_all($source, $nterm);
|
||||||
|
// Skip over adding matches if there aren't any
|
||||||
|
if($all_offsets === false)
|
||||||
|
continue;
|
||||||
|
foreach($all_offsets as $offset)
|
||||||
|
{
|
||||||
|
$matches[] = [ $nterm, $offset ];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Sort the matches by offset
|
||||||
|
usort($matches, function($a, $b) {
|
||||||
|
if($a[1] == $b[1]) return 0;
|
||||||
|
return ($a[1] > $b[1]) ? +1 : -1;
|
||||||
|
});
|
||||||
|
|
||||||
|
$sourceLength = strlen($source);
|
||||||
|
|
||||||
|
$contexts = [];
|
||||||
|
$basepos = 0;
|
||||||
|
$matches_count = count($matches);
|
||||||
|
while($basepos < $matches_count)
|
||||||
|
{
|
||||||
|
// Store the next match along - all others will be relative to that one
|
||||||
|
$group = [$matches[$basepos]];
|
||||||
|
|
||||||
|
// Start scanning at the next one along - we always store the first match
|
||||||
|
$scanpos = $basepos + 1;
|
||||||
|
$distance = 0;
|
||||||
|
|
||||||
|
while(true)
|
||||||
|
{
|
||||||
|
// Break out if we reach the end
|
||||||
|
if($scanpos >= $matches_count) break;
|
||||||
|
|
||||||
|
// Find the distance between the current one and the last one
|
||||||
|
$distance = $matches[$scanpos][1] - $matches[$scanpos - 1][1];
|
||||||
|
|
||||||
|
// Store it if the distance is below the threshold
|
||||||
|
if($distance < $settings->search_characters_context)
|
||||||
|
$group[] = $matches[$scanpos];
|
||||||
|
else
|
||||||
|
break;
|
||||||
|
|
||||||
|
$scanpos++;
|
||||||
|
}
|
||||||
|
|
||||||
|
$context_start = $group[0][1] - $settings->search_characters_context;
|
||||||
|
$context_end = $group[count($group) - 1][1] + $settings->search_characters_context;
|
||||||
|
|
||||||
|
if($context_start < 0) $context_start = 0;
|
||||||
|
if($context_end > $sourceLength) $context_end = $sourceLength;
|
||||||
|
|
||||||
|
//echo("Got context. Start: $context_start, End: $context_end\n");
|
||||||
|
//echo("Group:"); var_dump($group);
|
||||||
|
|
||||||
|
$context = substr($source, $context_start, $context_end - $context_start);
|
||||||
|
|
||||||
|
// Strip the markdown from the context - it's most likely going to
|
||||||
|
// be broken anyway.
|
||||||
|
//$context = self::strip_markup($context);
|
||||||
|
|
||||||
|
// Escape special characters to protect against attacks
|
||||||
|
$context = htmlentities($context);
|
||||||
|
|
||||||
|
$contexts[] = $context;
|
||||||
|
|
||||||
|
$basepos = $scanpos + 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
return implode(" ... ", $contexts);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static function highlight_context($query, $context)
|
||||||
|
{
|
||||||
|
$qterms = self::tokenize($query);
|
||||||
|
|
||||||
|
foreach($qterms as $qterm)
|
||||||
|
{
|
||||||
|
if(in_array($qterm, static::$stop_words))
|
||||||
|
continue;
|
||||||
|
// From http://stackoverflow.com/a/2483859/1460422
|
||||||
|
$context = preg_replace("/" . str_replace("/", "\/", preg_quote($qterm)) . "/i", "<strong class='search-term-highlight'>$0</strong>", $context);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $context;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
229
docs/ModuleApi/files/modules/feature-stats.php.txt
Normal file
229
docs/ModuleApi/files/modules/feature-stats.php.txt
Normal file
|
@ -0,0 +1,229 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Statistics",
|
||||||
|
"version" => "0.1",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "An extensible statistics calculation system. Comes with a range of built-in statistics, but can be extended by other modules too.",
|
||||||
|
"id" => "feature-stats",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
/**
|
||||||
|
* @api {get|post} ?action=stats-update Recalculate the wiki's statistics
|
||||||
|
* @apiName UpdateStats
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Administrator
|
||||||
|
*
|
||||||
|
* @apiParam {string} secret POST only, optional. If you're not logged in, you can specify the wiki's sekret (find it in peppermint.json) using this parameter.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ███████ ████████ █████ ████████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ███████ ██ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ██ ██ ███████
|
||||||
|
*/
|
||||||
|
add_action("stats", function() {
|
||||||
|
global $settings, $statistic_calculators;
|
||||||
|
|
||||||
|
$stats = stats_load();
|
||||||
|
|
||||||
|
$content = "<h1>Statistics</h1>";
|
||||||
|
$content .= "<p>This page contains a selection of statistics about $settings->sitename's content. They are updated automatically about every " . trim(str_replace(["ago", "1 "], [""], human_time($settings->stats_update_interval))) . ", although $settings->sitename's local friendly moderators may update it earlier (you can see their names at the bottom of every page).</p>\n";
|
||||||
|
$stat_scalar_values = [];
|
||||||
|
$stat_contents = [];
|
||||||
|
foreach($statistic_calculators as $stat_id => $stat_calculator) {
|
||||||
|
if(!empty($stat_calculator["render"]))
|
||||||
|
$stat_contents[$stat_calculator["name"]] = $stat_calculator["render"]($stats->$stat_id);
|
||||||
|
else
|
||||||
|
$stat_scalar_values[$stat_calculator["name"]] = $stats->$stat_id->value;
|
||||||
|
}
|
||||||
|
|
||||||
|
$content .= "<table class='stats-table'>\n";
|
||||||
|
$content .= "\t<tr><th>Statistic</th><th>Value</th></tr>\n\n";
|
||||||
|
foreach($stat_scalar_values as $scalar_name => $scalar_value) {
|
||||||
|
$content .= "\t<tr><td>$scalar_name</td><td>$scalar_value</td></tr>\n";
|
||||||
|
}
|
||||||
|
$content .= "</table>\n";
|
||||||
|
|
||||||
|
foreach($stat_contents as $stat_content_part)
|
||||||
|
$content .= "$stat_content_part\n";
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("Statistics - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ███████ ████████ █████ ████████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ███████ ██ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ██ ██ ███████
|
||||||
|
*
|
||||||
|
* ██ ██ ██████ ██████ █████ ████████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██████ ██ ██ ███████ ██ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██ ██████ ██ ██ ██ ███████
|
||||||
|
*/
|
||||||
|
add_action("stats-update", function() {
|
||||||
|
global $env, $paths, $settings;
|
||||||
|
|
||||||
|
|
||||||
|
if(!$env->is_admin &&
|
||||||
|
(
|
||||||
|
empty($_POST["secret"]) ||
|
||||||
|
$_POST["secret"] !== $settings->secret
|
||||||
|
)
|
||||||
|
)
|
||||||
|
exit(page_renderer::render_main("Error - Recalculating Statistics - $settings->sitename", "<p>You need to be logged in as a moderator or better to get $settings->sitename to recalculate it's statistics. If you're logged in, try <a href='?action=logout'>logging out</a> and logging in again as a moderator. If you aren't logged in, try <a href='?action=login&returnto=%3Faction%3Dstats-update'>logging in</a>.</p>"));
|
||||||
|
|
||||||
|
// Delete the old stats cache
|
||||||
|
unlink($paths->statsindex);
|
||||||
|
|
||||||
|
update_statistics(true);
|
||||||
|
header("content-type: application/json");
|
||||||
|
echo(file_get_contents($paths->statsindex) . "\n");
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("150-statistics", "Statistics", "<p></p>");
|
||||||
|
|
||||||
|
//////////////////////////
|
||||||
|
/// Built-in Statisics ///
|
||||||
|
//////////////////////////
|
||||||
|
|
||||||
|
// The longest pages
|
||||||
|
statistic_add([
|
||||||
|
"id" => "longest-pages",
|
||||||
|
"name" => "Longest Pages",
|
||||||
|
"update" => function($old_stats) {
|
||||||
|
global $pageindex;
|
||||||
|
|
||||||
|
$result = new stdClass(); // completed, value, state
|
||||||
|
$pages = [];
|
||||||
|
foreach($pageindex as $pagename => $pagedata) {
|
||||||
|
$pages[$pagename] = $pagedata->size;
|
||||||
|
}
|
||||||
|
arsort($pages);
|
||||||
|
|
||||||
|
$result->value = $pages;
|
||||||
|
$result->completed = true;
|
||||||
|
return $result;
|
||||||
|
},
|
||||||
|
"render" => function($stats_data) {
|
||||||
|
$result = "<h2>$stats_data->name</h2>\n";
|
||||||
|
$result .= "<ol class='stats-list longest-pages-list'>\n";
|
||||||
|
$i = 0;
|
||||||
|
foreach($stats_data->value as $pagename => $page_length) {
|
||||||
|
$result .= "\t<li class='stats-item long-page'>$pagename <em>(" . human_filesize($page_length) . ")</em></li>\n";
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
$result .= "</ol>\n";
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
statistic_add([
|
||||||
|
"id" => "page_count",
|
||||||
|
"name" => "Page Count",
|
||||||
|
"update" => function($old_stats) {
|
||||||
|
global $pageindex;
|
||||||
|
|
||||||
|
$result = new stdClass(); // completed, value, state
|
||||||
|
$result->completed = true;
|
||||||
|
$result->value = count(get_object_vars($pageindex));
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
statistic_add([
|
||||||
|
"id" => "file_count",
|
||||||
|
"name" => "File Count",
|
||||||
|
"update" => function($old_stats) {
|
||||||
|
global $pageindex;
|
||||||
|
|
||||||
|
$result = new stdClass(); // completed, value, state
|
||||||
|
$result->completed = true;
|
||||||
|
$result->value = 0;
|
||||||
|
foreach($pageindex as $pagename => $pagedata) {
|
||||||
|
if(!empty($pagedata->uploadedfile) && $pagedata->uploadedfile)
|
||||||
|
$result->value++;
|
||||||
|
}
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
// Perform an automatic recalculation of the statistics if needed
|
||||||
|
update_statistics(false);
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
function update_statistics($update_all = false)
|
||||||
|
{
|
||||||
|
global $settings, $statistic_calculators;
|
||||||
|
|
||||||
|
$stats = stats_load();
|
||||||
|
|
||||||
|
$start_time = microtime(true);
|
||||||
|
$stats_updated = 0;
|
||||||
|
foreach($statistic_calculators as $stat_id => $stat_calculator)
|
||||||
|
{
|
||||||
|
// If statistic doesn't exist or it's out of date then we should recalculate it.
|
||||||
|
// Otherwise, leave it and continue on to the next stat.
|
||||||
|
if(!empty($stats->$stat_id) && $start_time - $stats->$stat_id->lastupdated < $settings->stats_update_interval)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
$mod_start_time = microtime(true);
|
||||||
|
|
||||||
|
// Run the statistic calculator, passing in the existing stats data
|
||||||
|
$calculated = $stat_calculator["update"](!empty($stats->$stat_id) ? $stats->$stat_id : new stdClass());
|
||||||
|
|
||||||
|
$new_stat_data = new stdClass();
|
||||||
|
$new_stat_data->id = $stat_id;
|
||||||
|
$new_stat_data->name = $stat_calculator["name"];
|
||||||
|
$new_stat_data->lastupdated = $calculated->completed ? $mod_start_time : $stats->$stat_id->lastupdated;
|
||||||
|
$new_stat_data->value = $calculated->value;
|
||||||
|
if(!empty($calculated->state))
|
||||||
|
$new_stat_data->state = $calculated->state;
|
||||||
|
|
||||||
|
// Save the new statistics
|
||||||
|
$stats->$stat_id = $new_stat_data;
|
||||||
|
|
||||||
|
$stats_updated++;
|
||||||
|
|
||||||
|
if(!$update_all && microtime(true) - $start_time >= $settings->stats_update_processingtime)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
header("x-stats-recalculated: $stats_updated");
|
||||||
|
//round((microtime(true) - $pageindex_read_start)*1000, 3)
|
||||||
|
header("x-stats-calctime: " . round((microtime(true) - $start_time)*1000, 3) . "ms");
|
||||||
|
|
||||||
|
stats_save($stats);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Loads and returns the statistics cache file.
|
||||||
|
* @package feature-stats
|
||||||
|
* @return object The loaded & decoded statistics.
|
||||||
|
*/
|
||||||
|
function stats_load()
|
||||||
|
{
|
||||||
|
global $paths;
|
||||||
|
static $stats = null;
|
||||||
|
if($stats == null)
|
||||||
|
$stats = file_exists($paths->statsindex) ? json_decode(file_get_contents($paths->statsindex)) : new stdClass();
|
||||||
|
return $stats;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Saves the statistics back to disk.
|
||||||
|
* @package feature-stats
|
||||||
|
* @param object The statistics cache to save.
|
||||||
|
* @return bool Whether saving succeeded or not.
|
||||||
|
*/
|
||||||
|
function stats_save($stats)
|
||||||
|
{
|
||||||
|
global $paths;
|
||||||
|
return file_put_contents($paths->statsindex, json_encode($stats, JSON_PRETTY_PRINT) . "\n");
|
||||||
|
}
|
||||||
|
|
663
docs/ModuleApi/files/modules/feature-upload.php.txt
Normal file
663
docs/ModuleApi/files/modules/feature-upload.php.txt
Normal file
|
@ -0,0 +1,663 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Uploader",
|
||||||
|
"version" => "0.5.11",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File/' prefix.",
|
||||||
|
"id" => "feature-upload",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=upload[&avatar=yes] Get a page to let you upload a file.
|
||||||
|
* @apiName UploadFilePage
|
||||||
|
* @apiGroup Upload
|
||||||
|
* @apiPermission User
|
||||||
|
*
|
||||||
|
* @apiParam {boolean} avatar Optional. If true then a special page to upload your avatar is displayed instead.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=upload Upload a file
|
||||||
|
* @apiName UploadFile
|
||||||
|
* @apiGroup Upload
|
||||||
|
* @apiPermission User
|
||||||
|
*
|
||||||
|
* @apiParam {string} name The name of the file to upload.
|
||||||
|
* @apiParam {string} description A description of the file.
|
||||||
|
* @apiParam {file} file The file to upload.
|
||||||
|
* @apiParam {boolean} avatar Whether this upload should be uploaded as the current user's avatar. If specified, any filenames provided will be ignored.
|
||||||
|
*
|
||||||
|
* @apiUse UserNotLoggedInError
|
||||||
|
* @apiError UploadsDisabledError Uploads are currently disabled in the wiki's settings.
|
||||||
|
* @apiError UnknownFileTypeError The type of the file you uploaded is not currently allowed in the wiki's settings.
|
||||||
|
* @apiError ImageDimensionsFiledError PeppermintyWiki couldn't obtain the dimensions of the image you uploaded.
|
||||||
|
* @apiError DangerousFileError The file uploaded appears to be dangerous.
|
||||||
|
* @apiError DuplicateFileError The filename specified is a duplicate of a file that already exists.
|
||||||
|
* @apiError FileTamperedError Pepperminty Wiki couldn't verify that the file wasn't tampered with during theupload process.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ ██████ ██ ██████ █████ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██████ ██ ██ ██ ███████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██ ███████ ██████ ██ ██ ██████
|
||||||
|
*/
|
||||||
|
add_action("upload", function() {
|
||||||
|
global $settings, $env, $pageindex, $paths;
|
||||||
|
|
||||||
|
$is_avatar = !empty($_POST["avatar"]) || !empty($_GET["avatar"]);
|
||||||
|
|
||||||
|
switch($_SERVER["REQUEST_METHOD"])
|
||||||
|
{
|
||||||
|
case "GET":
|
||||||
|
// Send upload page
|
||||||
|
|
||||||
|
if(!$settings->upload_enabled)
|
||||||
|
exit(page_renderer::render("Upload Disabled - $setting->sitename", "<p>You can't upload anything at the moment because $settings->sitename has uploads disabled. Try contacting $settings->admindetails_name, your site Administrator. <a href='javascript:history.back();'>Go back</a>.</p>"));
|
||||||
|
if(!$env->is_logged_in)
|
||||||
|
exit(page_renderer::render("Upload Error - $settings->sitename", "<p>You are not currently logged in, so you can't upload anything.</p>
|
||||||
|
<p>Try <a href='?action=login&returnto=" . rawurlencode("?action=upload") . "'>logging in</a> first.</p>"));
|
||||||
|
|
||||||
|
if($is_avatar) {
|
||||||
|
exit(page_renderer::render("Upload avatar - $settings->sitename", "<h1>Upload avatar</h1>
|
||||||
|
<p>Select an image below, and then press upload. $settings->sitename currently supports the following file types (though not all of them may be suitable for an avatar): " . implode(", ", $settings->upload_allowed_file_types) . "</p>
|
||||||
|
<form method='post' action='?action=upload' enctype='multipart/form-data'>
|
||||||
|
<label for='file'>Select a file to upload.</label>
|
||||||
|
<input type='file' name='file' id='file-upload-selector' tabindex='1' />
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<p class='editing_message'>$settings->editing_message</p>
|
||||||
|
<input type='hidden' name='avatar' value='yes' />
|
||||||
|
<input type='submit' value='Upload' tabindex='20' />
|
||||||
|
</form>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
exit(page_renderer::render("Upload - $settings->sitename", "<h1>Upload file</h1>
|
||||||
|
<p>Select an image or file below, and then type a name for it in the box. This server currently supports uploads up to " . human_filesize(get_max_upload_size()) . " in size.</p>
|
||||||
|
<p>$settings->sitename currently supports uploading of the following file types: " . implode(", ", $settings->upload_allowed_file_types) . ".</p>
|
||||||
|
<form method='post' action='?action=upload' enctype='multipart/form-data'>
|
||||||
|
<label for='file-upload-selector'>Select a file to upload.</label>
|
||||||
|
<input type='file' name='file' id='file-upload-selector' tabindex='1' />
|
||||||
|
<br />
|
||||||
|
<label for='file-upload-name'>Name:</label>
|
||||||
|
<input type='text' name='name' id='file-upload-name' tabindex='5' />
|
||||||
|
<br />
|
||||||
|
<label for='description'>Description:</label>
|
||||||
|
<textarea name='description' tabindex='10'></textarea>
|
||||||
|
<p class='editing_message'>$settings->editing_message</p>
|
||||||
|
<input type='submit' value='Upload' tabindex='20' />
|
||||||
|
</form>
|
||||||
|
<script>
|
||||||
|
document.getElementById('file-upload-selector').addEventListener('change', function(event) {
|
||||||
|
var newName = event.target.value.substring(event.target.value.lastIndexOf(\"\\\\\") + 1, event.target.value.lastIndexOf(\".\"));
|
||||||
|
console.log('Changing content of name box to:', newName);
|
||||||
|
document.getElementById('file-upload-name').value = newName;
|
||||||
|
});
|
||||||
|
</script>"));
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "POST":
|
||||||
|
// Recieve file
|
||||||
|
|
||||||
|
// Make sure uploads are enabled
|
||||||
|
if(!$settings->upload_enabled)
|
||||||
|
{
|
||||||
|
if(!empty($_FILES["file"]))
|
||||||
|
unlink($_FILES["file"]["tmp_name"]);
|
||||||
|
http_response_code(412);
|
||||||
|
exit(page_renderer::render("Upload failed - $settings->sitename", "<p>Your upload couldn't be processed because uploads are currently disabled on $settings->sitename. <a href='index.php'>Go back to the main page</a>.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make sure that the user is logged in
|
||||||
|
if(!$env->is_logged_in)
|
||||||
|
{
|
||||||
|
if(!empty($_FILES["file"]))
|
||||||
|
unlink($_FILES["file"]["tmp_name"]);
|
||||||
|
http_response_code(401);
|
||||||
|
exit(page_renderer::render("Upload failed - $settings->sitename", "<p>Your upload couldn't be processed because you are not logged in.</p><p>Try <a href='?action=login&returnto=" . rawurlencode("?action=upload") . "'>logging in</a> first."));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check for php upload errors
|
||||||
|
if($_FILES["file"]["error"] > 0)
|
||||||
|
{
|
||||||
|
if(!empty($_FILES["file"]))
|
||||||
|
unlink($_FILES["file"]["tmp_name"]);
|
||||||
|
if($_FILES["file"]["error"] == 1 || $_FILES["file"]["error"] == 2)
|
||||||
|
http_response_code(413); // file is too large
|
||||||
|
else
|
||||||
|
http_response_code(500); // something else went wrong
|
||||||
|
exit(page_renderer::render("Upload failed - $settings->sitename", "<p>Your upload couldn't be processed because " . (($_FILES["file"]["error"] == 1 || $_FILES["file"]["error"] == 2) ? "the file is too large" : "an error occurred") . ".</p><p>Please contact $settings->admindetails_name, $settings->sitename's administrator for help.</p>"));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Calculate the target name, removing any characters we
|
||||||
|
// are unsure about.
|
||||||
|
$target_name = makepathsafe($_POST["name"] ?? "Users/$env->user/Avatar");
|
||||||
|
$temp_filename = $_FILES["file"]["tmp_name"];
|
||||||
|
|
||||||
|
$mimechecker = finfo_open(FILEINFO_MIME_TYPE);
|
||||||
|
$mime_type = finfo_file($mimechecker, $temp_filename);
|
||||||
|
finfo_close($mimechecker);
|
||||||
|
|
||||||
|
if(!in_array($mime_type, $settings->upload_allowed_file_types))
|
||||||
|
{
|
||||||
|
http_response_code(415);
|
||||||
|
exit(page_renderer::render("Unknown file type - Upload error - $settings->sitename", "<p>$settings->sitename recieved the file you tried to upload successfully, but detected that the type of file you uploaded is not in the allowed file types list. The file has been discarded.</p>
|
||||||
|
<p>The file you tried to upload appeared to be of type <code>$mime_type</code>, but $settings->sitename currently only allows the uploading of the following file types: <code>" . implode("</code>, <code>", $settings->upload_allowed_file_types) . "</code>.</p>
|
||||||
|
<p><a href='?action=$settings->defaultaction'>Go back</a> to the Main Page.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Perform appropriate checks based on the *real* filetype
|
||||||
|
if($is_avatar && substr($mime_type, 0, strpos($mime_type, "/")) !== "image") {
|
||||||
|
http_response_code(415);
|
||||||
|
exit(page_renderer::render_main("Error uploading avatar - $settings->sitename", "<p>That file appears to be unsuitable as an avatar, as $settings->sitename has detected it to be of type <code>$mime_type</code>, which doesn't appear to be an image. Please try <a href='?action=upload&avatar=yes'>uploading a different file</a> to use as your avatar.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
switch(substr($mime_type, 0, strpos($mime_type, "/")))
|
||||||
|
{
|
||||||
|
case "image":
|
||||||
|
$extra_data = [];
|
||||||
|
// Check SVG uploads with a special function
|
||||||
|
$imagesize = $mime_type !== "image/svg+xml" ? getimagesize($temp_filename, $extra_data) : upload_check_svg($temp_filename);
|
||||||
|
|
||||||
|
// Make sure that the image size is defined
|
||||||
|
if(!is_int($imagesize[0]) or !is_int($imagesize[1]))
|
||||||
|
{
|
||||||
|
http_response_code(415);
|
||||||
|
exit(page_renderer::render("Upload Error - $settings->sitename", "<p>Although the file that you uploaded appears to be an image, $settings->sitename has been unable to determine it's dimensions. The uploaded file has been discarded. <a href='?action=upload'>Go back to try again</a>.</p>
|
||||||
|
<p>You may wish to consider <a href='https://github.com/sbrl/Pepperminty-Wiki'>opening an issue</a> against Pepperminty Wiki (the software that powers $settings->sitename) if this isn't the first time that you have seen this message.</p>"));
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
$file_extension = system_mime_type_extension($mime_type);
|
||||||
|
|
||||||
|
// Override the detected file extension if a file extension
|
||||||
|
// is explicitly specified in the settings
|
||||||
|
if(isset($settings->mime_mappings_overrides->$mime_type))
|
||||||
|
$file_extension = $settings->mime_mappings_overrides->$mime_type;
|
||||||
|
|
||||||
|
if(in_array($file_extension, [ "php", ".htaccess", "asp", "aspx" ]))
|
||||||
|
{
|
||||||
|
http_response_code(415);
|
||||||
|
exit(page_renderer::render("Upload Error - $settings->sitename", "<p>The file you uploaded appears to be dangerous and has been discarded. Please contact $settings->sitename's administrator for assistance.</p>
|
||||||
|
<p>Additional information: The file uploaded appeared to be of type <code>$mime_type</code>, which mapped onto the extension <code>$file_extension</code>. This file extension has the potential to be executed accidentally by the web server.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Rewrite the name to include the _actual_ file extension we've cleverly calculated :D
|
||||||
|
|
||||||
|
// The path to the place (relative to the wiki data root)
|
||||||
|
// that we're actually going to store the uploaded file itself
|
||||||
|
$new_filename = "$paths->upload_file_prefix$target_name.$file_extension";
|
||||||
|
// The path (relative, as before) to the description file
|
||||||
|
$new_description_filename = "$new_filename.md";
|
||||||
|
|
||||||
|
// The page path that the new file will be stored under
|
||||||
|
$new_pagepath = $new_filename;
|
||||||
|
|
||||||
|
// Rewrite the paths to store avatars in the right place
|
||||||
|
if($is_avatar) {
|
||||||
|
$new_pagepath = $target_name;
|
||||||
|
$new_filename = "$target_name.$file_extension";
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($pageindex->$new_pagepath) && !$is_avatar)
|
||||||
|
exit(page_renderer::render("Upload Error - $settings->sitename", "<p>A page or file has already been uploaded with the name '$new_filename'. Try deleting it first. If you do not have permission to delete things, try contacting one of the moderators.</p>"));
|
||||||
|
|
||||||
|
// Delete the previously uploaded avatar, if it exists
|
||||||
|
// In the future we _may_ not need this once we have
|
||||||
|
// file history online.
|
||||||
|
if($is_avatar && isset($pageindex->$new_pagepath) && $pageindex->$new_pagepath->uploadedfile)
|
||||||
|
unlink($pageindex->$new_pagepath->uploadedfilepath);
|
||||||
|
|
||||||
|
// Make sure that the palce we're uploading to exists
|
||||||
|
if(!file_exists(dirname($env->storage_prefix . $new_filename)))
|
||||||
|
mkdir(dirname($env->storage_prefix . $new_filename), 0775, true);
|
||||||
|
|
||||||
|
if(!move_uploaded_file($temp_filename, $env->storage_prefix . $new_filename))
|
||||||
|
{
|
||||||
|
http_response_code(409);
|
||||||
|
exit(page_renderer::render("Upload Error - $settings->sitename", "<p>The file you uploaded was valid, but $settings->sitename couldn't verify that it was tampered with during the upload process. This probably means that either is a configuration error, or that $settings->sitename has been attacked. Please contact " . $settings->admindetails_name . ", your $settings->sitename Administrator.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
$description = $_POST["description"] ?? "_(No description provided)_\n";
|
||||||
|
|
||||||
|
// Escape the raw html in the provided description if the setting is enabled
|
||||||
|
if($settings->clean_raw_html)
|
||||||
|
$description = htmlentities($description, ENT_QUOTES);
|
||||||
|
|
||||||
|
file_put_contents($env->storage_prefix . $new_description_filename, $description);
|
||||||
|
|
||||||
|
// Construct a new entry for the pageindex
|
||||||
|
$entry = new stdClass();
|
||||||
|
// Point to the description's filepath since this property
|
||||||
|
// should point to a markdown file
|
||||||
|
$entry->filename = $new_description_filename;
|
||||||
|
$entry->size = strlen($description ?? "(No description provided)");
|
||||||
|
$entry->lastmodified = time();
|
||||||
|
$entry->lasteditor = $env->user;
|
||||||
|
$entry->uploadedfile = true;
|
||||||
|
$entry->uploadedfilepath = $new_filename;
|
||||||
|
$entry->uploadedfilemime = $mime_type;
|
||||||
|
// Add the new entry to the pageindex
|
||||||
|
// Assign the new entry to the image's filepath as that
|
||||||
|
// should be the page name.
|
||||||
|
$pageindex->$new_pagepath = $entry;
|
||||||
|
|
||||||
|
// Generate a revision to keep the page history up to date
|
||||||
|
if(module_exists("feature-history"))
|
||||||
|
{
|
||||||
|
$oldsource = ""; // Only variables can be passed by reference, not literals
|
||||||
|
history_add_revision($entry, $description, $oldsource, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Save the pageindex
|
||||||
|
file_put_contents($paths->pageindex, json_encode($pageindex, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
|
if(module_exists("feature-recent-changes"))
|
||||||
|
{
|
||||||
|
add_recent_change([
|
||||||
|
"type" => "upload",
|
||||||
|
"timestamp" => time(),
|
||||||
|
"page" => $new_pagepath,
|
||||||
|
"user" => $env->user,
|
||||||
|
"filesize" => filesize($env->storage_prefix . $entry->uploadedfilepath)
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
header("location: ?action=view&page=$new_pagepath&upload=success");
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=preview&page={pageName}[&size={someSize}] Get a preview of a file
|
||||||
|
* @apiName PreviewFile
|
||||||
|
* @apiGroup Upload
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} page The name of the file to preview.
|
||||||
|
* @apiParam {number} size Optional. The size fo the resulting preview. Will be clamped to fit within the bounds specified in the wiki's settings. May also be set to the keyword 'original', which will cause the original file to be returned with it's appropriate mime type instead.
|
||||||
|
*
|
||||||
|
* @apiError PreviewNoFileError No file was found associated with the specified page.
|
||||||
|
* @apiError PreviewUnknownFileTypeError Pepperminty Wiki was unable to generate a preview for the requested file's type.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██████ ███████ ██ ██ ██ ███████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██████ █████ ██ ██ ██ █████ ██ █ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██
|
||||||
|
* ██ ██ ██ ███████ ████ ██ ███████ ███ ███
|
||||||
|
*/
|
||||||
|
add_action("preview", function() {
|
||||||
|
global $settings, $env, $pageindex, $start_time;
|
||||||
|
|
||||||
|
if(empty($pageindex->{$env->page}->uploadedfilepath))
|
||||||
|
{
|
||||||
|
$im = errorimage("The page '$env->page' doesn't have an associated file.");
|
||||||
|
header("content-type: image/png");
|
||||||
|
imagepng($im);
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
|
$filepath = realpath($env->storage_prefix . $pageindex->{$env->page}->uploadedfilepath);
|
||||||
|
$mime_type = $pageindex->{$env->page}->uploadedfilemime;
|
||||||
|
$shortFilename = substr($filepath, 1 + (strrpos($filepath, '/') !== false ? strrpos($filepath, '/') : -1));
|
||||||
|
|
||||||
|
header("content-disposition: inline; filename=\"$shortFilename\"");
|
||||||
|
header("last-modified: " . gmdate('D, d M Y H:i:s T', $pageindex->{$env->page}->lastmodified));
|
||||||
|
|
||||||
|
// If the size is set or original, then send (or redirect to) the original image
|
||||||
|
// Also do the same for SVGs if svg rendering is disabled.
|
||||||
|
if(isset($_GET["size"]) and $_GET["size"] == "original" or
|
||||||
|
(empty($settings->render_svg_previews) && $mime_type == "image/svg+xml"))
|
||||||
|
{
|
||||||
|
// Get the file size
|
||||||
|
$filesize = filesize($filepath);
|
||||||
|
|
||||||
|
// Send some headers
|
||||||
|
header("content-length: $filesize");
|
||||||
|
header("content-type: $mime_type");
|
||||||
|
|
||||||
|
// Open the file and send it to the user
|
||||||
|
$handle = fopen($filepath, "rb");
|
||||||
|
fpassthru($handle);
|
||||||
|
fclose($handle);
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Determine the target size of the image
|
||||||
|
$target_size = 512;
|
||||||
|
if(isset($_GET["size"]))
|
||||||
|
$target_size = intval($_GET["size"]);
|
||||||
|
if($target_size < $settings->min_preview_size)
|
||||||
|
$target_size = $settings->min_preview_size;
|
||||||
|
if($target_size > $settings->max_preview_size)
|
||||||
|
$target_size = $settings->max_preview_size;
|
||||||
|
|
||||||
|
// Determine the output file type
|
||||||
|
$output_mime = $settings->preview_file_type;
|
||||||
|
if(isset($_GET["type"]) and in_array($_GET["type"], [ "image/png", "image/jpeg", "image/webp" ]))
|
||||||
|
$output_mime = $_GET["type"];
|
||||||
|
|
||||||
|
/// ETag handling ///
|
||||||
|
// Generate the etag and send it to the client
|
||||||
|
$preview_etag = sha1("$output_mime|$target_size|$filepath|$mime_type");
|
||||||
|
$allheaders = getallheaders();
|
||||||
|
$allheaders = array_change_key_case($allheaders, CASE_LOWER);
|
||||||
|
if(!isset($allheaders["if-none-match"]))
|
||||||
|
{
|
||||||
|
header("etag: $preview_etag");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if($allheaders["if-none-match"] === $preview_etag)
|
||||||
|
{
|
||||||
|
http_response_code(304);
|
||||||
|
header("x-generation-time: " . (microtime(true) - $start_time));
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// ETag handling end ///
|
||||||
|
|
||||||
|
/* Disabled until we work out what to do about caching previews *
|
||||||
|
$previewFilename = "$filepath.preview.$outputFormat";
|
||||||
|
if($target_size === $settings->default_preview_size)
|
||||||
|
{
|
||||||
|
// The request is for the default preview size
|
||||||
|
// Check to see if we have a preview pre-rendered
|
||||||
|
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
$preview = new Imagick();
|
||||||
|
switch(substr($mime_type, 0, strpos($mime_type, "/")))
|
||||||
|
{
|
||||||
|
case "image":
|
||||||
|
$preview->readImage($filepath);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "application":
|
||||||
|
if($mime_type == "application/pdf")
|
||||||
|
{
|
||||||
|
$preview = new imagick();
|
||||||
|
$preview->readImage("{$filepath}[0]");
|
||||||
|
$preview->setResolution(300,300);
|
||||||
|
$preview->setImageColorspace(255);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case "video":
|
||||||
|
case "audio":
|
||||||
|
if($settings->data_storage_dir == ".")
|
||||||
|
{
|
||||||
|
// The data storage directory is the current directory
|
||||||
|
// Redirect to the file isntead
|
||||||
|
http_response_code(307);
|
||||||
|
header("location: " . $pageindex->{$env->page}->uploadedfilepath);
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
// TODO: Add support for ranges here.
|
||||||
|
// Get the file size
|
||||||
|
$filesize = filesize($filepath);
|
||||||
|
|
||||||
|
// Send some headers
|
||||||
|
header("content-length: $filesize");
|
||||||
|
header("content-type: $mime_type");
|
||||||
|
|
||||||
|
// Open the file and send it to the user
|
||||||
|
$handle = fopen($filepath, "rb");
|
||||||
|
fpassthru($handle);
|
||||||
|
fclose($handle);
|
||||||
|
exit();
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
http_response_code(501);
|
||||||
|
$preview = errorimage("Unrecognised file type '$mime_type'.", $target_size);
|
||||||
|
header("content-type: image/png");
|
||||||
|
imagepng($preview);
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Scale the image down to the target size
|
||||||
|
$preview->resizeImage($target_size, $target_size, imagick::FILTER_LANCZOS, 1, true);
|
||||||
|
|
||||||
|
// Send the completed preview image to the user
|
||||||
|
header("content-type: $output_mime");
|
||||||
|
header("x-generation-time: " . (microtime(true) - $start_time) . "s");
|
||||||
|
$outputFormat = substr($output_mime, strpos($output_mime, "/") + 1);
|
||||||
|
$preview->setImageFormat($outputFormat);
|
||||||
|
echo($preview->getImageBlob());
|
||||||
|
/* Disabled while we work out what to do about caching previews *
|
||||||
|
// Save a preview file if there isn't one alreaddy
|
||||||
|
if(!file_exists($previewFilename))
|
||||||
|
file_put_contents($previewFilename, $preview->getImageBlob());
|
||||||
|
*/
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██████ ███████ ██ ██ ██ ███████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██████ █████ ██ ██ ██ █████ ██ █ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██
|
||||||
|
* ██ ██ ██ ███████ ████ ██ ███████ ███ ███
|
||||||
|
*
|
||||||
|
* ██████ ██ ███████ ██████ ██ █████ ██ ██ ███████ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ███████ ██████ ██ ███████ ████ █████ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██ ███████ ██ ███████ ██ ██ ██ ███████ ██ ██
|
||||||
|
*/
|
||||||
|
page_renderer::register_part_preprocessor(function(&$parts) {
|
||||||
|
global $pageindex, $env, $settings;
|
||||||
|
// Don't do anything if the action isn't view
|
||||||
|
if($env->action !== "view")
|
||||||
|
return;
|
||||||
|
|
||||||
|
if(isset($pageindex->{$env->page}->uploadedfile) and $pageindex->{$env->page}->uploadedfile == true)
|
||||||
|
{
|
||||||
|
// We are looking at a page that is paired with an uploaded file
|
||||||
|
$filepath = $pageindex->{$env->page}->uploadedfilepath;
|
||||||
|
$mime_type = $pageindex->{$env->page}->uploadedfilemime;
|
||||||
|
$dimensions = $mime_type !== "image/svg+xml" ? getimagesize($env->storage_prefix . $filepath) : getsvgsize($env->storage_prefix . $filepath);
|
||||||
|
$fileTypeDisplay = substr($mime_type, 0, strpos($mime_type, "/"));
|
||||||
|
$previewUrl = "?action=preview&size=$settings->default_preview_size&page=" . rawurlencode($env->page);
|
||||||
|
|
||||||
|
$preview_html = "";
|
||||||
|
switch($fileTypeDisplay)
|
||||||
|
{
|
||||||
|
case "application":
|
||||||
|
case "image":
|
||||||
|
if($mime_type == "application/pdf")
|
||||||
|
$fileTypeDisplay = "file";
|
||||||
|
|
||||||
|
$preview_sizes = [ 256, 512, 768, 1024, 1440 ];
|
||||||
|
$preview_html .= "\t\t\t<figure class='preview'>
|
||||||
|
<img src='$previewUrl' />
|
||||||
|
<nav class='image-controls'>
|
||||||
|
<ul><li><a href='" . ($env->storage_prefix == "./" ? $filepath : "?action=preview&size=original&page=" . rawurlencode($env->page)) . "'>🌄 Original $fileTypeDisplay</a></li>";
|
||||||
|
if($mime_type !== "image/svg+xml")
|
||||||
|
{
|
||||||
|
$preview_html .= "<li>Other Sizes: ";
|
||||||
|
foreach($preview_sizes as $size)
|
||||||
|
$preview_html .= "<a href='?action=preview&page=" . rawurlencode($env->page) . "&size=$size'>$size" . "px</a> ";
|
||||||
|
$preview_html .= "</li>";
|
||||||
|
}
|
||||||
|
$preview_html .= "</ul></nav>\n\t\t\t</figure>";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "video":
|
||||||
|
$preview_html .= "\t\t\t<figure class='preview'>
|
||||||
|
<video src='$previewUrl' controls preload='metadata'>Your browser doesn't support HTML5 video, but you can still <a href='$previewUrl'>download it</a> if you'd like.</video>
|
||||||
|
</figure>";
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "audio":
|
||||||
|
$preview_html .= "\t\t\t<figure class='preview'>
|
||||||
|
<audio src='$previewUrl' controls preload='metadata'>Your browser doesn't support HTML5 audio, but you can still <a href='$previewUrl'>download it</a> if you'd like.</audio>
|
||||||
|
</figure>";
|
||||||
|
}
|
||||||
|
|
||||||
|
$fileInfo = [];
|
||||||
|
$fileInfo["Name"] = str_replace("File/", "", $filepath);
|
||||||
|
$fileInfo["Type"] = $mime_type;
|
||||||
|
$fileInfo["Size"] = human_filesize(filesize($env->storage_prefix . $filepath));
|
||||||
|
switch($fileTypeDisplay)
|
||||||
|
{
|
||||||
|
case "image":
|
||||||
|
$dimensionsKey = $mime_type !== "image/svg+xml" ? "Original dimensions" : "Native size";
|
||||||
|
$fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
$fileInfo["Uploaded by"] = $pageindex->{$env->page}->lasteditor;
|
||||||
|
|
||||||
|
$preview_html .= "\t\t\t<h2>File Information</h2>
|
||||||
|
<table>";
|
||||||
|
foreach ($fileInfo as $displayName => $displayValue)
|
||||||
|
{
|
||||||
|
$preview_html .= "<tr><th>$displayName</th><td>$displayValue</td></tr>\n";
|
||||||
|
}
|
||||||
|
$preview_html .= "</table>";
|
||||||
|
|
||||||
|
$parts["{content}"] = str_replace("</h1>", "</h1>\n$preview_html", $parts["{content}"]);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Register a section on the help page on uploading files
|
||||||
|
add_help_section("28-uploading-files", "Uploading Files", "<p>$settings->sitename supports the uploading of files, though it is up to " . $settings->admindetails_name . ", $settings->sitename's administrator as to whether it is enabled or not (uploads are currently " . (($settings->upload_enabled) ? "enabled" : "disabled") . ").</p>
|
||||||
|
<p>Currently Pepperminty Wiki (the software that $settings->sitename uses) only supports the uploading of images, although more file types should be supported in the future (<a href='//github.com/sbrl/Pepperminty-Wiki/issues'>open an issue on GitHub</a> if you are interested in support for more file types).</p>
|
||||||
|
<p>Uploading a file is actually quite simple. Click the "Upload" option in the "More..." menu to go to the upload page. The upload page will tell you what types of file $settings->sitename allows, and the maximum supported filesize for files that you upload (this is usually set by the web server that the wiki is running on).</p>
|
||||||
|
<p>Use the file chooser to select the file that you want to upload, and then decide on a name for it. Note that the name that you choose should not include the file extension, as this will be determined automatically. Enter a description that will appear on the file's page, and then click upload.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Calculates the actual maximum upload size supported by the server
|
||||||
|
* Returns a file size limit in bytes based on the PHP upload_max_filesize and
|
||||||
|
* post_max_size
|
||||||
|
* @package feature-upload
|
||||||
|
* @author Lifted from Drupal by @meustrus from Stackoverflow
|
||||||
|
* @see http://stackoverflow.com/a/25370978/1460422 Source Stackoverflow answer
|
||||||
|
* @return integer The maximum upload size supported bythe server, in bytes.
|
||||||
|
*/
|
||||||
|
function get_max_upload_size()
|
||||||
|
{
|
||||||
|
static $max_size = -1;
|
||||||
|
if ($max_size < 0) {
|
||||||
|
// Start with post_max_size.
|
||||||
|
$max_size = parse_size(ini_get('post_max_size'));
|
||||||
|
// If upload_max_size is less, then reduce. Except if upload_max_size is
|
||||||
|
// zero, which indicates no limit.
|
||||||
|
$upload_max = parse_size(ini_get('upload_max_filesize'));
|
||||||
|
if ($upload_max > 0 && $upload_max < $max_size) {
|
||||||
|
$max_size = $upload_max;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $max_size;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Parses a PHP size to an integer
|
||||||
|
* @package feature-upload
|
||||||
|
* @author Lifted from Drupal by @meustrus from Stackoverflow
|
||||||
|
* @see http://stackoverflow.com/a/25370978/1460422 Source Stackoverflow answer
|
||||||
|
* @param string $size The size to parse.
|
||||||
|
* @return integer The number of bytees represented by the specified
|
||||||
|
* size string.
|
||||||
|
*/
|
||||||
|
function parse_size($size) {
|
||||||
|
$unit = preg_replace('/[^bkmgtpezy]/i', '', $size); // Remove the non-unit characters from the size.
|
||||||
|
$size = preg_replace('/[^0-9\.]/', '', $size); // Remove the non-numeric characters from the size.
|
||||||
|
if ($unit) {
|
||||||
|
// Find the position of the unit in the ordered string which is the power of magnitude to multiply a kilobyte by.
|
||||||
|
return round($size * pow(1024, stripos('bkmgtpezy', $unit[0])));
|
||||||
|
} else {
|
||||||
|
return round($size);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Checks an uploaded SVG file to make sure it's (at least somewhat) safe.
|
||||||
|
* Sends an error to the client if a problem is found.
|
||||||
|
* @package feature-upload
|
||||||
|
* @param string $temp_filename The filename of the SVG file to check.
|
||||||
|
* @return int[] The size of the SVG image.
|
||||||
|
*/
|
||||||
|
function upload_check_svg($temp_filename)
|
||||||
|
{
|
||||||
|
global $settings;
|
||||||
|
// Check for script tags
|
||||||
|
if(strpos(file_get_contents($temp_filename), "<script") !== false)
|
||||||
|
{
|
||||||
|
http_response_code(415);
|
||||||
|
exit(page_renderer::render("Upload Error - $settings->sitename", "<p>$settings->sitename detected that you uploaded an SVG image and performed some extra security checks on your file. Whilst performing these checks it was discovered that the file you uploaded contains some Javascript, which could be dangerous. The uploaded file has been discarded. <a href='?action=upload'>Go back to try again</a>.</p>
|
||||||
|
<p>You may wish to consider <a href='https://github.com/sbrl/Pepperminty-Wiki'>opening an issue</a> against Pepperminty Wiki (the software that powers $settings->sitename) if this isn't the first time that you have seen this message.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Find and return the size of the SVG image
|
||||||
|
return getsvgsize($temp_filename);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Calculates the size of the specified SVG file.
|
||||||
|
* @package feature-upload
|
||||||
|
* @param string $svgFilename The filename to calculate the size of.
|
||||||
|
* @return int[] The width and height respectively of the
|
||||||
|
* specified SVG file.
|
||||||
|
*/
|
||||||
|
function getsvgsize($svgFilename)
|
||||||
|
{
|
||||||
|
$svg = simplexml_load_file($svgFilename); // Load it as XML
|
||||||
|
if($svg === false)
|
||||||
|
{
|
||||||
|
http_response_code(415);
|
||||||
|
exit(page_renderer::render("Upload Error - $settings->sitename", "<p>When $settings->sitename tried to open your SVG file for checking, it found some invalid syntax. The uploaded file has been discarded. <a href='?action=upload'>Go back to try again</a>.</p>"));
|
||||||
|
}
|
||||||
|
$rootAttrs = $svg->attributes();
|
||||||
|
$imageSize = false;
|
||||||
|
if(isset($rootAttrs->width) and isset($rootAttrs->height))
|
||||||
|
$imageSize = [ intval($rootAttrs->width), intval($rootAttrs->height) ];
|
||||||
|
else if(isset($rootAttrs->viewBox))
|
||||||
|
$imageSize = array_map("intval", array_slice(explode(" ", $rootAttrs->viewBox), -2, 2));
|
||||||
|
|
||||||
|
return $imageSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an images containing the specified text.
|
||||||
|
* Useful for sending errors back to the client.
|
||||||
|
* @package feature-upload
|
||||||
|
* @param string $text The text to include in the image.
|
||||||
|
* @param integer $target_size The target width to aim for when creating
|
||||||
|
* the image.
|
||||||
|
* @return image The handle to the generated GD image.
|
||||||
|
*/
|
||||||
|
function errorimage($text, $target_size = null)
|
||||||
|
{
|
||||||
|
$width = 640;
|
||||||
|
$height = 480;
|
||||||
|
|
||||||
|
if(!empty($target_size))
|
||||||
|
{
|
||||||
|
$width = $target_size;
|
||||||
|
$height = $target_size * (2 / 3);
|
||||||
|
}
|
||||||
|
|
||||||
|
$image = imagecreatetruecolor($width, $height);
|
||||||
|
imagefill($image, 0, 0, imagecolorallocate($image, 238, 232, 242)); // Set the background to #eee8f2
|
||||||
|
$fontwidth = imagefontwidth(3);
|
||||||
|
imagestring($image, 3,
|
||||||
|
($width / 2) - (($fontwidth * strlen($text)) / 2),
|
||||||
|
($height / 2) - (imagefontheight(3) / 2),
|
||||||
|
$text,
|
||||||
|
imagecolorallocate($image, 17, 17, 17) // #111111
|
||||||
|
);
|
||||||
|
|
||||||
|
return $image;
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
233
docs/ModuleApi/files/modules/feature-user-preferences.php.txt
Normal file
233
docs/ModuleApi/files/modules/feature-user-preferences.php.txt
Normal file
|
@ -0,0 +1,233 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "User Preferences",
|
||||||
|
"version" => "0.3.2",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a user preferences page, letting pople do things like change their email address and password.",
|
||||||
|
"id" => "feature-user-preferences",
|
||||||
|
"code" => function() {
|
||||||
|
global $env, $settings;
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=user-preferences Get a user preferences configuration page
|
||||||
|
* @apiName UserPreferences
|
||||||
|
* @apiGroup Settings
|
||||||
|
* @apiPermission User
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ ███████ ███████ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ███████ █████ ██████ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ███████ ███████ ██ ██
|
||||||
|
*
|
||||||
|
* ██████ ██████ ███████ ███████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██████ █████ █████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ███████ ██ ███████
|
||||||
|
*/
|
||||||
|
add_action("user-preferences", function() {
|
||||||
|
global $env, $settings;
|
||||||
|
|
||||||
|
if(!$env->is_logged_in)
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Error - $settings->sitename", "<p>Since you aren't logged in, you can't change your preferences. This is because stored preferences are tied to each registered user account. You can login <a href='?action=login&returnto=" . rawurlencode("?action=user-preferences") . "'>here</a>.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
$statusMessages = [
|
||||||
|
"change-password" => "Password changed successfully!"
|
||||||
|
];
|
||||||
|
|
||||||
|
if(!isset($env->user_data->emailAddress)) {
|
||||||
|
$env->user_data->emailAddress = "";
|
||||||
|
save_userdata();
|
||||||
|
}
|
||||||
|
|
||||||
|
$content = "<h2>User Preferences</h2>\n";
|
||||||
|
if(isset($_GET["success"]) && $_GET["success"] === "yes")
|
||||||
|
{
|
||||||
|
$content .= "<p class='user-prefs-status-message'><em>" . $statusMessages[$_GET["operation"]] . "</em></p>\n";
|
||||||
|
}
|
||||||
|
// If avatar support is present, allow the user to upload a new avatar
|
||||||
|
if(has_action("avatar") && module_exists("feature-upload")) {
|
||||||
|
$content .= "<a href='?action=upload&avatar=yes' class='preview'><figure>\n";
|
||||||
|
$content .= "\t<img class='avatar' src='?action=avatar&user=" . urlencode($env->user) . "&size=256' title='Your current avatar - click to upload a new one' />\n";
|
||||||
|
$content .= "<figcaption>Upload a new avatar</figcaption>\n";
|
||||||
|
$content .= "</figure></a><br />\n";
|
||||||
|
}
|
||||||
|
$content .= "<label for='username'>Username:</label>\n";
|
||||||
|
$content .= "<input type='text' name='username' value='$env->user' readonly />\n";
|
||||||
|
$content .= "<form method='post' action='?action=save-preferences'>\n";
|
||||||
|
$content .= " <label for='email-address'>Email Address:</label>\n";
|
||||||
|
$content .= " <input type='email' id='email-address' name='email-address' placeholder='e.g. bob@bobsrockets.com' value='{$env->user_data->emailAddress}' />\n";
|
||||||
|
$content .= " <p><small>Used to send you notifications etc. Never shared with anyone except $settings->admindetails_name, $settings->sitename's administrator.</small></p>\n";
|
||||||
|
$content .= " <input type='submit' value='Save Preferences' />\n";
|
||||||
|
$content .= "</form>\n";
|
||||||
|
$content .= "<h3>Change Password</h3\n>";
|
||||||
|
$content .= "<form method='post' action='?action=change-password'>\n";
|
||||||
|
$content .= " <label for='old-pass'>Current Password:</label>\n";
|
||||||
|
$content .= " <input type='password' name='current-pass' />\n";
|
||||||
|
$content .= " <br />\n";
|
||||||
|
$content .= " <label for='new-pass'>New Password:</label>\n";
|
||||||
|
$content .= " <input type='password' name='new-pass' />\n";
|
||||||
|
$content .= " <br />\n";
|
||||||
|
$content .= " <label for='new-pass-confirm'>Confirm New Password:</label>\n";
|
||||||
|
$content .= " <input type='password' name='new-pass-confirm' />\n";
|
||||||
|
$content .= " <br />\n";
|
||||||
|
$content .= " <input type='submit' value='Change Password' />\n";
|
||||||
|
$content .= "</form>\n";
|
||||||
|
|
||||||
|
if($env->is_admin)
|
||||||
|
$content .= "<p>As an admin, you can also <a href='?action=configure'>edit $settings->sitename's master settings</a>.</p>\n";
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("User Preferences - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=save-preferences Save your user preferences
|
||||||
|
* @apiName UserPreferencesSave
|
||||||
|
* @apiGroup Settings
|
||||||
|
* @apiPermission User
|
||||||
|
*/
|
||||||
|
add_action("save-preferences", function() {
|
||||||
|
global $env, $settings;
|
||||||
|
|
||||||
|
if(!$env->is_logged_in)
|
||||||
|
{
|
||||||
|
http_response_code(400);
|
||||||
|
exit(page_renderer::render_main("Error Saving Preferences - $settings->sitename", "<p>You aren't logged in, so you can't save your preferences. Try <a href='?action=login&returnto=" . rawurlencode("?action=user-preferences") . "'>logging in</a> first.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($_POST["email-address"]))
|
||||||
|
{
|
||||||
|
if(mb_strlen($_POST["email-address"]) > 320)
|
||||||
|
{
|
||||||
|
http_response_code(413);
|
||||||
|
exit(page_renderer::render_main("Error Saving Email Address - $settings->sitename", "<p>The email address you supplied (<code>{$_POST['email-address']}</code>) is too long. Email addresses can only be 320 characters long. <a href='javascript:window.history.back();'>Go back</a>."));
|
||||||
|
}
|
||||||
|
|
||||||
|
if(mb_strpos($_POST["email-address"], "@") === false)
|
||||||
|
{
|
||||||
|
http_response_code(422);
|
||||||
|
exit(page_renderer::render_main("Error Saving Email Address - $settings->sitename", "<p>The email address you supplied (<code>{$_POST['email-address']}</code>) doesn't appear to be valid. <a href='javascript:window.history.back();'>Go back</a>."));
|
||||||
|
}
|
||||||
|
|
||||||
|
$env->user_data->emailAddress = $_POST["email-address"];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Save the user's preferences
|
||||||
|
if(!save_userdata())
|
||||||
|
{
|
||||||
|
http_response_code(503);
|
||||||
|
exit(page_renderer::render_main("Error Saving Preferences - $settings->sitename", "<p>$settings->sitename had some trouble saving your preferences! Please contact $settings->admindetails_name, $settings->sitename's administrator and tell them about this error if it still occurs in 5 minutes. They can be contacted by email at this address: <a href='mailto:" . hide_email($settings->admindetails_email) . "'>" . hide_email($settings->admindetails_email) . "</a>.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("Preferences Saved Successfully - $settings->sitename", "<p>Your preferences have been saved successfully! You could go back your <a href='?action=user-preferences'>preferences page</a>, or on to the <a href='?page=" . rawurlencode($settings->defaultpage) . "'>$settings->defaultpage</a>.</p>"));
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=change-password Change your password
|
||||||
|
* @apiName ChangePassword
|
||||||
|
* @apiGroup Settings
|
||||||
|
* @apiPermission User
|
||||||
|
*
|
||||||
|
* @apiParam {string} current-pass Your current password.
|
||||||
|
* @apiParam {string} new-pass Your new password.
|
||||||
|
* @apiParam {string} new-pass-confirm Your new password again, to make sure you've typed it correctly.
|
||||||
|
*
|
||||||
|
* @apiError PasswordMismatchError The new password fields don't match.
|
||||||
|
*/
|
||||||
|
add_action("change-password", function() {
|
||||||
|
global $env, $settings;
|
||||||
|
|
||||||
|
// Make sure the new password was typed correctly
|
||||||
|
// This comes before the current password check since that's more intensive
|
||||||
|
if($_POST["new-pass"] !== $_POST["new-pass-confirm"]) {
|
||||||
|
exit(page_renderer::render_main("Password mismatch - $settings->sitename", "<p>The new password you typed twice didn't match! <a href='javascript:history.back();'>Go back</a>.</p>"));
|
||||||
|
}
|
||||||
|
// Check the current password
|
||||||
|
if(hash_password($_POST["current-pass"]) !== $env->user_data->password) {
|
||||||
|
exit(page_renderer::render_main("Password mismatch - $settings->sitename", "<p>Error: You typed your current password incorrectly! <a href='javascript:history.back();'>Go back</a>.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
// All's good! Go ahead and change the password.
|
||||||
|
$env->user_data->password = hash_password($_POST["new-pass"]);
|
||||||
|
// Save the userdata back to disk
|
||||||
|
save_userdata();
|
||||||
|
|
||||||
|
http_response_code(307);
|
||||||
|
header("location: ?action=user-preferences&success=yes&operation=change-password");
|
||||||
|
exit(page_renderer::render_main("Password Changed Successfully", "<p>You password was changed successfully. <a href='?action=user-preferences'>Go back to the user preferences page</a>.</p>"));
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* █████ ██ ██ █████ ████████ █████ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ███████ ██ ███████ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ████ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=avatar&user={username}[&size={size}] Get a user's avatar
|
||||||
|
* @apiName Avatar
|
||||||
|
* @apiGroup Upload
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} user The username to fetch the avatar for
|
||||||
|
* @apiParam {string} size The preferred size of the avatar
|
||||||
|
*/
|
||||||
|
add_action("avatar", function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
$size = intval($_GET["size"] ?? 32);
|
||||||
|
|
||||||
|
/// Use gravatar if there's some issue with the requested user
|
||||||
|
|
||||||
|
// No user specified
|
||||||
|
if(empty($_GET["user"])) {
|
||||||
|
http_response_code(307);
|
||||||
|
header("x-reason: no-user-specified");
|
||||||
|
header("location: https://gravatar.com/avatar/?default=blank");
|
||||||
|
}
|
||||||
|
|
||||||
|
$requested_username = $_GET["user"];
|
||||||
|
|
||||||
|
// The user hasn't uploaded an avatar
|
||||||
|
if(empty($pageindex->{"User/$requested_username/Avatar"}) || !$pageindex->{"User/$requested_username/Avatar"}->uploadedfile) {
|
||||||
|
$user_fragment = !empty($settings->users->$requested_username->emailAddress) ? $settings->users->$requested_username->emailAddress : $requested_username;
|
||||||
|
|
||||||
|
http_response_code(307);
|
||||||
|
header("x-reason: no-avatar-found");
|
||||||
|
header("x-hash-method: " . ($user_fragment === $requested_username ? "username" : "email_address"));
|
||||||
|
header("location: https://gravatar.com/avatar/" . md5($user_fragment) . "?default=identicon&rating=g&size=$size");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
|
// The user has uploaded an avatar, so we can redirec to the regular previewer :D
|
||||||
|
|
||||||
|
http_response_code(307);
|
||||||
|
header("x-reason: found-local-avatar");
|
||||||
|
header("location: ?action=preview&size=$size&page=" . urlencode("Users/$requested_username/Avatar"));
|
||||||
|
exit("This user's avatar can be found at Files/$requested_username/Avatar");
|
||||||
|
});
|
||||||
|
|
||||||
|
// Display a help section on the user preferences, but only if the user
|
||||||
|
// is logged in and so able to access them
|
||||||
|
if($env->is_logged_in)
|
||||||
|
{
|
||||||
|
add_help_section("910-user-preferences", "User Preferences", "<p>As you are logged in, $settings->sitename lets you configure a selection of personal preferences. These can be viewed and tweaked to you liking over on the <a href='?action=user-preferences'>preferences page</a>, which can be accessed at any time by clicking the cog icon (it looks something like this: <a href='?action=user-preferences'>$settings->user_preferences_button_text</a>), though the administrator of $settings->sitename ($settings->admindetails_name) may have changed its appearance.</p>");
|
||||||
|
}
|
||||||
|
|
||||||
|
if($settings->avatars_show)
|
||||||
|
{
|
||||||
|
add_help_section("915-avatars", "Avatars", "<p>$settings->sitename allows you to upload an avatar and have it displayed next to your name. If you don't have an avatar uploaded yet, then $settings->sitename will take a <a href='https://www.techopedia.com/definition/19744/hash-function'>hash</a> of your email address and ask <a href='https://gravatar.com'>Gravatar</a> for for your Gravatar instead. If you haven't told $settings->sitename what your email address is either, a hash of your username is used instead. If you don't have a gravatar, then $settings->sitename asks Gravatar for an identicon instead.</p>
|
||||||
|
<p>Your avatar on $settings->sitename currently looks like this: <img class='avatar' src='?action=avatar&user=" . urlencode($env->user) . "' />" . ($settings->upload_enabled ? " - you can upload a new one by going to your <a href='?action=user-preferences'>preferences</a>, or <a href='?action=upload&avatar=yes' />clicking here</a>." : ", but $settings->sitename currently has uploads disabled, so you can't upload a new one directly to $settings->sitename. You can, however, set your email address in your <a href='?action=user-preferences'>preferences</a> and <a href='https://en.gravatar.com/'>create a Gravatar</a>, and then it should show up here on $settings->sitename shortly.") . "</p>");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
146
docs/ModuleApi/files/modules/page-credits.php.txt
Normal file
146
docs/ModuleApi/files/modules/page-credits.php.txt
Normal file
|
@ -0,0 +1,146 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Credits",
|
||||||
|
"version" => "0.7.7",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds the credits page. You *must* have this module :D",
|
||||||
|
"id" => "page-credits",
|
||||||
|
"code" => function() {
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=credits Get the credits page
|
||||||
|
* @apiName Credits
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██████ ███████ ██████ ██ ████████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██████ █████ ██ ██ ██ ██ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██ ██ ███████ ██████ ██ ██ ███████
|
||||||
|
*/
|
||||||
|
add_action("credits", function() {
|
||||||
|
global $settings, $version, $pageindex, $modules;
|
||||||
|
|
||||||
|
$credits = [
|
||||||
|
"Code" => [
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"author_url" => "https://starbeamrmainbowlabs.com/",
|
||||||
|
"thing_url" => "https://github.com/sbrl/Pepprminty-Wiki",
|
||||||
|
"icon" => "https://avatars0.githubusercontent.com/u/9929737?v=3&s=24"
|
||||||
|
],
|
||||||
|
"Mime type to file extension mapper" => [
|
||||||
|
"author" => "Chaos",
|
||||||
|
"author_url" => "https://stackoverflow.com/users/47529/chaos",
|
||||||
|
"thing_url" => "https://stackoverflow.com/a/1147952/1460422",
|
||||||
|
"icon" => "https://www.gravatar.com/avatar/aaee40db39ad6b164cfb89cb6ad4d176?s=328&d=identicon&s=24"
|
||||||
|
],
|
||||||
|
"Parsedown" => [
|
||||||
|
"author" => "Emanuil Rusev and others",
|
||||||
|
"author_url" => "https://github.com/erusev/",
|
||||||
|
"thing_url" => "https://github.com/erusev/parsedown/",
|
||||||
|
"icon" => "https://avatars1.githubusercontent.com/u/184170?v=3&s=24"
|
||||||
|
],
|
||||||
|
"CSS Minification Code" => [
|
||||||
|
"author" => "Jean",
|
||||||
|
"author_url" => "http://www.catswhocode.com/",
|
||||||
|
"thing_url" => "http://www.catswhocode.com/blog/3-ways-to-compress-css-files-using-php"
|
||||||
|
],
|
||||||
|
"Slightly modified version of Slimdown" => [
|
||||||
|
"author" => "Johnny Broadway",
|
||||||
|
"author_url" => "https://github.com/jbroadway",
|
||||||
|
"thing_url" => "https://gist.github.com/jbroadway/2836900",
|
||||||
|
"icon" => "https://avatars2.githubusercontent.com/u/87886?v=3&s=24"
|
||||||
|
],
|
||||||
|
"Insert tab characters into textareas" => [
|
||||||
|
"author" => "Unknown",
|
||||||
|
"author_url" => "http://stackoverflow.com/q/6140632/1460422",
|
||||||
|
"thing_url" => "https://jsfiddle.net/2wAzx/13/",
|
||||||
|
],
|
||||||
|
"Default Favicon" => [
|
||||||
|
"author" => "bluefrog23",
|
||||||
|
"author_url" => "https://openclipart.org/user-detail/bluefrog23/",
|
||||||
|
"thing_url" => "https://openclipart.org/detail/19571/peppermint-candy-by-bluefrog23"
|
||||||
|
],
|
||||||
|
"Bug Reports" => [
|
||||||
|
"author" => "nibreh",
|
||||||
|
"author_url" => "https://github.com/nibreh/",
|
||||||
|
"thing_url" => "",
|
||||||
|
"icon" => "https://avatars2.githubusercontent.com/u/7314006?v=3&s=24"
|
||||||
|
],
|
||||||
|
"PR #135: Fix repeated page names on sidebar" => [
|
||||||
|
"author" => "ikisler",
|
||||||
|
"author_url" => "https://github.com/ikisler",
|
||||||
|
"thing_url" => "https://github.com/sbrl/Pepperminty-Wiki/pull/135",
|
||||||
|
"icon" => "https://avatars3.githubusercontent.com/u/12506147?v=3&s=24"
|
||||||
|
],
|
||||||
|
"PR #136: Fix issue where bottom nav is cut off" => [
|
||||||
|
"author" => "ikisler",
|
||||||
|
"author_url" => "https://github.com/ikisler",
|
||||||
|
"thing_url" => "https://github.com/sbrl/Pepperminty-Wiki/pull/136",
|
||||||
|
"icon" => "https://avatars3.githubusercontent.com/u/12506147?v=3&s=24"
|
||||||
|
],
|
||||||
|
"PR #140: Edit Previewing" => [
|
||||||
|
"author" => "ikisler",
|
||||||
|
"author_url" => "https://github.com/ikisler",
|
||||||
|
"thing_url" => "https://github.com/sbrl/Pepperminty-Wiki/pull/140",
|
||||||
|
"icon" => "https://avatars3.githubusercontent.com/u/12506147?v=3&s=24"
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
//// Credits html renderer ////
|
||||||
|
$credits_html = "<ul>\n";
|
||||||
|
foreach($credits as $thing => $author_details)
|
||||||
|
{
|
||||||
|
$credits_html .= " <li>";
|
||||||
|
$credits_html .= "<a href='" . $author_details["thing_url"] . "'>$thing</a> by ";
|
||||||
|
if(isset($author_details["icon"]))
|
||||||
|
$credits_html .= "<img style='vertical-align: middle;' src='" . $author_details["icon"] . "' /> ";
|
||||||
|
$credits_html .= "<a href='" . $author_details["author_url"] . "'>" . $author_details["author"] . "</a>";
|
||||||
|
$credits_html .= "</li>\n";
|
||||||
|
}
|
||||||
|
$credits_html .= "</ul>";
|
||||||
|
///////////////////////////////
|
||||||
|
|
||||||
|
//// Module html renderer ////
|
||||||
|
$modules_html = "<table>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Version</th>
|
||||||
|
<th>Author</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>";
|
||||||
|
foreach($modules as $module)
|
||||||
|
{
|
||||||
|
$modules_html .= " <tr>
|
||||||
|
<td title='" . $module["id"] . "'>" . $module["name"] . "</td>
|
||||||
|
<td>" . $module["version"] . "</td>
|
||||||
|
<td>" . $module["author"] . "</td>
|
||||||
|
<td>" . $module["description"] . "</td>
|
||||||
|
</tr>\n";
|
||||||
|
}
|
||||||
|
$modules_html .= "</table>";
|
||||||
|
//////////////////////////////
|
||||||
|
|
||||||
|
$title = "Credits - $settings->sitename";
|
||||||
|
$content = "<h1>$settings->sitename credits</h1>
|
||||||
|
<p>$settings->sitename is powered by Pepperminty Wiki - an entire wiki packed inside a single file, which was built by <a href='//starbeamrainbowlabs.com'>Starbeamrainbowlabs</a>, and can be found <a href='//github.com/sbrl/Pepperminty-Wiki/'>on GitHub</a> (contributors will also be listed here in the future). Pepperminty Wiki is licensed under the <a target='_blank' href='https://www.mozilla.org/en-US/MPL/2.0/'>Mozilla Public License 2.0</a> (<a target='_blank' href='https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2)'>simple version</a>).</p>
|
||||||
|
<h2>Main Credits</h2>
|
||||||
|
$credits_html
|
||||||
|
<h2>Site status</h2>
|
||||||
|
<table>
|
||||||
|
<tr><th>Site name:</th><td>$settings->sitename (<a href='?action=update'>{$settings->admindisplaychar}Update</a>, <a href='?action=configure'>{$settings->admindisplaychar}Edit master settings</a>, <a href='?action=export'>Export as zip - Check for permission first</a>)</td></tr>
|
||||||
|
<tr><th>Pepperminty Wiki version:</th><td>$version</td></tr>
|
||||||
|
<tr><th>Number of pages:</th><td>" . count(get_object_vars($pageindex)) . "</td></tr>
|
||||||
|
<tr><th>Number of modules:</th><td>" . count($modules) . "</td></tr>
|
||||||
|
</table>
|
||||||
|
<h2>Installed Modules</h2>
|
||||||
|
$modules_html";
|
||||||
|
exit(page_renderer::render_main($title, $content));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
77
docs/ModuleApi/files/modules/page-debug-info.php.txt
Normal file
77
docs/ModuleApi/files/modules/page-debug-info.php.txt
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Debug Information",
|
||||||
|
"version" => "0.1.1",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a debug action for administrator use only that collects a load of useful information to make reporting bugs easier.",
|
||||||
|
"id" => "page-debug-info",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings, $env;
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=debug Get a debug dump
|
||||||
|
* @apiName Debug
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Moderator
|
||||||
|
*
|
||||||
|
* @apiUse UserNotModeratorError
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ███████ ██████ ██ ██ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ █████ ██████ ██ ██ ██ ███
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ███████ ██████ ██████ ██████
|
||||||
|
*/
|
||||||
|
add_action("debug", function() {
|
||||||
|
global $settings, $env, $paths, $version;
|
||||||
|
header("content-type: text/plain");
|
||||||
|
|
||||||
|
if(!$env->is_admin)
|
||||||
|
{
|
||||||
|
exit("You must be logged in as an moderator in order to generate debugging information.");
|
||||||
|
}
|
||||||
|
|
||||||
|
$title = "$settings->sitename debug report";
|
||||||
|
echo("$title\n");
|
||||||
|
echo(str_repeat("=", strlen($title)) . "\n");
|
||||||
|
echo("Powered by Pepperminty Wiki version $version.\n");
|
||||||
|
echo("This report may contain personal information.\n\n");
|
||||||
|
echo("Environment: ");
|
||||||
|
echo(var_export($env, true));
|
||||||
|
echo("\nPaths: ");
|
||||||
|
var_dump(var_export($paths, true));
|
||||||
|
echo("\nServer information:\n");
|
||||||
|
echo("uname -a: " . php_uname() . "\n");
|
||||||
|
echo("Path: " . getenv("PATH") . "\n");
|
||||||
|
echo("Temporary directory: " . sys_get_temp_dir() . "\n");
|
||||||
|
echo("Server: " . $_SERVER["SERVER_SOFTWARE"] . "\n");
|
||||||
|
echo("Web root: " . $_SERVER["DOCUMENT_ROOT"] . "\n");
|
||||||
|
echo("Web server user: " . exec("whoami") . "\n");
|
||||||
|
echo("PHP version: " . phpversion() . "\n");
|
||||||
|
echo("index.php location: " . __FILE__ . "\n");
|
||||||
|
echo("index.php file permissions: " . substr(sprintf('%o', fileperms("./index.php")), -4) . "\n");
|
||||||
|
echo("Current folder permissions: " . substr(sprintf('%o', fileperms(".")), -4) . "\n");
|
||||||
|
echo("Storage directory permissions: " . substr(sprintf('%o', fileperms($env->storage_prefix)), -4) . "\n");
|
||||||
|
echo("Loaded extensions: " . implode(", ", get_loaded_extensions()) . "\n");
|
||||||
|
echo("Settings:\n-----\n");
|
||||||
|
$settings_export = explode("\n", var_export($settings, true));
|
||||||
|
foreach ($settings_export as &$row)
|
||||||
|
{
|
||||||
|
if(preg_match("/(sitesecret|email)/i", $row)) $row = "********* secret *********";
|
||||||
|
}
|
||||||
|
echo(implode("\n", $settings_export));
|
||||||
|
echo("\n-----\n");
|
||||||
|
exit();
|
||||||
|
});
|
||||||
|
|
||||||
|
if($env->is_admin)
|
||||||
|
{
|
||||||
|
add_help_section("950-debug-information", "Gathering debug information", "<p>As a moderator, $settings->sitename gives you the ability to generate a report on $settings->sitename's installation of Pepperminty Wiki for debugging purposes.</p>
|
||||||
|
<p>To generate such a report, visit the <code>debug</code> action or <a href='?action=debug'>click here</a>.</p>");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
120
docs/ModuleApi/files/modules/page-delete.php.txt
Normal file
120
docs/ModuleApi/files/modules/page-delete.php.txt
Normal file
|
@ -0,0 +1,120 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Page deleter",
|
||||||
|
"version" => "0.10",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds an action to allow administrators to delete pages.",
|
||||||
|
"id" => "page-delete",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=delete Delete a page
|
||||||
|
* @apiDescription Delete a page and all its associated data.
|
||||||
|
* @apiName DeletePage
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Moderator
|
||||||
|
*
|
||||||
|
* @apiParam {string} page The name of the page to delete.
|
||||||
|
* @apiParam {string} delete Set to 'yes' to actually delete the page.
|
||||||
|
*
|
||||||
|
* @apiUse UserNotModeratorError
|
||||||
|
* @apiError PageNonExistentError The specified page doesn't exist
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ███████ ██ ███████ ████████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ █████ ██ █████ ██ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ███████ ███████ ███████ ██ ███████
|
||||||
|
*/
|
||||||
|
add_action("delete", function() {
|
||||||
|
global $pageindex, $settings, $env, $paths, $modules;
|
||||||
|
if(!$settings->editing)
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Error: Editing disabled - Deleting $env->page", "<p>You tried to delete $env->page, but editing is disabled on this wiki.</p>
|
||||||
|
<p>If you wish to delete this page, please re-enable editing on this wiki first.</p>
|
||||||
|
<p><a href='index.php?page=$env->page'>Go back to $env->page</a>.</p>
|
||||||
|
<p>Nothing has been changed.</p>"));
|
||||||
|
}
|
||||||
|
if(!$env->is_admin)
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Error: Insufficient permissions - Deleting $env->page", "<p>You tried to delete $env->page, but you as aren't a moderator you don't have permission to do that.</p>
|
||||||
|
<p>You could try <a href='index.php?action=login'>logging in</a> as an admin, or asking one of $settings->sitename's friendly moderators (find their names at the bottom of every page!) to delete it for you.</p>"));
|
||||||
|
}
|
||||||
|
if(!isset($pageindex->{$env->page}))
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Error: Non-existent page - Deleting $env->page", "<p>You tried to delete $env->page, but that page doesn't appear to exist in the first page. <a href='?'>Go back</a> to the $settings->defaultpage.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!isset($_GET["delete"]) or $_GET["delete"] !== "yes")
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Deleting $env->page", "<p>You are about to <strong>delete</strong> <em>$env->page</em>" . (module_exists("feature-history")?" and all its revisions":"") . (module_exists("feature-comments")?" and all its comments":"") . ". You can't undo this!</p>
|
||||||
|
<p><a href='index.php?action=delete&page=$env->page&delete=yes'>Click here to delete $env->page.</a></p>
|
||||||
|
<p><a href='index.php?action=view&page=$env->page'>Click here to go back.</a>"));
|
||||||
|
}
|
||||||
|
$page = $env->page;
|
||||||
|
// Delete the associated file if it exists
|
||||||
|
if(!empty($pageindex->$page->uploadedfile))
|
||||||
|
{
|
||||||
|
unlink($env->storage_prefix . $pageindex->$page->uploadedfilepath);
|
||||||
|
}
|
||||||
|
|
||||||
|
// While we're at it, we should delete all the revisions too
|
||||||
|
foreach($pageindex->{$env->page}->history as $revisionData)
|
||||||
|
{
|
||||||
|
unlink($env->storage_prefix . $revisionData->filename);
|
||||||
|
}
|
||||||
|
|
||||||
|
// If the commenting module is installed and the page has comments,
|
||||||
|
// delete those too
|
||||||
|
if(module_exists("feature-comments") and
|
||||||
|
file_exists(get_comment_filename($env->page)))
|
||||||
|
{
|
||||||
|
unlink(get_comment_filename($env->page));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Delete the page from the page index
|
||||||
|
unset($pageindex->$page);
|
||||||
|
|
||||||
|
// Save the new page index
|
||||||
|
file_put_contents($paths->pageindex, json_encode($pageindex, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
|
// Remove the page's name from the id index
|
||||||
|
ids::deletepagename($env->page);
|
||||||
|
|
||||||
|
// Delete the page from the search index, if that module is installed
|
||||||
|
if(module_exists("feature-search"))
|
||||||
|
{
|
||||||
|
$pageid = ids::getid($env->page);
|
||||||
|
$invindex = search::load_invindex($paths->searchindex);
|
||||||
|
search::delete_entry($invindex, $pageid);
|
||||||
|
search::save_invindex($paths->searchindex, $invindex);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Delete the page from the disk
|
||||||
|
unlink("$env->storage_prefix$env->page.md");
|
||||||
|
|
||||||
|
// Add a recent change announcing the deletion if the recent changes
|
||||||
|
// module is installed
|
||||||
|
if(module_exists("feature-recent-changes"))
|
||||||
|
{
|
||||||
|
add_recent_change([
|
||||||
|
"type" => "deletion",
|
||||||
|
"timestamp" => time(),
|
||||||
|
"page" => $env->page,
|
||||||
|
"user" => $env->user,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("Deleting $env->page - $settings->sitename", "<p>$env->page has been deleted. <a href='index.php'>Go back to the main page</a>.</p>"));
|
||||||
|
});
|
||||||
|
|
||||||
|
// Register a help section
|
||||||
|
add_help_section("60-delete", "Deleting Pages", "<p>If you are logged in as an adminitrator, then you have the power to delete pages. To do this, click "Delete" in the "More..." menu when browsing the pge you wish to delete. When you are sure that you want to delete the page, click the given link.</p>
|
||||||
|
<p><strong>Warning: Once a page has been deleted, you can't bring it back! You will need to recover it from your backup, if you have one (which you really should).</strong></p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
459
docs/ModuleApi/files/modules/page-edit.php.txt
Normal file
459
docs/ModuleApi/files/modules/page-edit.php.txt
Normal file
|
@ -0,0 +1,459 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Page editor",
|
||||||
|
"version" => "0.16",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Allows you to edit pages by adding the edit and save actions. You should probably include this one.",
|
||||||
|
"id" => "page-edit",
|
||||||
|
|
||||||
|
"code" => function() {
|
||||||
|
global $settings, $env;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=edit&page={pageName}[&newpage=yes] Get an editing page
|
||||||
|
* @apiDescription Gets an editing page for a given page. If you don't have permission to edit the page in question, a view source pagee is returned instead.
|
||||||
|
* @apiName EditPage
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiUse PageParameter
|
||||||
|
* @apiParam {string} newpage Set to 'yes' if a new page is being created. Only affects a few bits of text here and there, and the HTTP response code recieved on success from the `save` action.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* _ _ _
|
||||||
|
* ___ __| (_) |_
|
||||||
|
* / _ \/ _` | | __|
|
||||||
|
* | __/ (_| | | |_
|
||||||
|
* \___|\__,_|_|\__|
|
||||||
|
* %edit%
|
||||||
|
*/
|
||||||
|
add_action("edit", function() {
|
||||||
|
global $pageindex, $settings, $env;
|
||||||
|
|
||||||
|
$filename = "$env->storage_prefix$env->page.md";
|
||||||
|
$page = $env->page;
|
||||||
|
$creatingpage = !isset($pageindex->$page);
|
||||||
|
if((isset($_GET["newpage"]) and $_GET["newpage"] == "true") or $creatingpage)
|
||||||
|
{
|
||||||
|
$title = "Creating $env->page";
|
||||||
|
}
|
||||||
|
else if(isset($_POST['preview-edit']) && isset($_POST['content']))
|
||||||
|
{
|
||||||
|
$title = "Preview Edits for $env->page";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$title = "Editing $env->page";
|
||||||
|
}
|
||||||
|
|
||||||
|
$pagetext = "";
|
||||||
|
if(isset($pageindex->$page))
|
||||||
|
{
|
||||||
|
$pagetext = file_get_contents($filename);
|
||||||
|
}
|
||||||
|
|
||||||
|
$isOtherUsersPage = false;
|
||||||
|
if(
|
||||||
|
$settings->user_page_prefix == mb_substr($env->page, 0, mb_strlen($settings->user_page_prefix)) and // The current page is a user page of some sort
|
||||||
|
(
|
||||||
|
!$env->is_logged_in or // the user isn't logged in.....
|
||||||
|
extract_user_from_userpage($env->page) !== $env->user // ...or it's not under this user's own name
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
$isOtherUsersPage = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if((!$env->is_logged_in and !$settings->anonedits) or // if we aren't logged in and anonymous edits are disabled
|
||||||
|
!$settings->editing or // or editing is disabled
|
||||||
|
(
|
||||||
|
isset($pageindex->$page) and // or if the page exists
|
||||||
|
isset($pageindex->$page->protect) and // the protect property exists
|
||||||
|
$pageindex->$page->protect and // the protect property is true
|
||||||
|
!$env->is_admin // the user isn't an admin
|
||||||
|
) or
|
||||||
|
$isOtherUsersPage // this page actually belongs to another user
|
||||||
|
)
|
||||||
|
{
|
||||||
|
if(!$creatingpage)
|
||||||
|
{
|
||||||
|
// The page already exists - let the user view the page source
|
||||||
|
$sourceViewContent = "<p>$settings->sitename does not allow anonymous users to make edits. You can view the source of $env->page below, but you can't edit it. You could, however, try <a href='index.php?action=login&returnto=" . rawurlencode($_SERVER["REQUEST_URI"]) . "'>logging in</a>.</p>\n";
|
||||||
|
|
||||||
|
if($env->is_logged_in)
|
||||||
|
$sourceViewContent = "<p>$env->page is protected, and you aren't an administrator or moderator. You can view the source of $env->page below, but you can't edit it.</p>\n";
|
||||||
|
|
||||||
|
if($isOtherUsersPage)
|
||||||
|
$sourceViewContent = "<p>$env->page is a special user page which acutally belongs to " . extract_user_from_userpage($env->page) . ", another user on $settings->sitename. Because of this, you are not allowed to edit it (though you can always edit your own page and any pages under it if you're logged in). You can, however, vieww it's source below.</p>";
|
||||||
|
|
||||||
|
// Append a view of the page's source
|
||||||
|
$sourceViewContent .= "<textarea name='content' readonly>$pagetext</textarea>";
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("Viewing source for $env->page", $sourceViewContent));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$errorMessage = "<p>The page <code>$env->page</code> does not exist, but you do not have permission to create it.</p><p>If you haven't already, perhaps you should try <a href='index.php?action=login&returnto=" . rawurlencode($_SERVER["REQUEST_URI"]) . "'>logging in</a>.</p>\n";
|
||||||
|
|
||||||
|
if($isOtherUsersPage) {
|
||||||
|
$errorMessage = "<p>The page <code>" . htmlentities($env->page) . "</code> doesn't exist, but you can't create it because it's a page belonging to another user.</p>\n";
|
||||||
|
if(!$env->is_logged_in)
|
||||||
|
$errorMessage .= "<p>You could try <a href='?action=login&returnto=" . rawurlencode($_SERVER["REQUEST_URI"]) . "'>logging in</a>.</p>\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
http_response_code(404);
|
||||||
|
exit(page_renderer::render_main("404 - $env->page", $errorMessage));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$content = "<h1>$title</h1>";
|
||||||
|
$page_tags = implode(", ", (!empty($pageindex->{$env->page}->tags)) ? $pageindex->{$env->page}->tags : []);
|
||||||
|
if(!$env->is_logged_in and $settings->anonedits)
|
||||||
|
{
|
||||||
|
$content .= "<p><strong>Warning: You are not logged in! Your IP address <em>may</em> be recorded.</strong></p>";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Include preview, if set
|
||||||
|
if(isset($_POST['preview-edit']) && isset($_POST['content'])) {
|
||||||
|
// Need this for the prev-content-hash to prevent the conflict page from appearing
|
||||||
|
$old_pagetext = $pagetext;
|
||||||
|
|
||||||
|
// set the page content to the newly edited content
|
||||||
|
$pagetext = $_POST['content'];
|
||||||
|
|
||||||
|
// Set the tags to the new tags, if needed
|
||||||
|
if(isset($_POST['tags']))
|
||||||
|
$page_tags = $_POST['tags'];
|
||||||
|
|
||||||
|
// Insert the "view" part of the page we're editing
|
||||||
|
$content .= "<p class='preview-message'><strong>This is only a preview, so your edits haven't been saved! Scroll down to continue editing.</strong></p>" . parse_page_source($pagetext);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
$content .= "<form method='post' name='edit-form' action='index.php?action=preview-edit&page=" . rawurlencode($env->page) . "' class='editform'>
|
||||||
|
<input type='hidden' name='prev-content-hash' value='" . ((isset($old_pagetext)) ? sha1($old_pagetext) : sha1($pagetext)) . "' />
|
||||||
|
<textarea name='content' autofocus tabindex='1'>$pagetext</textarea>
|
||||||
|
<pre class='fit-text-mirror'></pre>
|
||||||
|
<input type='text' name='tags' value='" . htmlentities($page_tags, ENT_HTML5 | ENT_QUOTES) . "' placeholder='Enter some tags for the page here. Separate them with commas.' title='Enter some tags for the page here. Separate them with commas.' tabindex='2' />
|
||||||
|
<p class='editing-message'>$settings->editing_message</p>
|
||||||
|
<input name='preview-edit' class='edit-page-button' type='submit' value='Preview Changes' tabindex='4' />
|
||||||
|
<input name='submit-edit' class='edit-page-button' type='submit' value='Save Page' tabindex='3' />
|
||||||
|
</form>";
|
||||||
|
// Allow tab characters in the page editor
|
||||||
|
page_renderer::AddJSSnippet("window.addEventListener('load', function(event) {
|
||||||
|
// Adapted from https://jsfiddle.net/2wAzx/13/
|
||||||
|
document.querySelector(\"[name=content]\").addEventListener(\"keydown\", (event) => {
|
||||||
|
if(event.keyCode !== 9) return true;
|
||||||
|
var currentValue = event.target.value, startPos = event.target.selectionStart, endPos = event.target.selectionEnd;
|
||||||
|
event.target.value = currentValue.substring(0, startPos) + \"\\t\" + currentValue.substring(endPos);
|
||||||
|
event.target.selectionStart = event.target.selectionEnd = startPos + 1;
|
||||||
|
event.stopPropagation(); event.preventDefault();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});");
|
||||||
|
|
||||||
|
// Utilise the mirror to automatically resize the textarea to fit it's content
|
||||||
|
page_renderer::AddJSSnippet('function updateTextSize(textarea, mirror, event) {
|
||||||
|
let textareaFontSize = parseFloat(getComputedStyle(textarea).fontSize);
|
||||||
|
|
||||||
|
let textareaWidth = textarea.getBoundingClientRect().width;// - parseInt(textarea.style.padding);
|
||||||
|
mirror.style.width = `${textareaWidth}px`;
|
||||||
|
mirror.innerText = textarea.value;
|
||||||
|
textarea.style.height = `${mirror.offsetHeight + (textareaFontSize * 5)}px`;
|
||||||
|
}
|
||||||
|
function trackTextSize(textarea) {
|
||||||
|
let mirror = textarea.nextElementSibling;
|
||||||
|
textarea.addEventListener("input", updateTextSize.bind(null, textarea, mirror));
|
||||||
|
updateTextSize(textarea, mirror, null);
|
||||||
|
}
|
||||||
|
window.addEventListener("load", function(event) {
|
||||||
|
trackTextSize(document.querySelector("textarea[name=content]"));
|
||||||
|
});
|
||||||
|
');
|
||||||
|
|
||||||
|
// ~
|
||||||
|
|
||||||
|
/// ~~~ Smart saving ~~~ ///
|
||||||
|
// TODO: Add a button to press that restores the content that you were working on before.
|
||||||
|
page_renderer::AddJSSnippet('document.addEventListener("load", function(event) {
|
||||||
|
// Smart saving
|
||||||
|
function getSmartSaveKey() { return document.querySelector("main h1").innerHTML.replace("Creating ", "").replace("Editing ", "").trim(); }
|
||||||
|
// Saving
|
||||||
|
document.querySelector("textarea[name=content]").addEventListener("keyup", function(event) { window.localStorage.setItem(getSmartSaveKey(), event.target.value) });
|
||||||
|
// Loading
|
||||||
|
window.addEventListener("load", function(event) {
|
||||||
|
var editor = document.querySelector("textarea[name=content]");
|
||||||
|
if(editor.value.length > 0) return; // Don\'t restore if there\'s data in the editor already
|
||||||
|
editor.value = localStorage.getItem(getSmartSaveKey());
|
||||||
|
});
|
||||||
|
});');
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("$title - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=preview-edit&page={pageName}[&newpage=yes] Get a preview of the page
|
||||||
|
* @apiDescription Gets a preview of the current edit state of a given page
|
||||||
|
* @apiName PreviewPage
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiUse PageParameter
|
||||||
|
* @apiParam {string} newpage Set to 'yes' if a new page is being created.
|
||||||
|
* @apiParam {string} preview-edit Set to a value to preview an edit of a page.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ██████ ██████ ███████ ██ ██ ██ ███████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██████ █████ ██ ██ ██ █████ ██ █ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██
|
||||||
|
* ██ ██ ██ ███████ ████ ██ ███████ ███ ███
|
||||||
|
*
|
||||||
|
* ███████ ██████ ██ ████████
|
||||||
|
* ██ ██ ██ ██ ██
|
||||||
|
* █████ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██████ ██ ██
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
add_action("preview-edit", function() {
|
||||||
|
global $pageindex, $settings, $env, $actions;
|
||||||
|
|
||||||
|
if(isset($_POST['preview-edit']) && isset($_POST['content'])) {
|
||||||
|
// preview changes
|
||||||
|
get_object_vars($actions)['edit']();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
// save page
|
||||||
|
get_object_vars($actions)['save']();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=save&page={pageName} Save an edit to a page.
|
||||||
|
* @apiDescription Saves an edit to a page. If an edit conflict is encountered, then a conflict resolution page is returned instead.
|
||||||
|
* @apiName EditPage
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiUse PageParameter
|
||||||
|
* @apiParam {string} newpage GET only. Set to 'yes' to indicate that this is a new page that is being saved. Only affects the HTTP response code you recieve upon success.
|
||||||
|
* @apiParam {string} content POST only. The new content to save to the given filename.
|
||||||
|
* @apiParam {string} tags POST only. A comma-separated list of tags to assign to the current page. Will replace the existing list of tags, if any are present.
|
||||||
|
* @apiParam {string} prev-content-hash POST only. The hash of the original content before editing. If this hash is found to be different to a hash computed of the currentl saved content, a conflict resolution page will be returned instead of saving the provided content.
|
||||||
|
*
|
||||||
|
* @apiError UnsufficientPermissionError You don't currently have sufficient permissions to save an edit.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* ___ __ ___ _____
|
||||||
|
* / __|/ _` \ \ / / _ \
|
||||||
|
* \__ \ (_| |\ V / __/
|
||||||
|
* |___/\__,_| \_/ \___|
|
||||||
|
* %save%
|
||||||
|
*/
|
||||||
|
add_action("save", function() {
|
||||||
|
global $pageindex, $settings, $env, $save_preprocessors, $paths;
|
||||||
|
|
||||||
|
if(!$settings->editing)
|
||||||
|
{
|
||||||
|
header("location: index.php?page=$env->page");
|
||||||
|
exit(page_renderer::render_main("Error saving edit", "<p>Editing is currently disabled on this wiki.</p>"));
|
||||||
|
}
|
||||||
|
if(!$env->is_logged_in and !$settings->anonedits)
|
||||||
|
{
|
||||||
|
http_response_code(403);
|
||||||
|
header("refresh: 5; url=index.php?page=$env->page");
|
||||||
|
exit("You are not logged in, so you are not allowed to save pages on $settings->sitename. Redirecting in 5 seconds....");
|
||||||
|
}
|
||||||
|
$page = $env->page;
|
||||||
|
if((
|
||||||
|
isset($pageindex->$page) and
|
||||||
|
isset($pageindex->page->protect) and
|
||||||
|
$pageindex->$page->protect
|
||||||
|
) and !$env->is_admin)
|
||||||
|
{
|
||||||
|
http_response_code(403);
|
||||||
|
header("refresh: 5; url=index.php?page=$env->page");
|
||||||
|
exit("$env->page is protected, and you aren't logged in as an administrator or moderator. Your edit was not saved. Redirecting in 5 seconds...");
|
||||||
|
}
|
||||||
|
if(!isset($_POST["content"]))
|
||||||
|
{
|
||||||
|
http_response_code(400);
|
||||||
|
header("refresh: 5; url=index.php?page=$env->page");
|
||||||
|
exit("Bad request: No content specified.");
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make sure that the directory in which the page needs to be saved exists
|
||||||
|
if(!is_dir(dirname("$env->storage_prefix$env->page.md")))
|
||||||
|
{
|
||||||
|
// Recursively create the directory if needed
|
||||||
|
mkdir(dirname("$env->storage_prefix$env->page.md"), 0775, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Read in the new page content
|
||||||
|
$pagedata = $_POST["content"];
|
||||||
|
// We don't need to santise the input here as Parsedown has an
|
||||||
|
// option that does this for us, and is _way_ more intelligent about
|
||||||
|
// it.
|
||||||
|
|
||||||
|
// Read in the new page tags, so long as there are actually some
|
||||||
|
// tags to read in
|
||||||
|
$page_tags = [];
|
||||||
|
if(strlen(trim($_POST["tags"])) > 0)
|
||||||
|
{
|
||||||
|
$page_tags = explode(",", $_POST["tags"]);
|
||||||
|
// Trim off all the whitespace
|
||||||
|
foreach($page_tags as &$tag)
|
||||||
|
$tag = trim($tag);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check for edit conflicts
|
||||||
|
if(!empty($pageindex->{$env->page}) && file_exists($env->storage_prefix . $pageindex->{$env->page}->filename))
|
||||||
|
{
|
||||||
|
$existing_content_hash = sha1_file($env->storage_prefix . $pageindex->{$env->page}->filename);
|
||||||
|
if(isset($_POST["prev-content-hash"]) and
|
||||||
|
$existing_content_hash != $_POST["prev-content-hash"])
|
||||||
|
{
|
||||||
|
$existingPageData = htmlentities(file_get_contents($env->storage_prefix . $env->storage_prefix . $pageindex->{$env->page}->filename));
|
||||||
|
// An edit conflict has occurred! We should get the user to fix it.
|
||||||
|
$content = "<h1>Resolving edit conflict - $env->page</h1>";
|
||||||
|
if(!$env->is_logged_in and $settings->anonedits)
|
||||||
|
{
|
||||||
|
$content .= "<p><strong>Warning: You are not logged in! Your IP address <em>may</em> be recorded.</strong></p>";
|
||||||
|
}
|
||||||
|
$content .= "<p>An edit conflict has arisen because someone else has saved an edit to $env->page since you started editing it. Both texts are shown below, along the differences between the 2 conflicting revisions. To continue, please merge your changes with the existing content. Note that only the text in the existing content box will be kept when you press the \"Resolve Conflict\" button at the bottom of the page.</p>
|
||||||
|
|
||||||
|
<form method='post' action='index.php?action=save&page=" . rawurlencode($page) . "&action=save' class='editform'>
|
||||||
|
<h2>Existing content</h2>
|
||||||
|
<textarea id='original-content' name='content' autofocus tabindex='1'>$existingPageData</textarea>
|
||||||
|
|
||||||
|
<h2>Differences</h2>
|
||||||
|
<div id='highlighted-diff' class='highlighted-diff'></div>
|
||||||
|
<!--<pre class='highlighted-diff-wrapper'><code id='highlighted-diff'></code></pre>-->
|
||||||
|
|
||||||
|
<h2>Your content</h2>
|
||||||
|
<textarea id='new-content'>$pagedata</textarea>
|
||||||
|
<input type='text' name='tags' value='" . htmlentities($_POST["tags"]) . "' placeholder='Enter some tags for the page here. Separate them with commas.' title='Enter some tags for the page here. Separate them with commas.' tabindex='2' />
|
||||||
|
<p class='editing_message'>$settings->editing_message</p>
|
||||||
|
<input name='submit-edit' type='submit' value='Resolve Conflict' tabindex='3' />
|
||||||
|
</form>";
|
||||||
|
|
||||||
|
// Insert a reference to jsdiff to generate the diffs
|
||||||
|
$diffScript = <<<'DIFFSCRIPT'
|
||||||
|
window.addEventListener("load", function(event) {
|
||||||
|
var destination = document.getElementById("highlighted-diff"),
|
||||||
|
diff = JsDiff.diffWords(document.getElementById("original-content").value, document.getElementById("new-content").value),
|
||||||
|
output = "";
|
||||||
|
diff.forEach(function(change) {
|
||||||
|
var classes = "token";
|
||||||
|
if(change.added) classes += " diff-added";
|
||||||
|
if(change.removed) classes += " diff-removed";
|
||||||
|
output += `<span class='${classes}'>${change.value}</span>`;
|
||||||
|
});
|
||||||
|
destination.innerHTML = output;
|
||||||
|
});
|
||||||
|
DIFFSCRIPT;
|
||||||
|
|
||||||
|
$content .= "\n<script src='https://cdnjs.cloudflare.com/ajax/libs/jsdiff/2.2.2/diff.min.js'></script>
|
||||||
|
<script>$diffScript</script>\n";
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("Edit Conflict - $env->page - $settings->sitename", $content));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -----~~~==~~~-----
|
||||||
|
|
||||||
|
// Update the inverted search index
|
||||||
|
|
||||||
|
// Construct an index for the old and new page content
|
||||||
|
$oldindex = [];
|
||||||
|
$oldpagedata = ""; // We need the old page data in order to pass it to the preprocessor
|
||||||
|
if(file_exists("$env->storage_prefix$env->page.md"))
|
||||||
|
{
|
||||||
|
$oldpagedata = file_get_contents("$env->storage_prefix$env->page.md");
|
||||||
|
$oldindex = search::index($oldpagedata);
|
||||||
|
}
|
||||||
|
$newindex = search::index($pagedata);
|
||||||
|
|
||||||
|
// Compare the indexes of the old and new content
|
||||||
|
$additions = [];
|
||||||
|
$removals = [];
|
||||||
|
search::compare_indexes($oldindex, $newindex, $additions, $removals);
|
||||||
|
// Load in the inverted index
|
||||||
|
$invindex = search::load_invindex($env->storage_prefix . "invindex.json");
|
||||||
|
// Merge the changes into the inverted index
|
||||||
|
search::merge_into_invindex($invindex, ids::getid($env->page), $additions, $removals);
|
||||||
|
// Save the inverted index back to disk
|
||||||
|
search::save_invindex($env->storage_prefix . "invindex.json", $invindex);
|
||||||
|
|
||||||
|
// -----~~~==~~~-----
|
||||||
|
|
||||||
|
if(file_put_contents("$env->storage_prefix$env->page.md", $pagedata) !== false)
|
||||||
|
{
|
||||||
|
$page = $env->page;
|
||||||
|
// Make sure that this page's parents exist
|
||||||
|
check_subpage_parents($page);
|
||||||
|
|
||||||
|
// Update the page index
|
||||||
|
if(!isset($pageindex->$page))
|
||||||
|
{
|
||||||
|
$pageindex->$page = new stdClass();
|
||||||
|
$pageindex->$page->filename = "$env->page.md";
|
||||||
|
}
|
||||||
|
$pageindex->$page->size = strlen($_POST["content"]);
|
||||||
|
$pageindex->$page->lastmodified = time();
|
||||||
|
if($env->is_logged_in)
|
||||||
|
$pageindex->$page->lasteditor = utf8_encode($env->user);
|
||||||
|
else // TODO: Add an option to record the user's IP here instead
|
||||||
|
$pageindex->$page->lasteditor = utf8_encode("anonymous");
|
||||||
|
$pageindex->$page->tags = $page_tags;
|
||||||
|
|
||||||
|
// A hack to resave the pagedata if the preprocessors have
|
||||||
|
// changed it. We need this because the preprocessors *must*
|
||||||
|
// run _after_ the pageindex has been updated.
|
||||||
|
$pagedata_orig = $pagedata;
|
||||||
|
|
||||||
|
// Execute all the preprocessors
|
||||||
|
foreach($save_preprocessors as $func)
|
||||||
|
{
|
||||||
|
$func($pageindex->$page, $pagedata, $oldpagedata);
|
||||||
|
}
|
||||||
|
|
||||||
|
if($pagedata !== $pagedata_orig)
|
||||||
|
file_put_contents("$env->storage_prefix$env->page.md", $pagedata);
|
||||||
|
|
||||||
|
|
||||||
|
file_put_contents($paths->pageindex, json_encode($pageindex, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
|
if(isset($_GET["newpage"]))
|
||||||
|
http_response_code(201);
|
||||||
|
else
|
||||||
|
http_response_code(200);
|
||||||
|
|
||||||
|
// header("content-type: text/plain");
|
||||||
|
header("location: index.php?page=$env->page&edit_status=success&redirect=no");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
http_response_code(507);
|
||||||
|
exit(page_renderer::render_main("Error saving page - $settings->sitename", "<p>$settings->sitename failed to write your changes to the server's disk. Your changes have not been saved, but you might be able to recover your edit by pressing the back button in your browser.</p>
|
||||||
|
<p>Please tell the administrator of this wiki (" . $settings->admindetails_name . ") about this problem.</p>"));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("15-editing", "Editing", "<p>To edit a page on $settings->sitename, click the edit button on the top bar. Note that you will probably need to be logged in. If you do not already have an account you will need to ask $settings->sitename's administrator for an account since there is no registration form. Note that the $settings->sitename's administrator may have changed these settings to allow anonymous edits.</p>
|
||||||
|
<p>Editing is simple. The edit page has a sizeable box that contains a page's current contents. Once you are done altering it, add or change the comma separated list of tags in the field below the editor and then click save page.</p>
|
||||||
|
<p>A reference to the syntax that $settings->sitename supports can be found below.</p>");
|
||||||
|
|
||||||
|
add_help_section("17-user-pages", "User Pages", "<p>If you are logged in, $settings->sitename allocates you your own user page that only you can edit. On $settings->sitename, user pages are sub-pages of the <a href='?page=" . rawurlencode($settings->user_page_prefix) . "'>" . htmlentities($settings->user_page_prefix) . "</a> page, and each user page can have a nested structure of pages underneath it, just like a normal page. Your user page is located at <a href='?page=" . rawurlencode(get_user_pagename($env->user)) . "'>" . htmlentities(get_user_pagename($env->user)) . "</a>.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
77
docs/ModuleApi/files/modules/page-export.php.txt
Normal file
77
docs/ModuleApi/files/modules/page-export.php.txt
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Export",
|
||||||
|
"version" => "0.4",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a page that you can use to export your wiki as a .zip file. Uses \$settings->export_only_allow_admins, which controls whether only admins are allowed to export the wiki.",
|
||||||
|
"id" => "page-export",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=export Export the all the wiki's content
|
||||||
|
* @apiDescription Export all the wiki's content. Please ask for permission before making a request to this URI. Note that some wikis may only allow moderators to export content.
|
||||||
|
* @apiName Export
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiError InsufficientExportPermissionsError The wiki has the export_allow_only_admins option turned on, and you aren't logged into a moderator account.
|
||||||
|
* @apiError CouldntOpenTempFileError Pepperminty Wiki couldn't open a temporary file to send the compressed archive to.
|
||||||
|
* @apiError CouldntCloseTempFileError Pepperminty Wiki couldn't close the temporary file to finish creating the zip archive ready for downloading.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ███████ ██ ██ ██████ ██████ ██████ ████████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* █████ ███ ██████ ██ ██ ██████ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ██ ██████ ██ ██ ██
|
||||||
|
*/
|
||||||
|
add_action("export", function() {
|
||||||
|
global $settings, $pageindex, $env;
|
||||||
|
|
||||||
|
if($settings->export_allow_only_admins && !$env->is_admin)
|
||||||
|
{
|
||||||
|
http_response_code(401);
|
||||||
|
exit(page_renderer::render("Export error - $settings->sitename", "Only administrators of $settings->sitename are allowed to export the wiki as a zip. <a href='?action=$settings->defaultaction&page='>Return to the $settings->defaultpage</a>."));
|
||||||
|
}
|
||||||
|
|
||||||
|
$tmpfilename = tempnam(sys_get_temp_dir(), "pepperminty-wiki-");
|
||||||
|
|
||||||
|
$zip = new ZipArchive();
|
||||||
|
|
||||||
|
if($zip->open($tmpfilename, ZipArchive::CREATE) !== true)
|
||||||
|
{
|
||||||
|
http_response_code(507);
|
||||||
|
exit(page_renderer::render("Export error - $settings->sitename", "Pepperminty Wiki was unable to open a temporary file to store the exported data in. Please contact $settings->sitename's administrator (" . $settings->admindetails_name . " at " . hide_email($settings->admindetails_email) . ") for assistance."));
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach($pageindex as $entry)
|
||||||
|
{
|
||||||
|
$zip->addFile("$env->storage_prefix$entry->filename", $entry->filename);
|
||||||
|
}
|
||||||
|
|
||||||
|
if($zip->close() !== true)
|
||||||
|
{
|
||||||
|
http_response_code(500);
|
||||||
|
exit(page_renderer::render("Export error - $settings->sitename", "Pepperminty wiki was unable to close the temporary zip file after creating it. Please contact $settings->sitename's administrator (" . $settings->admindetails_name . " at " . hide_email($settings->admindetails_email) . ") for assistance."));
|
||||||
|
}
|
||||||
|
|
||||||
|
header("content-type: application/zip");
|
||||||
|
header("content-disposition: attachment; filename=$settings->sitename-export.zip");
|
||||||
|
header("content-length: " . filesize($tmpfilename));
|
||||||
|
|
||||||
|
$zip_handle = fopen($tmpfilename, "rb");
|
||||||
|
fpassthru($zip_handle);
|
||||||
|
fclose($zip_handle);
|
||||||
|
unlink($tmpfilename);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Add a section to the help page
|
||||||
|
add_help_section("50-export", "Exporting", "<p>$settings->sitename supports exporting the entire wiki's content as a zip. Note that you may need to be a moderator in order to do this. Also note that you should check for permission before doing so, even if you are able to export without asking.</p>
|
||||||
|
<p>To perform an export, go to the credits page and click "Export as zip - Check for permission first".</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
154
docs/ModuleApi/files/modules/page-help.php.txt
Normal file
154
docs/ModuleApi/files/modules/page-help.php.txt
Normal file
|
@ -0,0 +1,154 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Help page",
|
||||||
|
"version" => "0.9.3",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a rather useful help page. Access through the 'help' action. This module also exposes help content added to Pepperminty Wiki's inbuilt invisible help section system.",
|
||||||
|
"id" => "page-help",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=help[&dev=yes] Get a help page
|
||||||
|
* @apiDescription Get a customised help page. This page will be slightly different for every wiki, depending on their name, settings, and installed modules.
|
||||||
|
* @apiName Help
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} dev Set to 'yes' to get a developer help page instead. The developer help page gives some general information about which modules and help page sections are registered, and other various (non-sensitive) settings.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ ███████ ██ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ █████ ██ ██████
|
||||||
|
* ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ███████ ███████ ██
|
||||||
|
*/
|
||||||
|
add_action("help", function() {
|
||||||
|
global $env, $paths, $settings, $version, $help_sections, $actions;
|
||||||
|
|
||||||
|
// Sort the help sections by key
|
||||||
|
ksort($help_sections, SORT_NATURAL);
|
||||||
|
|
||||||
|
if(isset($_GET["dev"]) and $_GET["dev"] == "yes")
|
||||||
|
{
|
||||||
|
$title = "Developers Help - $settings->sitename";
|
||||||
|
$content = "<p>$settings->sitename runs on Pepperminty Wiki, an entire wiki packed into a single file. This page contains some information that developers may find useful.</p>
|
||||||
|
<p>A full guide to developing a Pepperminty Wiki module can be found <a href='//github.com/sbrl/Pepperminty-Wiki/blob/master/Module_API_Docs.md#module-api-documentation'>on GitHub</a>.</p>
|
||||||
|
<h3>Registered Help Sections</h3>
|
||||||
|
<p>The following help sections are currently registered:</p>
|
||||||
|
<table><tr><th>Index</th><th>Title</th><th>Length</th></tr>\n";
|
||||||
|
$totalSize = 0;
|
||||||
|
foreach($help_sections as $index => $section)
|
||||||
|
{
|
||||||
|
$sectionLength = strlen($section["content"]);
|
||||||
|
$totalSize += $sectionLength;
|
||||||
|
|
||||||
|
$content .= "\t\t\t<tr><td>$index</td><td>" . $section["title"] . "</td><td>" . human_filesize($sectionLength) . "</td></tr>\n";
|
||||||
|
}
|
||||||
|
$content .= "\t\t\t<tr><th colspan='2' style='text-align: right;'>Total:</th><td>" . human_filesize($totalSize) . "</td></tr>\n";
|
||||||
|
$content .= "\t\t</table>\n";
|
||||||
|
$content .= "<h3>Registered Actions</h3>";
|
||||||
|
$registeredActions = array_keys(get_object_vars($actions));
|
||||||
|
sort($registeredActions);
|
||||||
|
$content .= "<p>The following actions are currently registered:</p>\n";
|
||||||
|
$content .= "<p>" . implode(", ", $registeredActions) . "</p>";
|
||||||
|
$content .= "<h3>Environment</h3>\n";
|
||||||
|
$content .= "<ul>\n";
|
||||||
|
$content .= "<li>$settings->sitename's root directory is " . (!is_writeable(__DIR__) ? "not " : "") . "writeable.</li>\n";
|
||||||
|
$content .= "<li>The page index is currently " . human_filesize(filesize($paths->pageindex)) . " in size, and took " . $env->perfdata->pageindex_decode_time . "ms to decode.</li>";
|
||||||
|
if(module_exists("feature-search"))
|
||||||
|
{
|
||||||
|
search::measure_invindex_load_time($paths->searchindex);
|
||||||
|
$content .= "<li>The search index is currently " . human_filesize(filesize($paths->searchindex)) . " in size, and took " . $env->perfdata->searchindex_decode_time . "ms to decode.</li>";
|
||||||
|
}
|
||||||
|
|
||||||
|
$content .= "<li>The id index is currently " . human_filesize(filesize($paths->idindex)) . " in size, and took " . $env->perfdata->idindex_decode_time . "ms to decode.</li>";
|
||||||
|
|
||||||
|
$content .= "</ul>\n";
|
||||||
|
|
||||||
|
$content .= "<h3>Data</h3>\n";
|
||||||
|
|
||||||
|
$wikiSize = new stdClass();
|
||||||
|
$wikiSize->all = 0;
|
||||||
|
$wikiSize->images = 0;
|
||||||
|
$wikiSize->audio = 0;
|
||||||
|
$wikiSize->videos = 0;
|
||||||
|
$wikiSize->pages = 0;
|
||||||
|
$wikiSize->history = 0;
|
||||||
|
$wikiSize->indexes = 0;
|
||||||
|
$wikiSize->other = 0;
|
||||||
|
$wikiFiles = glob_recursive($env->storage_prefix . "*");
|
||||||
|
foreach($wikiFiles as $filename)
|
||||||
|
{
|
||||||
|
$extension = strtolower(substr($filename, strrpos($filename, ".") + 1));
|
||||||
|
if($extension === "php") continue; // Skip php files
|
||||||
|
|
||||||
|
$nextFilesize = filesize($filename);
|
||||||
|
$wikiSize->all += $nextFilesize;
|
||||||
|
if($extension[0] === "r") // It's a revision of a page
|
||||||
|
$wikiSize->history += $nextFilesize;
|
||||||
|
else if($extension == "md") // It's a page
|
||||||
|
$wikiSize->pages += $nextFilesize;
|
||||||
|
else if($extension == "json") // It's an index
|
||||||
|
$wikiSize->indexes += $nextFilesize;
|
||||||
|
else if(in_array($extension, [ // It's an uploaded image
|
||||||
|
"jpg", "jpeg", "png", "gif", "webp", "svg"
|
||||||
|
]))
|
||||||
|
$wikiSize->images += $nextFilesize;
|
||||||
|
else if(in_array($extension, [ "mp3", "ogg", "wav", "aac", "m4a" ])) // It's an audio file
|
||||||
|
$wikiSize->audio += $nextFilesize;
|
||||||
|
else if(in_array($extension, [ "avi", "mp4", "m4v", "webm" ])) // It's a video file
|
||||||
|
$wikiSize->videos += $nextFilesize;
|
||||||
|
else
|
||||||
|
$wikiSize->other += $nextFilesize;
|
||||||
|
}
|
||||||
|
|
||||||
|
$content .= "<p>$settings->sitename is currently " . human_filesize($wikiSize->all) . " in size.</p>\n";
|
||||||
|
$content .= "<div class='stacked-bar'>
|
||||||
|
<div class='stacked-bar-part' style='flex: $wikiSize->indexes; background: hsla(191, 100%, 41%, 0.6)'>Indexes: " . human_filesize($wikiSize->indexes) . "</div>
|
||||||
|
<div class='stacked-bar-part' style='flex: $wikiSize->pages; background: hsla(112, 83%, 40%, 0.6)'>Pages: " . human_filesize($wikiSize->pages) . "</div>
|
||||||
|
<div class='stacked-bar-part' style='flex: $wikiSize->history; background: hsla(116, 84%, 25%, 0.68)'>Page History: " . human_filesize($wikiSize->history) . "</div>
|
||||||
|
<div class='stacked-bar-part' style='flex: $wikiSize->images; background: hsla(266, 88%, 47%, 0.6)'>Images: " . human_filesize($wikiSize->images) . "</div>\n";
|
||||||
|
if($wikiSize->audio > 0)
|
||||||
|
$content .= "<div class='stacked-bar-part' style='flex: $wikiSize->audio; background: hsla(237, 68%, 38%, 0.64)'>Audio: " . human_filesize($wikiSize->audio) . "</div>\n";
|
||||||
|
if($wikiSize->videos > 0)
|
||||||
|
$content .= "<div class='stacked-bar-part' style='flex: $wikiSize->videos; background: hsla(338, 79%, 54%, 0.64)'>Videos: " . human_filesize($wikiSize->videos) . "</div>\n";
|
||||||
|
if($wikiSize->other > 0)
|
||||||
|
$content .= "<div class='stacked-bar-part' style='flex: $wikiSize->other; background: hsla(62, 55%, 90%, 0.6)'>Other: " . human_filesize($wikiSize->other) . "</div>\n";
|
||||||
|
$content .= "</div>";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$title = "Help - $settings->sitename";
|
||||||
|
|
||||||
|
$content = " <h1>$settings->sitename Help</h1>
|
||||||
|
<p>Welcome to $settings->sitename!</p>
|
||||||
|
<p>$settings->sitename is powered by Pepperminty Wiki, a complete wiki in a box you can drop into your server and expect it to just <em>work</em>.</p>";
|
||||||
|
|
||||||
|
// Todo Insert a table of contents here?
|
||||||
|
|
||||||
|
foreach($help_sections as $index => $section)
|
||||||
|
{
|
||||||
|
// Todo add a button that you can click to get a permanent link
|
||||||
|
// to this section.
|
||||||
|
$content .= "<h2 id='$index' class='help-section-header'>" . $section["title"] . "</h2>\n";
|
||||||
|
$content .= $section["content"] . "\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
exit(page_renderer::render_main($title, $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
// Register a help section on general navigation
|
||||||
|
add_help_section("5-navigation", "Navigating", "<p>All the navigation links can be found on the top bar, along with a search box (if your site administrator has enabled it). There is also a "More..." menu in the top right that contains some additional links that you may fine useful.</p>
|
||||||
|
<p>This page, along with the credits page, can be found on the bar at the bottom of every page.</p>");
|
||||||
|
|
||||||
|
add_help_section("1-extra", "Extra Information", "<p>You can find out whch version of Pepperminty Wiki $settings->sitename is using by visiting the <a href='?action=credits'>credits</a> page.</p>
|
||||||
|
<p>Information for developers can be found on <a href='?action=help&dev=yes'>this page</a>.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
154
docs/ModuleApi/files/modules/page-list.php.txt
Normal file
154
docs/ModuleApi/files/modules/page-list.php.txt
Normal file
|
@ -0,0 +1,154 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Page list",
|
||||||
|
"version" => "0.10.3",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a page that lists all the pages in the index along with their metadata.",
|
||||||
|
"id" => "page-list",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=list List all pages
|
||||||
|
* @apiDescription Gets a list of all the pages currently stored on the wiki.
|
||||||
|
* @apiName ListPages
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ ███████ ████████
|
||||||
|
* ██ ██ ██ ██
|
||||||
|
* ██ ██ ███████ ██
|
||||||
|
* ██ ██ ██ ██
|
||||||
|
* ███████ ██ ███████ ██
|
||||||
|
*/
|
||||||
|
add_action("list", function() {
|
||||||
|
global $pageindex, $settings;
|
||||||
|
|
||||||
|
$title = "All Pages";
|
||||||
|
$content = " <h1>$title on $settings->sitename</h1>";
|
||||||
|
|
||||||
|
$sorted_pageindex = get_object_vars($pageindex);
|
||||||
|
ksort($sorted_pageindex, SORT_NATURAL);
|
||||||
|
|
||||||
|
$content .= generate_page_list(array_keys($sorted_pageindex));
|
||||||
|
exit(page_renderer::render_main("$title - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=list-tags[&tag=] Get a list of tags or pages with a certain tag
|
||||||
|
* @apiDescription Gets a list of all tags on the wiki. Adding the `tag` parameter causes a list of pages with the given tag to be returned instead.
|
||||||
|
* @apiName ListTags
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} tag Optional. If provided a list of all the pages with that tag is returned instead.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ ███████ ████████ ████████ █████ ██████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ███████ ██ █████ ██ ███████ ██ ███ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ███████ ██ ██ ██ ██ ██████ ███████
|
||||||
|
*/
|
||||||
|
add_action("list-tags", function() {
|
||||||
|
global $pageindex, $settings;
|
||||||
|
|
||||||
|
if(!isset($_GET["tag"]))
|
||||||
|
{
|
||||||
|
// Render a list of all tags
|
||||||
|
$all_tags = [];
|
||||||
|
foreach($pageindex as $entry)
|
||||||
|
{
|
||||||
|
if(!isset($entry->tags)) continue;
|
||||||
|
foreach($entry->tags as $tag)
|
||||||
|
{
|
||||||
|
if(!in_array($tag, $all_tags)) $all_tags[] = $tag;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sort($all_tags, SORT_NATURAL);
|
||||||
|
|
||||||
|
$content = "<h1>All tags</h1>
|
||||||
|
<ul class='tag-list'>\n";
|
||||||
|
foreach($all_tags as $tag)
|
||||||
|
{
|
||||||
|
$content .= " <li><a href='?action=list-tags&tag=" . rawurlencode($tag) . "' class='mini-tag'>$tag</a></li>\n";
|
||||||
|
}
|
||||||
|
$content .= "</ul>\n";
|
||||||
|
|
||||||
|
exit(page_renderer::render("All tags - $settings->sitename", $content));
|
||||||
|
}
|
||||||
|
$tag = $_GET["tag"];
|
||||||
|
|
||||||
|
|
||||||
|
$sorted_pageindex = get_object_vars($pageindex);
|
||||||
|
ksort($sorted_pageindex, SORT_NATURAL);
|
||||||
|
|
||||||
|
$pagelist = [];
|
||||||
|
foreach($pageindex as $pagename => $pagedetails)
|
||||||
|
{
|
||||||
|
if(empty($pagedetails->tags)) continue;
|
||||||
|
if(in_array($tag, $pagedetails->tags))
|
||||||
|
$pagelist[] = $pagename;
|
||||||
|
}
|
||||||
|
|
||||||
|
$content = "<h1>Tag List: $tag</h1>\n";
|
||||||
|
$content .= generate_page_list($pagelist);
|
||||||
|
|
||||||
|
$content .= "<p>(<a href='?action=list-tags'>All tags</a>)</p>\n";
|
||||||
|
|
||||||
|
exit(page_renderer::render("$tag - Tag List - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("30-all-pages-tags", "Listing pages and tags", "<p>All the pages and tags on $settings->sitename are listed on a pair of pages to aid navigation. The list of all pages on $settings->sitename can be found by clicking "All Pages" on the top bar. The list of all the tags currently in use can be found by clicking "All Tags" in the "More..." menu in the top right.</p>
|
||||||
|
<p>Each tag on either page can be clicked, and leads to a list of all pages that possess that particular tag.</p>
|
||||||
|
<p>Redirect pages are shown in italics. A page's last known editor is also shown next to each entry on a list of pages, along with the last known size (which should correct, unless it was changed outside of $settings->sitename) and the time since the last modification (hovering over this will show the exact time that the last modification was made in a tooltip).</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders a list of pages as HTML.
|
||||||
|
* @package page-list
|
||||||
|
* @param string[] $pagelist A list of page names to include in the list.
|
||||||
|
* @return string The specified list of pages as HTML.
|
||||||
|
*/
|
||||||
|
function generate_page_list($pagelist)
|
||||||
|
{
|
||||||
|
global $pageindex;
|
||||||
|
// ✎ ✎ 🕒 🕒
|
||||||
|
$result = "<ul class='page-list'>\n";
|
||||||
|
foreach($pagelist as $pagename)
|
||||||
|
{
|
||||||
|
// Construct a list of tags that are attached to this page ready for display
|
||||||
|
$tags = "";
|
||||||
|
// Make sure that this page does actually have some tags first
|
||||||
|
if(isset($pageindex->$pagename->tags))
|
||||||
|
{
|
||||||
|
foreach($pageindex->$pagename->tags as $tag)
|
||||||
|
{
|
||||||
|
$tags .= "<a href='?action=list-tags&tag=" . rawurlencode($tag) . "' class='mini-tag'>$tag</a>, ";
|
||||||
|
}
|
||||||
|
$tags = substr($tags, 0, -2); // Remove the last ", " from the tag list
|
||||||
|
}
|
||||||
|
|
||||||
|
$pageDisplayName = $pagename;
|
||||||
|
if(isset($pageindex->$pagename) and
|
||||||
|
!empty($pageindex->$pagename->redirect))
|
||||||
|
$pageDisplayName = "<em>$pageDisplayName</em>";
|
||||||
|
|
||||||
|
$result .= "<li><a href='index.php?page=" . rawurlencode($pagename) . "'>$pageDisplayName</a>
|
||||||
|
<em class='size'>(" . human_filesize($pageindex->$pagename->size) . ")</em>
|
||||||
|
<span class='editor'><span class='texticon cursor-query' title='Last editor'>✎</span> " . $pageindex->$pagename->lasteditor . "</span>
|
||||||
|
<time class='cursor-query' title='" . date("l jS \of F Y \a\\t h:ia T", $pageindex->$pagename->lastmodified) . "'>" . human_time_since($pageindex->$pagename->lastmodified) . "</time>
|
||||||
|
<span class='tags'>$tags</span></li>";
|
||||||
|
}
|
||||||
|
$result .= " </ul>\n";
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
160
docs/ModuleApi/files/modules/page-login.php.txt
Normal file
160
docs/ModuleApi/files/modules/page-login.php.txt
Normal file
|
@ -0,0 +1,160 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Login",
|
||||||
|
"version" => "0.8.5",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a pair of actions (login and checklogin) that allow users to login. You need this one if you want your users to be able to login.",
|
||||||
|
"id" => "page-login",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=login[&failed=yes][&returnto={someUrl}] Get the login page
|
||||||
|
* @apiName Login
|
||||||
|
* @apiGroup Authorisation
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} failed Setting to yes causes a login failure message to be displayed above the login form.
|
||||||
|
* @apiParam {string} returnto Set to the url to redirect to upon a successful login.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██████ ██████ ██ ███ ██
|
||||||
|
* ██ ██ ██ ██ ██ ████ ██
|
||||||
|
* ██ ██ ██ ██ ███ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██████ ██████ ██ ██ ████
|
||||||
|
*/
|
||||||
|
add_action("login", function() {
|
||||||
|
global $settings, $env;
|
||||||
|
|
||||||
|
// Build the action url that will actually perform the login
|
||||||
|
$login_form_action_url = "index.php?action=checklogin";
|
||||||
|
if(isset($_GET["returnto"]))
|
||||||
|
$login_form_action_url .= "&returnto=" . rawurlencode($_GET["returnto"]);
|
||||||
|
|
||||||
|
if($env->is_logged_in && !empty($_GET["returnto"]))
|
||||||
|
{
|
||||||
|
http_response_code(307);
|
||||||
|
header("location: " . $_GET["returnto"]);
|
||||||
|
}
|
||||||
|
|
||||||
|
$title = "Login to $settings->sitename";
|
||||||
|
$content = "<h1>Login to $settings->sitename</h1>\n";
|
||||||
|
if(isset($_GET["failed"]))
|
||||||
|
$content .= "\t\t<p><em>Login failed.</em></p>\n";
|
||||||
|
if(isset($_GET["required"]))
|
||||||
|
$content .= "\t\t<p><em>$settings->sitename requires that you login before continuing.</em></p>\n";
|
||||||
|
$content .= "\t\t<form method='post' action='$login_form_action_url'>
|
||||||
|
<label for='user'>Username:</label>
|
||||||
|
<input type='text' name='user' id='user' autofocus />
|
||||||
|
<br />
|
||||||
|
<label for='pass'>Password:</label>
|
||||||
|
<input type='password' name='pass' id='pass' />
|
||||||
|
<br />
|
||||||
|
<input type='submit' value='Login' />
|
||||||
|
</form>\n";
|
||||||
|
exit(page_renderer::render_main($title, $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=checklogin Perform a login
|
||||||
|
* @apiName CheckLogin
|
||||||
|
* @apiGroup Authorisation
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiParam {string} user The user name to login with.
|
||||||
|
* @apiParam {string} password The password to login with.
|
||||||
|
* @apiParam {string} returnto The URL to redirect to upon a successful login.
|
||||||
|
*
|
||||||
|
* @apiError InvalidCredentialsError The supplied credentials were invalid. Note that this error is actually a redirect to ?action=login&failed=yes (with the returnto parameter appended if you supplied one)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ ██ ██ ███████ ██████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ███████ █████ ██ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██ ██ ███████ ██████ ██ ██
|
||||||
|
*
|
||||||
|
* ██ ██████ ██████ ██ ███ ██
|
||||||
|
* ██ ██ ██ ██ ██ ████ ██
|
||||||
|
* ██ ██ ██ ██ ███ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██████ ██████ ██ ██ ████
|
||||||
|
*/
|
||||||
|
add_action("checklogin", function() {
|
||||||
|
global $settings, $env;
|
||||||
|
|
||||||
|
//actually do the login
|
||||||
|
if(isset($_POST["user"]) and isset($_POST["pass"]))
|
||||||
|
{
|
||||||
|
//the user wants to log in
|
||||||
|
$user = $_POST["user"];
|
||||||
|
$pass = $_POST["pass"];
|
||||||
|
if($settings->users->$user->password == hash_password($pass))
|
||||||
|
{
|
||||||
|
$env->is_logged_in = true;
|
||||||
|
$expiretime = time() + 60*60*24*30; //30 days from now
|
||||||
|
$_SESSION["$settings->sessionprefix-user"] = $user;
|
||||||
|
$_SESSION["$settings->sessionprefix-pass"] = hash_password($pass);
|
||||||
|
$_SESSION["$settings->sessionprefix-expiretime"] = $expiretime;
|
||||||
|
//redirect to wherever the user was going
|
||||||
|
http_response_code(302);
|
||||||
|
if(isset($_GET["returnto"]))
|
||||||
|
header("location: " . $_GET["returnto"]);
|
||||||
|
else
|
||||||
|
header("location: index.php");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
http_response_code(302);
|
||||||
|
$nextUrl = "index.php?action=login&failed=yes";
|
||||||
|
if(!empty($_GET["returnto"]))
|
||||||
|
$nextUrl .= "&returnto=" . rawurlencode($_GET["returnto"]);
|
||||||
|
header("location: $nextUrl");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
http_response_code(302);
|
||||||
|
$nextUrl = "index.php?action=login&failed=yes&badrequest=yes";
|
||||||
|
if(!empty($_GET["returnto"]))
|
||||||
|
$nextUrl .= "&returnto=" . rawurlencode($_GET["returnto"]);
|
||||||
|
header("location: $nextUrl");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Register a section on logging in on the help page.
|
||||||
|
add_help_section("30-login", "Logging in", "<p>In order to edit $settings->sitename and have your edit attributed to you, you need to be logged in. Depending on the settings, logging in may be a required step if you want to edit at all. Thankfully, loggging in is not hard. Simply click the "Login" link in the top left, type your username and password, and then click login.</p>
|
||||||
|
<p>If you do not have an account yet and would like one, try contacting <a href='mailto:" . hide_email($settings->admindetails_email) . "'>$settings->admindetails_name</a>, $settings->sitename's administrator and ask them nicely to see if they can create you an account.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hashes the given password according to the current settings defined
|
||||||
|
* in $settings.
|
||||||
|
* @package page-login
|
||||||
|
* @param string $pass The password to hash.
|
||||||
|
*
|
||||||
|
* @return string The hashed password. Uses sha3 if $settings->use_sha3 is
|
||||||
|
* enabled, or sha256 otherwise.
|
||||||
|
*/
|
||||||
|
function hash_password($pass)
|
||||||
|
{
|
||||||
|
global $settings;
|
||||||
|
if($settings->use_sha3)
|
||||||
|
{
|
||||||
|
return sha3($pass, 256);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return hash("sha256", $pass);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
41
docs/ModuleApi/files/modules/page-logout.php.txt
Normal file
41
docs/ModuleApi/files/modules/page-logout.php.txt
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Logout",
|
||||||
|
"version" => "0.6",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds an action to let users user out. For security reasons it is wise to add this module since logging in automatically opens a session that is valid for 30 days.",
|
||||||
|
"id" => "page-logout",
|
||||||
|
"code" => function() {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {post} ?action=logout Logout
|
||||||
|
* @apiDescription Logout. Make sure that your bot requests this URL when it is finished - this call not only clears your cookies but also clears the server's session file as well. Note that you can request this when you are already logged out and it will completely wipe your session on the server.
|
||||||
|
* @apiName Logout
|
||||||
|
* @apiGroup Authorisation
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██████ ██████ ██████ ██ ██ ████████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ███ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██████ ██████ ██████ ██████ ██
|
||||||
|
*/
|
||||||
|
add_action("logout", function() {
|
||||||
|
global $env;
|
||||||
|
$env->is_logged_in = false;
|
||||||
|
unset($env->user);
|
||||||
|
unset($env->pass);
|
||||||
|
//clear the session variables
|
||||||
|
$_SESSION = [];
|
||||||
|
session_destroy();
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("Logout Successful", "<h1>Logout Successful</h1>
|
||||||
|
<p>Logout Successful. You can login again <a href='index.php?action=login'>here</a>.</p>"));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
132
docs/ModuleApi/files/modules/page-move.php.txt
Normal file
132
docs/ModuleApi/files/modules/page-move.php.txt
Normal file
|
@ -0,0 +1,132 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Page mover",
|
||||||
|
"version" => "0.9.2",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds an action to allow administrators to move pages.",
|
||||||
|
"id" => "page-move",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=move[&new_name={newPageName}] Move a page
|
||||||
|
* @apiName Move
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Moderator
|
||||||
|
*
|
||||||
|
* @apiParam {string} new_name The new name to move the page to. If not set a page will be returned containing a move page form.
|
||||||
|
*
|
||||||
|
* @apiUse UserNotModeratorError
|
||||||
|
* @apiError EditingDisabledError Editing is disabled on this wiki, so pages can't be moved.
|
||||||
|
* @apiError PageExistsAtDestinationError A page already exists with the specified new name.
|
||||||
|
* @apiError NonExistentPageError The page you're trying to move doesn't exist in the first place.
|
||||||
|
* @apiError PreExistingFileError A pre-existing file on the server's file system was detected.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ███ ███ ██████ ██ ██ ███████
|
||||||
|
* ████ ████ ██ ██ ██ ██ ██
|
||||||
|
* ██ ████ ██ ██ ██ ██ ██ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██████ ████ ███████
|
||||||
|
*/
|
||||||
|
add_action("move", function() {
|
||||||
|
global $pageindex, $settings, $env, $paths;
|
||||||
|
if(!$settings->editing)
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Moving $env->page - error", "<p>You tried to move $env->page, but editing is disabled on this wiki.</p>
|
||||||
|
<p>If you wish to move this page, please re-enable editing on this wiki first.</p>
|
||||||
|
<p><a href='index.php?page=$env->page'>Go back to $env->page</a>.</p>
|
||||||
|
<p>Nothing has been changed.</p>"));
|
||||||
|
}
|
||||||
|
if(!$env->is_admin)
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Moving $env->page - Error", "<p>You tried to move $env->page, but you do not have permission to do that.</p>
|
||||||
|
<p>You should try <a href='index.php?action=login'>logging in</a> as an admin.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!isset($_GET["new_name"]) or strlen($_GET["new_name"]) == 0)
|
||||||
|
exit(page_renderer::render_main("Moving $env->page", "<h2>Moving $env->page</h2>
|
||||||
|
<form method='get' action='index.php'>
|
||||||
|
<input type='hidden' name='action' value='move' />
|
||||||
|
<label for='old_name'>Old Name:</label>
|
||||||
|
<input type='text' name='page' value='$env->page' readonly />
|
||||||
|
<br />
|
||||||
|
<label for='new_name'>New Name:</label>
|
||||||
|
<input type='text' name='new_name' />
|
||||||
|
<br />
|
||||||
|
<input type='submit' value='Move Page' />
|
||||||
|
</form>"));
|
||||||
|
|
||||||
|
$new_name = makepathsafe($_GET["new_name"]);
|
||||||
|
|
||||||
|
$page = $env->page;
|
||||||
|
if(!isset($pageindex->$page))
|
||||||
|
exit(page_renderer::render_main("Moving $env->page - Error", "<p>You tried to move $env->page to $new_name, but the page with the name $env->page does not exist in the first place.</p>
|
||||||
|
<p>Nothing has been changed.</p>"));
|
||||||
|
|
||||||
|
if($env->page == $new_name)
|
||||||
|
exit(page_renderer::render_main("Moving $env->page - Error", "<p>You tried to move $page, but the new name you gave is the same as it's current name.</p>
|
||||||
|
<p>It is possible that you tried to use some characters in the new name that are not allowed and were removed.</p>
|
||||||
|
<p>Page names may not contain any of these characters: <code>?%*:|\"><()[]</code></p>"));
|
||||||
|
|
||||||
|
if(isset($pageindex->$page->uploadedfile) and
|
||||||
|
file_exists($new_name))
|
||||||
|
exit(page_renderer::render_main("Moving $env->page - Error - $settings->sitename", "<p>Whilst moving the file associated with $env->page, $settings->sitename detected a pre-existing file on the server's file system. Because $settings->sitename can't determine whether the existing file is important to another component of $settings->sitename or it's host web server, the move have been aborted - just in case.</p>
|
||||||
|
<p>If you know that this move is actually safe, please get your site administrator (" . $settings->admindetails_name . ") to perform the move manually. Their contact address can be found at the bottom of every page (including this one).</p>"));
|
||||||
|
|
||||||
|
// Move the page in the page index
|
||||||
|
$pageindex->$new_name = new stdClass();
|
||||||
|
foreach($pageindex->$page as $key => $value)
|
||||||
|
{
|
||||||
|
$pageindex->$new_name->$key = $value;
|
||||||
|
}
|
||||||
|
unset($pageindex->$page);
|
||||||
|
$pageindex->$new_name->filename = "$new_name.md";
|
||||||
|
|
||||||
|
// If this page has an associated file, then we should move that too
|
||||||
|
if(!empty($pageindex->$new_name->uploadedfile))
|
||||||
|
{
|
||||||
|
// Update the filepath to point to the description and not the image
|
||||||
|
$pageindex->$new_name->filename = $pageindex->$new_name->filename . ".md";
|
||||||
|
// Move the file in the pageindex
|
||||||
|
$pageindex->$new_name->uploadedfilepath = $new_name;
|
||||||
|
// Move the file on disk
|
||||||
|
rename($env->storage_prefix . $env->page, $env->storage_prefix . $new_name);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Come to think about it, we should probably move the history while we're at it
|
||||||
|
foreach($pageindex->$new_name->history as &$revisionData)
|
||||||
|
{
|
||||||
|
// We're only interested in edits
|
||||||
|
if($revisionData->type !== "edit") continue;
|
||||||
|
$newRevisionName = $pageindex->$new_name->filename . ".r$revisionData->rid";
|
||||||
|
// Move the revision to it's new name
|
||||||
|
rename(
|
||||||
|
$env->storage_prefix . $revisionData->filename,
|
||||||
|
$env->storage_prefix . $newRevisionName
|
||||||
|
);
|
||||||
|
// Update the pageindex entry
|
||||||
|
$revisionData->filename = $newRevisionName;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Save the updated pageindex
|
||||||
|
file_put_contents($paths->pageindex, json_encode($pageindex, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
|
// Move the page on the disk
|
||||||
|
rename("$env->storage_prefix$env->page.md", "$env->storage_prefix$new_name.md");
|
||||||
|
|
||||||
|
// Move the page in the id index
|
||||||
|
ids::movepagename($page, $new_name);
|
||||||
|
|
||||||
|
// Exit with a nice message
|
||||||
|
exit(page_renderer::render_main("Moving $env->page", "<p><a href='index.php?page=$env->page'>$env->page</a> has been moved to <a href='index.php?page=$new_name'>$new_name</a> successfully.</p>"));
|
||||||
|
});
|
||||||
|
|
||||||
|
// Register a help section
|
||||||
|
add_help_section("60-move", "Moving Pages", "<p>If you are logged in as an administrator, then you have the power to move pages. To do this, click "Delete" in the "More..." menu when browsing the pge you wish to move. Type in the new name of the page, and then click "Move Page".</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
89
docs/ModuleApi/files/modules/page-update.php.txt
Normal file
89
docs/ModuleApi/files/modules/page-update.php.txt
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Update",
|
||||||
|
"version" => "0.6.2",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds an update page that downloads the latest stable version of Pepperminty Wiki. This module is currently outdated as it doesn't save your module preferences.",
|
||||||
|
"id" => "page-update",
|
||||||
|
"code" => function() {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=update[do=yes] Update the wiki
|
||||||
|
* @apiDescription Update the wiki by downloading a new version of Pepperminty Wiki from the URL specified in the settings. Note that unless you change the url from it's default, all custom modules installed will be removed. **Note also that this plugin is currently out of date. Use with extreme caution!**
|
||||||
|
* @apiName Update
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Moderator
|
||||||
|
*
|
||||||
|
* @apiParam {string} do Set to 'yes' to actually do the upgrade. Omission causes a page asking whether an update is desired instead.
|
||||||
|
* @apiParam {string} secret The wiki's secret string that's stored in the settings.
|
||||||
|
*
|
||||||
|
* @apiUse UserNotModeratorError
|
||||||
|
* @apiParam InvalidSecretError The supplied secret doesn't match up with the secret stored in the wiki's settings.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ ██████ ██████ █████ ████████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██████ ██ ██ ███████ ██ █████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ██ ██████ ██ ██ ██ ███████
|
||||||
|
*/
|
||||||
|
add_action("update", function() {
|
||||||
|
global $settings, $env;
|
||||||
|
|
||||||
|
if(!$env->is_admin)
|
||||||
|
{
|
||||||
|
http_response_code(401);
|
||||||
|
exit(page_renderer::render_main("Update - Error", "<p>You must be an administrator to do that.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!isset($_GET["do"]) or $_GET["do"] !== "true" or $_GET["do"] !== "yes")
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Update $settings->sitename", "<p>This page allows you to update $settings->sitename.</p>
|
||||||
|
<p>Currently, $settings->sitename is using $settings->version of Pepperminty Wiki.</p>
|
||||||
|
<p>This script will automatically download and install the latest version of Pepperminty Wiki from the url of your choice (see settings), regardless of whether an update is actually needed (version checking isn't implemented yet).</p>
|
||||||
|
<p>To update $settings->sitename, fill out the form below and click click the update button.</p>
|
||||||
|
<p>Note that a backup system has not been implemented yet! If this script fails you will loose your wiki's code and have to re-build it.</p>
|
||||||
|
<form method='get' action=''>
|
||||||
|
<input type='hidden' name='action' value='update' />
|
||||||
|
<input type='hidden' name='do' value='true' />
|
||||||
|
<label for='secret'>$settings->sitename's secret code</label>
|
||||||
|
<input type='text' name='secret' value='' />
|
||||||
|
<input type='submit' value='Update' />
|
||||||
|
</form>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!isset($_GET["secret"]) or $_GET["secret"] !== $settings->sitesecret)
|
||||||
|
{
|
||||||
|
exit(page_renderer::render_main("Update $settings->sitename - Error", "<p>You forgot to enter $settings->sitename's secret code or entered it incorrectly. $settings->sitename's secret can be found in the settings portion of <code>index.php</code>.</p>"));
|
||||||
|
}
|
||||||
|
|
||||||
|
$settings_separator = "/////////////// Do not edit below this line unless you know what you are doing! ///////////////";
|
||||||
|
|
||||||
|
$log = "Beginning update...\n";
|
||||||
|
|
||||||
|
$log .= "I am <code>" . __FILE__ . "</code>.\n";
|
||||||
|
$oldcode = file_get_contents(__FILE__);
|
||||||
|
$log .= "Fetching new code...";
|
||||||
|
$newcode = file_get_contents($settings->updateurl);
|
||||||
|
$log .= "done.\n";
|
||||||
|
|
||||||
|
$log .= "Rewriting <code>" . __FILE__ . "</code>...";
|
||||||
|
$settings = substr($oldcode, 0, strpos($oldcode, $settings_separator));
|
||||||
|
$code = substr($newcode, strpos($newcode, $settings_separator));
|
||||||
|
$result = $settings . $code;
|
||||||
|
$log .= "done.\n";
|
||||||
|
|
||||||
|
$log .= "Saving...";
|
||||||
|
file_put_contents(__FILE__, $result);
|
||||||
|
$log .= "done.\n";
|
||||||
|
|
||||||
|
$log .= "Update complete. I am now running on the latest version of Pepperminty Wiki.";
|
||||||
|
$log .= "The version number that I have updated to can be found on the credits or help ages.";
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("Update - Success", "<ul><li>" . implode("</li><li>", explode("\n", $log)) . "</li></ul>"));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
?>
|
||||||
|
|
49
docs/ModuleApi/files/modules/page-user-list.php.txt
Normal file
49
docs/ModuleApi/files/modules/page-user-list.php.txt
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "User list",
|
||||||
|
"version" => "0.1",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Adds a 'user-list' action that generates a list of users. Supports json output with 'format=json' in the queyr string.",
|
||||||
|
"id" => "page-user-list",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=user-list[format=json] List all users
|
||||||
|
* @apiName UserList
|
||||||
|
* @apiGroup Utility
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ ███████ ███████ ██████ ██ ██ ███████ ████████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ███████ █████ ██████ █████ ██ ██ ███████ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██████ ███████ ███████ ██ ██ ███████ ██ ███████ ██
|
||||||
|
*/
|
||||||
|
add_action("user-list", function() {
|
||||||
|
global $env, $settings;
|
||||||
|
|
||||||
|
$userList = array_keys(get_object_vars($settings->users));
|
||||||
|
if(!empty($_GET["format"]) && $_GET["format"] === "json")
|
||||||
|
{
|
||||||
|
header("content-type: application/json");
|
||||||
|
exit(json_encode($userList));
|
||||||
|
}
|
||||||
|
|
||||||
|
$content = "<h1>User List</h1>\n";
|
||||||
|
$content .= "<ul class='page-list user-list invisilist'>\n";
|
||||||
|
foreach($userList as $username)
|
||||||
|
$content .= "\t<li>" . page_renderer::render_username($username) . "</li>\n";
|
||||||
|
$content .= "</ul>\n";
|
||||||
|
|
||||||
|
exit(page_renderer::render_main("User List - $settings->sitename", $content));
|
||||||
|
});
|
||||||
|
|
||||||
|
add_help_section("800-raw-page-content", "Viewing Raw Page Content", "<p>Although you can use the edit page to view a page's source, you can also ask $settings->sitename to send you the raw page source and nothing else. This feature is intented for those who want to automate their interaction with $settings->sitename.</p>
|
||||||
|
<p>To use this feature, navigate to the page for which you want to see the source, and then alter the <code>action</code> parameter in the url's query string to be <code>raw</code>. If the <code>action</code> parameter doesn't exist, add it. Note that when used on an file's page this action will return the source of the description and not the file itself.</p>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
181
docs/ModuleApi/files/modules/page-view.php.txt
Normal file
181
docs/ModuleApi/files/modules/page-view.php.txt
Normal file
|
@ -0,0 +1,181 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Page viewer",
|
||||||
|
"version" => "0.16.7",
|
||||||
|
"author" => "Starbeamrainbowlabs",
|
||||||
|
"description" => "Allows you to view pages. You really should include this one.",
|
||||||
|
"id" => "page-view",
|
||||||
|
"code" => function() {
|
||||||
|
/**
|
||||||
|
* @api {get} ?action=view[&page={pageName}][&revision=rid][&printable=yes] View a page
|
||||||
|
* @apiName View
|
||||||
|
* @apiGroup Page
|
||||||
|
* @apiPermission Anonymous
|
||||||
|
*
|
||||||
|
* @apiUse PageParameter
|
||||||
|
* @apiParam {number} revision The revision number to display.
|
||||||
|
* @apiParam {string} mode Optional. The display mode to use. Can hld the following values: 'normal' - The default. Sends a normal page. 'printable' - Sends a printable version of the page. 'contentonly' - Sends only the content of the page, not the extra stuff around it. 'parsedsourceonly' - Sends only the raw rendered source of the page, as it appears just after it has come out of the page parser. Useful for writing external tools (see also the `raw` action).
|
||||||
|
*
|
||||||
|
* @apiError NonExistentPageError The page doesn't exist and editing is disabled in the wiki's settings. If editing isn't disabled, you will be redirected to the edit page instead.
|
||||||
|
* @apiError NonExistentRevisionError The specified revision was not found.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ██ ██ ███████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ █████ ██ █ ██
|
||||||
|
* ██ ██ ██ ██ ██ ███ ██
|
||||||
|
* ████ ██ ███████ ███ ███
|
||||||
|
*/
|
||||||
|
add_action("view", function() {
|
||||||
|
global $pageindex, $settings, $env;
|
||||||
|
|
||||||
|
// Check to make sure that the page exists
|
||||||
|
$page = $env->page;
|
||||||
|
if(!isset($pageindex->$page))
|
||||||
|
{
|
||||||
|
// todo make this intelligent so we only redirect if the user is actually able to create the page
|
||||||
|
if($settings->editing)
|
||||||
|
{
|
||||||
|
// Editing is enabled, redirect to the editing page
|
||||||
|
http_response_code(307); // Temporary redirect
|
||||||
|
header("location: index.php?action=edit&newpage=yes&page=" . rawurlencode($env->page));
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Editing is disabled, show an error message
|
||||||
|
http_response_code(404);
|
||||||
|
exit(page_renderer::render_main("404: Page not found - $env->page - $settings->sitename", "<p>$env->page does not exist.</p><p>Since editing is currently disabled on this wiki, you may not create this page. If you feel that this page should exist, try contacting this wiki's Administrator.</p>"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
header("last-modified: " . gmdate('D, d M Y H:i:s T', $pageindex->{$env->page}->lastmodified));
|
||||||
|
|
||||||
|
// Perform a redirect if the requested page is a redirect page
|
||||||
|
if(isset($pageindex->$page->redirect) &&
|
||||||
|
$pageindex->$page->redirect === true)
|
||||||
|
{
|
||||||
|
$send_redirect = true;
|
||||||
|
if(isset($_GET["redirect"]) && $_GET["redirect"] == "no")
|
||||||
|
$send_redirect = false;
|
||||||
|
|
||||||
|
if($send_redirect)
|
||||||
|
{
|
||||||
|
// Todo send an explanatory page along with the redirect
|
||||||
|
http_response_code(307);
|
||||||
|
$redirectUrl = "?action=$env->action&redirected_from=" . rawurlencode($env->page);
|
||||||
|
|
||||||
|
$hashCode = "";
|
||||||
|
$newPage = $pageindex->$page->redirect_target;
|
||||||
|
if(strpos($newPage, "#") !== false)
|
||||||
|
{
|
||||||
|
// Extract the part after the hash symbol
|
||||||
|
$hashCode = substr($newPage, strpos($newPage, "#") + 1);
|
||||||
|
// Remove the hash from the new page name
|
||||||
|
$newPage = substr($newPage, 0, strpos($newPage, "#"));
|
||||||
|
}
|
||||||
|
$redirectUrl .= "&page=" . rawurlencode($newPage);
|
||||||
|
if(!empty($pageindex->$newPage->redirect))
|
||||||
|
$redirectUrl .= "&redirect=no";
|
||||||
|
if(strlen($hashCode) > 0)
|
||||||
|
$redirectUrl .= "#$hashCode";
|
||||||
|
|
||||||
|
header("location: $redirectUrl");
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$title = "$env->page - $settings->sitename";
|
||||||
|
if(isset($pageindex->$page->protect) && $pageindex->$page->protect === true)
|
||||||
|
$title = $settings->protectedpagechar . $title;
|
||||||
|
$content = "";
|
||||||
|
if(!$env->is_history_revision)
|
||||||
|
$content .= "<h1>$env->page</h1>\n";
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$content .= "<h1>Revision #{$env->history->revision_number} of $env->page</h1>\n";
|
||||||
|
$content .= "<p class='revision-note'><em>(Revision saved by {$env->history->revision_data->editor} " . render_timestamp($env->history->revision_data->timestamp) . ". <a href='?page=" . rawurlencode($env->page) . "'>Jump to the current revision</a> or see a <a href='?action=history&page=" . rawurlencode($env->page) . "'>list of all revisions</a> for this page.)</em></p>\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add a visit parent page link if we're a subpage
|
||||||
|
if(get_page_parent($env->page) !== false) {
|
||||||
|
$content .= "<p class='link-parent-page'><em><a href='?action=view&page=" . rawurlencode(get_page_parent($env->page)) . "'>« " . htmlentities(get_page_parent($env->page)) . "</a></em></p>\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add an extra message if the requester was redirected from another page
|
||||||
|
if(isset($_GET["redirected_from"]))
|
||||||
|
$content .= "<p><em>Redirected from <a href='?page=" . rawurlencode($_GET["redirected_from"]) . "&redirect=no'>" . $_GET["redirected_from"] . "</a>.</em></p>\n";
|
||||||
|
|
||||||
|
$parsing_start = microtime(true);
|
||||||
|
|
||||||
|
$rawRenderedSource = parse_page_source(file_get_contents($env->page_filename));
|
||||||
|
$content .= $rawRenderedSource;
|
||||||
|
|
||||||
|
if(!empty($pageindex->$page->tags))
|
||||||
|
{
|
||||||
|
$content .= "<ul class='page-tags-display'>\n";
|
||||||
|
foreach($pageindex->$page->tags as $tag)
|
||||||
|
{
|
||||||
|
$content .= "<li><a href='?action=list-tags&tag=" . rawurlencode($tag) . "'>$tag</a></li>\n";
|
||||||
|
}
|
||||||
|
$content .= "\n</ul>\n";
|
||||||
|
}
|
||||||
|
/*else
|
||||||
|
{
|
||||||
|
$content .= "<aside class='page-tags-display'><small><em>(No tags yet! Add some by <a href='?action=edit&page=" . rawurlencode($env->page) . "'>editing this page</a>!)</em></small></aside>\n";
|
||||||
|
}*/
|
||||||
|
|
||||||
|
if($settings->show_subpages)
|
||||||
|
{
|
||||||
|
$subpages = get_object_vars(get_subpages($pageindex, $env->page));
|
||||||
|
|
||||||
|
if(count($subpages) > 0)
|
||||||
|
{
|
||||||
|
$content .= "<hr />";
|
||||||
|
$content .= "Subpages: ";
|
||||||
|
foreach($subpages as $subpage => $times_removed)
|
||||||
|
{
|
||||||
|
if($times_removed <= $settings->subpages_display_depth)
|
||||||
|
{
|
||||||
|
$content .= "<a href='?action=view&page=" . rawurlencode($subpage) . "'>$subpage</a>, ";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Remove the last comma from the content
|
||||||
|
$content = substr($content, 0, -2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$content .= "\n\t\t<!-- Took " . round((microtime(true) - $parsing_start) * 1000, 2) . "ms to parse page source -->\n";
|
||||||
|
|
||||||
|
// Prevent indexing of this page if it's still within the noindex
|
||||||
|
// time period
|
||||||
|
if(isset($settings->delayed_indexing_time) and
|
||||||
|
time() - $pageindex->{$env->page}->lastmodified < $settings->delayed_indexing_time)
|
||||||
|
header("x-robots-tag: noindex");
|
||||||
|
|
||||||
|
$settings->footer_message = "$env->page was last edited by {$pageindex->{$env->page}->lasteditor} at " . date('h:ia T \o\n j F Y', $pageindex->{$env->page}->lastmodified) . ".</p>\n<p>" . $settings->footer_message; // Add the last edited time to the footer
|
||||||
|
|
||||||
|
$mode = isset($_GET["mode"]) ? strtolower(trim($_GET["mode"])) : "normal";
|
||||||
|
switch($mode)
|
||||||
|
{
|
||||||
|
case "contentonly":
|
||||||
|
// Content only mode: Send only the content of the page
|
||||||
|
exit($content);
|
||||||
|
case "parsedsourceonly":
|
||||||
|
// Parsed source only mode: Send only the raw rendered source
|
||||||
|
exit($rawRenderedSource);
|
||||||
|
case "printable":
|
||||||
|
// Printable mode: Sends a printable version of the page
|
||||||
|
exit(page_renderer::render_minimal($title, $content));
|
||||||
|
case "normal":
|
||||||
|
default:
|
||||||
|
// Normal mode: Send a normal page
|
||||||
|
exit(page_renderer::render_main($title, $content));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
166
docs/ModuleApi/files/modules/parser-default-old.php.txt
Normal file
166
docs/ModuleApi/files/modules/parser-default-old.php.txt
Normal file
|
@ -0,0 +1,166 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Old Default Parser",
|
||||||
|
"version" => "0.10",
|
||||||
|
"author" => "Johnny Broadway & Starbeamrainbowlabs",
|
||||||
|
"description" => "The *old* default parser for Pepperminty Wiki. Based on Johnny Broadway's Slimdown (with more than a few modifications). This parser's features are documented in the help page. Superceded by a customised extension of parsedown extra.",
|
||||||
|
"id" => "parser-default-old",
|
||||||
|
"optional" => true,
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
add_parser("default", function($markdown) {
|
||||||
|
return Slimdown::render($markdown);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Register the help section
|
||||||
|
if($settings->parser != "default")
|
||||||
|
return; // Don't register the help section if we aren't the currently set parser.
|
||||||
|
add_help_section("20-parser-default", "Editor Syntax", "<p>$settings->sitename's editor uses a modified version of slimdown, a flavour of markdown that is implementated using regular expressions. See the credits page for more information and links to the original source for this. A quick reference can be found below:</p>
|
||||||
|
<table>
|
||||||
|
<tr><th>Type This</th><th>To get this</th>
|
||||||
|
<tr><td><code>_italics_</code></td><td><em>italics</em></td></tr>
|
||||||
|
<tr><td><code>*bold*</code></td><td><strong>bold</strong></td></tr>
|
||||||
|
<tr><td><code>~~Strikethrough~~</code></td><td><del>Strikethough</del></td></tr>
|
||||||
|
<tr><td><code>`code`</code></td><td><code>code</code></td></tr>
|
||||||
|
<tr><td><code># Heading</code></td><td><h2>Heading</h2></td></tr>
|
||||||
|
<tr><td><code>## Sub Heading</code></td><td><h3>Sub Heading</h3></td></tr>
|
||||||
|
<tr><td><code>[[Internal Link]]</code></td><td><a href='index.php?page=Internal Link'>Internal Link</a></td></tr>
|
||||||
|
<tr><td><code>[[Display Text|Internal Link]]</code></td><td><a href='index.php?page=Internal Link'>Display Text</a></td></tr>
|
||||||
|
<tr><td><code>[Display text](//google.com/)</code></td><td><a href='//google.com/'>Display Text</a></td></tr>
|
||||||
|
<tr><td><code>> Blockquote<br />> Some text</code></td><td><blockquote> Blockquote<br />Some text</td></tr>
|
||||||
|
<tr><td><code> - Apples<br /> * Oranges</code></td><td><ul><li>Apples</li><li>Oranges</li></ul></td></tr>
|
||||||
|
<tr><td><code>1. This is<br />2. an ordered list</code></td><td><ol><li>This is</li><li>an ordered list</li></ol></td></tr>
|
||||||
|
<tr><td><code>
|
||||||
|
---
|
||||||
|
</code></td><td><hr /></td></tr>
|
||||||
|
<!--<tr><tds><code> - One
|
||||||
|
- Two
|
||||||
|
- Three</code></td><td><ul><li>One</li><li>Two</li><li>Three</li></ul></td></tr>-->
|
||||||
|
<tr><td><code>![Alt text](//starbeamrainbowlabs.com/favicon-small.png)</code></td><td><img src='//starbeamrainbowlabs.com/favicon-small.png' alt='Alt text' /></td></code>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<p>In addition, the following extra syntax is supported for images:</p>
|
||||||
|
|
||||||
|
<pre><code>Size the image to at most 250 pixels wide:
|
||||||
|
![Alt text](//starbeamrainbowlabs.com/favicon-small.png 250px)
|
||||||
|
|
||||||
|
Size the image to at most 120px wide and have it float at the right ahnd size of the page:
|
||||||
|
![Alt text](//starbeamrainbowlabs.com/favicon-small.png 120px right)</code></pre>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* ███████ ██ ██ ███ ███ ██████ ██████ ██ ██ ███ ██ *
|
||||||
|
* ██ ██ ██ ████ ████ ██ ██ ██ ██ ██ ██ ████ ██ *
|
||||||
|
* ███████ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ █ ██ ██ ██ ██ *
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██ ██ ██ ██ *
|
||||||
|
* ███████ ███████ ██ ██ ██ ██████ ██████ ███ ███ ██ ████ *
|
||||||
|
***********************************************************************/
|
||||||
|
/**
|
||||||
|
* Slimdown - A very basic regex-based Markdown parser. Supports the
|
||||||
|
* following elements (and can be extended via Slimdown::add_rule()):
|
||||||
|
*
|
||||||
|
* - Headers
|
||||||
|
* - Links
|
||||||
|
* - Bold
|
||||||
|
* - Emphasis
|
||||||
|
* - Deletions
|
||||||
|
* - Quotes
|
||||||
|
* - Inline code
|
||||||
|
* - Blockquotes
|
||||||
|
* - Ordered/unordered lists
|
||||||
|
* - Horizontal rules
|
||||||
|
*
|
||||||
|
* Author: Johnny Broadway <johnny@johnnybroadway.com>
|
||||||
|
* Website: https://gist.github.com/jbroadway/2836900
|
||||||
|
* License: MIT
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Modified by Starbeamrainbowlabs (starbeamrainbowlabs)
|
||||||
|
*
|
||||||
|
* Changed bold to use single asterisks
|
||||||
|
* Changed italics to use single underscores
|
||||||
|
* Added one to add the heading levels (no <h1> tags allowed)
|
||||||
|
* Added wiki style internal link parsing
|
||||||
|
* Added wiki style internal link parsing with display text
|
||||||
|
* Added image support
|
||||||
|
*/
|
||||||
|
class Slimdown {
|
||||||
|
public static $rules = array (
|
||||||
|
'/\r\n/' => "\n", // new line normalisation
|
||||||
|
'/^(#+)(.*)/' => 'self::header', // headers
|
||||||
|
'/(\*+)(.*?)\1/' => '<strong>\2</strong>', // bold
|
||||||
|
'/(_)(.*?)\1/' => '<em>\2</em>', // emphasis
|
||||||
|
|
||||||
|
'/!\[(.*)\]\(([^\s]+)\s(\d+.+)\s(left|right)\)/' => '<img src="\2" alt="\1" style="max-width: \3; float: \4;" />', // images with size
|
||||||
|
'/!\[(.*)\]\(([^\s]+)\s(\d+.+)\)/' => '<img src="\2" alt="\1" style="max-width: \3;" />', // images with size
|
||||||
|
'/!\[(.*)\]\((.*)\)/' => '<img src="\2" alt="\1" />', // basic images
|
||||||
|
|
||||||
|
'/\[\[([a-zA-Z0-9\_\- ]+)\|([a-zA-Z0-9\_\- ]+)\]\]/' => '<a href=\'index.php?page=\1\'>\2</a>', //internal links with display text
|
||||||
|
'/\[\[([a-zA-Z0-9\_\- ]+)\]\]/' => '<a href=\'index.php?page=\1\'>\1</a>', //internal links
|
||||||
|
'/\[([^\[]+)\]\(([^\)]+)\)/' => '<a href=\'\2\' target=\'_blank\'>\1</a>', // links
|
||||||
|
'/\~\~(.*?)\~\~/' => '<del>\1</del>', // del
|
||||||
|
'/\:\"(.*?)\"\:/' => '<q>\1</q>', // quote
|
||||||
|
'/`(.*?)`/' => '<code>\1</code>', // inline code
|
||||||
|
'/\n\s*(\*|-)(.*)/' => 'self::ul_list', // ul lists
|
||||||
|
'/\n[0-9]+\.(.*)/' => 'self::ol_list', // ol lists
|
||||||
|
'/\n(>|\>)(.*)/' => 'self::blockquote', // blockquotes
|
||||||
|
'/\n-{3,}/' => "\n<hr />", // horizontal rule
|
||||||
|
'/\n([^\n]+)\n\n/' => 'self::para', // add paragraphs
|
||||||
|
'/<\/ul>\s?<ul>/' => '', // fix extra ul
|
||||||
|
'/<\/ol>\s?<ol>/' => '', // fix extra ol
|
||||||
|
'/<\/blockquote><blockquote>/' => "\n" // fix extra blockquote
|
||||||
|
);
|
||||||
|
private static function para ($regs) {
|
||||||
|
$line = $regs[1];
|
||||||
|
$trimmed = trim ($line);
|
||||||
|
if (preg_match ('/^<\/?(ul|ol|li|h|p|bl)/', $trimmed)) {
|
||||||
|
return "\n" . $line . "\n";
|
||||||
|
}
|
||||||
|
return sprintf ("\n<p>%s</p>\n", $trimmed);
|
||||||
|
}
|
||||||
|
private static function ul_list ($regs) {
|
||||||
|
$item = $regs[2];
|
||||||
|
return sprintf ("\n<ul>\n\t<li>%s</li>\n</ul>", trim($item));
|
||||||
|
}
|
||||||
|
private static function ol_list ($regs) {
|
||||||
|
$item = $regs[1];
|
||||||
|
return sprintf ("\n<ol>\n\t<li>%s</li>\n</ol>", trim($item));
|
||||||
|
}
|
||||||
|
private static function blockquote ($regs) {
|
||||||
|
$item = $regs[2];
|
||||||
|
return sprintf ("\n<blockquote>%s</blockquote>", trim($item));
|
||||||
|
}
|
||||||
|
private static function header ($regs) {
|
||||||
|
list ($tmp, $chars, $header) = $regs;
|
||||||
|
$level = strlen ($chars);
|
||||||
|
return sprintf ('<h%d>%s</h%d>', $level + 1, trim($header), $level + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add a rule.
|
||||||
|
*/
|
||||||
|
public static function add_rule ($regex, $replacement) {
|
||||||
|
self::$rules[$regex] = $replacement;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Render some Markdown into HTML.
|
||||||
|
*/
|
||||||
|
public static function render ($text) {
|
||||||
|
foreach (self::$rules as $regex => $replacement) {
|
||||||
|
if (is_callable ( $replacement)) {
|
||||||
|
$text = preg_replace_callback ($regex, $replacement, $text);
|
||||||
|
} else {
|
||||||
|
$text = preg_replace ($regex, $replacement, $text);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return trim ($text);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
669
docs/ModuleApi/files/modules/parser-parsedown.php.txt
Normal file
669
docs/ModuleApi/files/modules/parser-parsedown.php.txt
Normal file
|
@ -0,0 +1,669 @@
|
||||||
|
<?php
|
||||||
|
register_module([
|
||||||
|
"name" => "Parsedown",
|
||||||
|
"version" => "0.9.9",
|
||||||
|
"author" => "Emanuil Rusev & Starbeamrainbowlabs",
|
||||||
|
"description" => "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https://github.com/erusev/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.",
|
||||||
|
"id" => "parser-parsedown",
|
||||||
|
"code" => function() {
|
||||||
|
global $settings;
|
||||||
|
|
||||||
|
$parser = new PeppermintParsedown();
|
||||||
|
$parser->setInternalLinkBase("?page=%s");
|
||||||
|
add_parser("parsedown", function($source) use ($parser) {
|
||||||
|
global $settings;
|
||||||
|
if($settings->clean_raw_html)
|
||||||
|
$parser->setMarkupEscaped(true);
|
||||||
|
else
|
||||||
|
$parser->setMarkupEscaped(false);
|
||||||
|
$result = $parser->text($source);
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
});
|
||||||
|
|
||||||
|
// Wanted pages
|
||||||
|
statistic_add([
|
||||||
|
"id" => "wanted-pages",
|
||||||
|
"name" => "Wanted Pages",
|
||||||
|
"update" => function($old_stats) {
|
||||||
|
global $pageindex, $env;
|
||||||
|
|
||||||
|
$result = new stdClass(); // completed, value, state
|
||||||
|
$pages = [];
|
||||||
|
foreach($pageindex as $pagename => $pagedata) {
|
||||||
|
if(!file_exists($env->storage_prefix . $pagedata->filename)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
$page_content = file_get_contents($env->storage_prefix . $pagedata->filename);
|
||||||
|
preg_match_all("/\[\[([^\]]+)\]\]/", $page_content, $linked_pages);
|
||||||
|
if(count($linked_pages[1]) === 0)
|
||||||
|
continue; // No linked pages here
|
||||||
|
foreach($linked_pages[1] as $linked_page) {
|
||||||
|
// Strip everything after the | and the #
|
||||||
|
if(strpos($linked_page, "|") !== false)
|
||||||
|
$linked_page = substr($linked_page, 0, strpos($linked_page, "|"));
|
||||||
|
if(strpos($linked_page, "#") !== false)
|
||||||
|
$linked_page = substr($linked_page, 0, strpos($linked_page, "#"));
|
||||||
|
if(strlen($linked_page) === 0)
|
||||||
|
continue;
|
||||||
|
// Make sure we try really hard to find this page in the
|
||||||
|
// pageindex
|
||||||
|
if(!empty($pageindex->{ucfirst($linked_page)}))
|
||||||
|
$linked_page = ucfirst($linked_page);
|
||||||
|
else if(!empty($pageindex->{ucwords($linked_page)}))
|
||||||
|
$linked_page = ucwords($linked_page);
|
||||||
|
|
||||||
|
// We're only interested in pages that don't exist
|
||||||
|
if(!empty($pageindex->$linked_page)) continue;
|
||||||
|
|
||||||
|
if(empty($pages[$linked_page]))
|
||||||
|
$pages[$linked_page] = 0;
|
||||||
|
$pages[$linked_page]++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
arsort($pages);
|
||||||
|
|
||||||
|
$result->value = $pages;
|
||||||
|
$result->completed = true;
|
||||||
|
return $result;
|
||||||
|
},
|
||||||
|
"render" => function($stats_data) {
|
||||||
|
$result = "<h2>$stats_data->name</h2>\n";
|
||||||
|
$result .= "<table class='wanted-pages'>\n";
|
||||||
|
$result .= "\t<tr><th>Page Name</th><th>Linking Pages</th></tr>\n";
|
||||||
|
foreach($stats_data->value as $pagename => $linking_pages) {
|
||||||
|
$result .= "\t<tr><td>$pagename</td><td>$linking_pages</td></tr>\n";
|
||||||
|
}
|
||||||
|
$result .= "</table>\n";
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
add_help_section("20-parser-default", "Editor Syntax",
|
||||||
|
"<p>$settings->sitename's editor uses an extended version of <a href='http://parsedown.org/'>Parsedown</a> to render pages, which is a fantastic open source Github flavoured markdown parser. You can find a quick reference guide on Github flavoured markdown <a href='https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet'>here</a> by <a href='https://github.com/adam-p/'>adam-p</a>, or if you prefer a book <a href='https://www.gitbook.com/book/roachhd/master-markdown/details'>Mastering Markdown</a> by KB is a good read, and free too!</p>
|
||||||
|
<h3>Tips</h3>
|
||||||
|
<ul>
|
||||||
|
<li>Put 2 spaces at the end of a line to add a soft line break. Leave a blank line to add a head line break (i.e. a new paragraph).</li>
|
||||||
|
<li>You can add an id to a header that you can link to. Put it in curly braces after the heading name like this: <code># Heading Name {#HeadingId}</code>. Then you can link to like like this: <code>[[Page name#HeadingId}]]</code>. You can also link to a heading id on the current page by omitting the page name: <code>[[#HeadingId]]</code>.</li>
|
||||||
|
</ul>
|
||||||
|
<h3>Extra Syntax</h3>
|
||||||
|
<p>$settings->sitename's editor also supports some extra custom syntax, some of which is inspired by <a href='https://mediawiki.org/'>Mediawiki</a>.
|
||||||
|
<table>
|
||||||
|
<tr><th style='width: 40%'>Type this</th><th style='width: 20%'>To get this</th><th>Comments</th></th>
|
||||||
|
<tr><td><code>[[Internal link]]</code></td><td><a href='?page=Internal%20link'>Internal Link</a></td><td>An internal link.</td></tr>
|
||||||
|
<tr><td><code>[[Display Text|Internal link]]</code></td><td><a href='?page=Internal%20link'>Display Text</a></td><td>An internal link with some display text.</td></tr>
|
||||||
|
<tr><td><code>![Alt text](http://example.com/path/to/image.png | 256x256 | right)</code></td><td><img src='http://example.com/path/to/image.png' alt='Alt text' style='float: right; max-width: 256px; max-height: 256px;' /></td><td>An image floating to the right of the page that fits inside a 256px x 256px box, preserving aspect ratio.</td></tr>
|
||||||
|
<tr><td><code>![Alt text](http://example.com/path/to/image.png | 256x256 | caption)</code></td><td><figure><img src='http://example.com/path/to/image.png' alt='Alt text' style='max-width: 256px; max-height: 256px;' /><figcaption>Alt text</figcaption></figure></td><td>An image with a caption that fits inside a 256px x 256px box, preserving aspect ratio. The caption is taken from the alt text.</td></tr>
|
||||||
|
<tr><td><code>![Alt text](Files/Cheese.png)</code></td><td><img src='index.php?action=preview&page=Files/Cheese.png' alt='Alt text' style='' /></td><td>An example of the short url syntax for images. Simply enter the page name of an image (or video / audio file), and Pepperminty Wiki will sort out the url for you.</td></tr>
|
||||||
|
</table>
|
||||||
|
<p>Note that the all image image syntax above can be mixed and matched to your liking. The <code>caption</code> option in particular must come last or next to last.</p>
|
||||||
|
<h4>Templating</h4>
|
||||||
|
<p>$settings->sitename also supports including one page in another page as a <em>template</em>. The syntax is very similar to that of Mediawiki. For example, <code>{{Announcement banner}}</code> will include the contents of the \"Announcement banner\" page, assuming it exists.</p>
|
||||||
|
<p>You can also use variables. Again, the syntax here is very similar to that of Mediawiki - they can be referenced in the included page by surrrounding the variable name in triple curly braces (e.g. <code>{{{Announcement text}}}</code>), and set when including a page with the bar syntax (e.g. <code>{{Announcement banner | importance = high | text = Maintenance has been planned for tonight.}}</code>). Currently the only restriction in templates and variables is that you may not include a closing curly brace (<code>}</code>) in the page name, variable name, or value.</p>
|
||||||
|
<h5>Special Variables</h5>
|
||||||
|
<p>$settings->sitename also supports a number of special built-in variables. Their syntax and function are described below:</p>
|
||||||
|
<table>
|
||||||
|
<tr><th>Type this</th><th>To get this</th></tr>
|
||||||
|
<tr><td><code>{{{@}}}</code></td><td>Lists all variables and their values in a table.</td></tr>
|
||||||
|
<tr><td><code>{{{#}}}</code></td><td>Shows a 'stack trace', outlining all the parent includes of the current page being parsed.</td></tr>
|
||||||
|
<tr><td><code>{{{~}}}</code></td><td>Outputs the requested page's name.</td></tr>
|
||||||
|
<tr><td><code>{{{*}}}</code></td><td>Outputs a comma separated list of all the subpages of the current page.</td></tr>
|
||||||
|
<tr><td><code>{{{+}}}</code></td><td>Shows a gallery containing all the files that are sub pages of the current page.</td></tr>
|
||||||
|
</table>");
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
/*** Parsedown versions ***
|
||||||
|
* Parsedown Core: 1.6.0 *
|
||||||
|
* Parsedown Extra: 0.7.0 *
|
||||||
|
**************************/
|
||||||
|
$env->parsedown_paths = new stdClass();
|
||||||
|
$env->parsedown_paths->parsedown = "https://cdn.rawgit.com/erusev/parsedown/3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7/Parsedown.php";
|
||||||
|
$env->parsedown_paths->parsedown_extra = "https://cdn.rawgit.com/erusev/parsedown-extra/11a44e076d02ffcc4021713398a60cd73f78b6f5/ParsedownExtra.php";
|
||||||
|
|
||||||
|
// Download parsedown and parsedown extra if they don't already exist
|
||||||
|
if(!file_exists("./Parsedown.php") || filesize("./Parsedown.php") === 0)
|
||||||
|
file_put_contents("./Parsedown.php", fopen($env->parsedown_paths->parsedown, "r"));
|
||||||
|
if(!file_exists("./ParsedownExtra.php") || filesize("./ParsedownExtra.php") === 0)
|
||||||
|
file_put_contents("./ParsedownExtra.php", fopen($env->parsedown_paths->parsedown_extra, "r"));
|
||||||
|
|
||||||
|
require_once("./Parsedown.php");
|
||||||
|
require_once("./ParsedownExtra.php");
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██████ █████ ██████ ███████ ███████ ██████ ██████ ██ ██ ███ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██
|
||||||
|
* ██████ ███████ ██████ ███████ █████ ██ ██ ██ ██ ██ █ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ███████ ███████ ██████ ██████ ███ ███ ██ ████
|
||||||
|
*
|
||||||
|
* ███████ ██ ██ ████████ ███████ ███ ██ ███████ ██ ██████ ███ ██ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ████ ██ ██
|
||||||
|
* █████ ███ ██ █████ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ██ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ██ ███████ ██ ████ ███████ ██ ██████ ██ ████ ███████
|
||||||
|
*/
|
||||||
|
class PeppermintParsedown extends ParsedownExtra
|
||||||
|
{
|
||||||
|
private $internalLinkBase = "./%s";
|
||||||
|
|
||||||
|
protected $maxParamDepth = 0;
|
||||||
|
protected $paramStack = [];
|
||||||
|
|
||||||
|
function __construct()
|
||||||
|
{
|
||||||
|
// Prioritise our internal link parsing over the regular link parsing
|
||||||
|
array_unshift($this->InlineTypes["["], "InternalLink");
|
||||||
|
// Prioritise our image parser over the regular image parser
|
||||||
|
array_unshift($this->InlineTypes["!"], "ExtendedImage");
|
||||||
|
|
||||||
|
$this->inlineMarkerList .= "{";
|
||||||
|
if(!isset($this->InlineTypes["{"]) or !is_array($this->InlineTypes["{"]))
|
||||||
|
$this->InlineTypes["{"] = [];
|
||||||
|
$this->InlineTypes["{"][] = "Template";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ████████ ███████ ███ ███ ██████ ██ █████ ████████ ██ ███ ██ ██████
|
||||||
|
* ██ ██ ████ ████ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██
|
||||||
|
* ██ █████ ██ ████ ██ ██████ ██ ███████ ██ ██ ██ ██ ██ ██ ███
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ███████ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ████ ██████
|
||||||
|
*/
|
||||||
|
protected function inlineTemplate($fragment)
|
||||||
|
{
|
||||||
|
global $env, $pageindex;
|
||||||
|
|
||||||
|
// Variable parsing
|
||||||
|
if(preg_match("/\{\{\{([^}]+)\}\}\}/", $fragment["text"], $matches))
|
||||||
|
{
|
||||||
|
$params = [];
|
||||||
|
if(!empty($this->paramStack))
|
||||||
|
{
|
||||||
|
$stackEntry = array_slice($this->paramStack, -1)[0];
|
||||||
|
$params = !empty($stackEntry) ? $stackEntry["params"] : false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$variableKey = trim($matches[1]);
|
||||||
|
|
||||||
|
$variableValue = false;
|
||||||
|
switch ($variableKey)
|
||||||
|
{
|
||||||
|
case "@": // Lists all variables and their values
|
||||||
|
if(!empty($params))
|
||||||
|
{
|
||||||
|
$variableValue = "<table>
|
||||||
|
<tr><th>Key</th><th>Value</th></tr>\n";
|
||||||
|
foreach($params as $key => $value)
|
||||||
|
{
|
||||||
|
$variableValue .= "\t<tr><td>" . $this->escapeText($key) . "</td><td>" . $this->escapeText($value) . "</td></tr>\n";
|
||||||
|
}
|
||||||
|
$variableValue .= "</table>";
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "#": // Shows a stack trace
|
||||||
|
$variableValue = "<ol start=\"0\">\n";
|
||||||
|
$variableValue .= "\t<li>$env->page</li>\n";
|
||||||
|
foreach($this->paramStack as $curStackEntry)
|
||||||
|
{
|
||||||
|
$variableValue .= "\t<li>" . $curStackEntry["pagename"] . "</li>\n";
|
||||||
|
}
|
||||||
|
$variableValue .= "</ol>\n";
|
||||||
|
break;
|
||||||
|
case "~": // Show requested page's name
|
||||||
|
if(!empty($this->paramStack))
|
||||||
|
$variableValue = $this->escapeText($env->page);
|
||||||
|
break;
|
||||||
|
case "*": // Lists subpages
|
||||||
|
$subpages = get_subpages($pageindex, $env->page);
|
||||||
|
$variableValue = [];
|
||||||
|
foreach($subpages as $pagename => $depth)
|
||||||
|
{
|
||||||
|
$variableValue[] = $pagename;
|
||||||
|
}
|
||||||
|
$variableValue = implode(", ", $variableValue);
|
||||||
|
if(strlen($variableValue) === 0)
|
||||||
|
$variableValue = "<em>(none yet!)</em>";
|
||||||
|
break;
|
||||||
|
case "+": // Shows a file gallery for subpages with files
|
||||||
|
// If the upload module isn't present, then there's no point
|
||||||
|
// in checking for uploaded files
|
||||||
|
if(!module_exists("feature-upload"))
|
||||||
|
break;
|
||||||
|
|
||||||
|
$variableValue = [];
|
||||||
|
$subpages = get_subpages($pageindex, $env->page);
|
||||||
|
foreach($subpages as $pagename => $depth)
|
||||||
|
{
|
||||||
|
// Make sure that this is an uploaded file
|
||||||
|
if(!$pageindex->$pagename->uploadedfile)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
$mime_type = $pageindex->$pagename->uploadedfilemime;
|
||||||
|
|
||||||
|
$previewSize = 300;
|
||||||
|
$previewUrl = "?action=preview&size=$previewSize&page=" . rawurlencode($pagename);
|
||||||
|
|
||||||
|
$previewHtml = "";
|
||||||
|
switch(substr($mime_type, 0, strpos($mime_type, "/")))
|
||||||
|
{
|
||||||
|
case "video":
|
||||||
|
$previewHtml .= "<video src='$previewUrl' controls preload='metadata'>$pagename</video>\n";
|
||||||
|
break;
|
||||||
|
case "audio":
|
||||||
|
$previewHtml .= "<audio src='$previewUrl' controls preload='metadata'>$pagename</audio>\n";
|
||||||
|
break;
|
||||||
|
case "application":
|
||||||
|
case "image":
|
||||||
|
default:
|
||||||
|
$previewHtml .= "<img src='$previewUrl' />\n";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
$previewHtml = "<a href='?page=" . rawurlencode($pagename) . "'>$previewHtml$pagename</a>";
|
||||||
|
|
||||||
|
$variableValue[$pagename] = "<li style='min-width: $previewSize" . "px; min-height: $previewSize" . "px;'>$previewHtml</li>";
|
||||||
|
}
|
||||||
|
|
||||||
|
if(count($variableValue) === 0)
|
||||||
|
$variableValue["default"] = "<li><em>(No files found)</em></li>\n";
|
||||||
|
$variableValue = implode("\n", $variableValue);
|
||||||
|
$variableValue = "<ul class='file-gallery'>$variableValue</ul>";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if(isset($params[$variableKey]))
|
||||||
|
{
|
||||||
|
$variableValue = $params[$variableKey];
|
||||||
|
$variableValue = $this->escapeText($variableValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
if($variableValue !== false)
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
"extent" => strlen($matches[0]),
|
||||||
|
"markup" => $variableValue
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if(preg_match("/\{\{([^}]+)\}\}/", $fragment["text"], $matches))
|
||||||
|
{
|
||||||
|
$templateElement = $this->templateHandler($matches[1]);
|
||||||
|
|
||||||
|
if(!empty($templateElement))
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
"extent" => strlen($matches[0]),
|
||||||
|
"element" => $templateElement
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function templateHandler($source)
|
||||||
|
{
|
||||||
|
global $pageindex, $env;
|
||||||
|
|
||||||
|
|
||||||
|
$parts = preg_split("/\\||¦/", trim($source, "{}"));
|
||||||
|
$parts = array_map("trim", $parts);
|
||||||
|
|
||||||
|
// Extract the name of the template page
|
||||||
|
$templatePagename = array_shift($parts);
|
||||||
|
// If the page that we are supposed to use as the tempalte doesn't
|
||||||
|
// exist, then there's no point in continuing.
|
||||||
|
if(empty($pageindex->$templatePagename))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
// Parse the parameters
|
||||||
|
$this->maxParamDepth++;
|
||||||
|
$params = [];
|
||||||
|
$i = 0;
|
||||||
|
foreach($parts as $part)
|
||||||
|
{
|
||||||
|
if(strpos($part, "=") !== false)
|
||||||
|
{
|
||||||
|
// This param contains an equals sign, so it's a named parameter
|
||||||
|
$keyValuePair = explode("=", $part, 2);
|
||||||
|
$keyValuePair = array_map("trim", $keyValuePair);
|
||||||
|
$params[$keyValuePair[0]] = $keyValuePair[1];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// This isn't a named parameter
|
||||||
|
$params["$i"] = trim($part);
|
||||||
|
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Add the parsed parameters to the parameter stack
|
||||||
|
$this->paramStack[] = [
|
||||||
|
"pagename" => $templatePagename,
|
||||||
|
"params" => $params
|
||||||
|
];
|
||||||
|
|
||||||
|
$templateFilePath = $env->storage_prefix . $pageindex->$templatePagename->filename;
|
||||||
|
|
||||||
|
$parsedTemplateSource = $this->text(file_get_contents($templateFilePath));
|
||||||
|
|
||||||
|
// Remove the parsed parameters from the stack
|
||||||
|
array_pop($this->paramStack);
|
||||||
|
|
||||||
|
return [
|
||||||
|
"name" => "div",
|
||||||
|
"text" => $parsedTemplateSource,
|
||||||
|
"attributes" => [
|
||||||
|
"class" => "template"
|
||||||
|
]
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ██ ███ ██ ████████ ███████ ██████ ███ ██ █████ ██
|
||||||
|
* ██ ████ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ █████ ██████ ██ ██ ██ ███████ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ████ ██ ███████ ██ ██ ██ ████ ██ ██ ███████
|
||||||
|
*
|
||||||
|
* ██ ██ ███ ██ ██ ██ ███████
|
||||||
|
* ██ ██ ████ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ █████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ████ ██ ██ ███████
|
||||||
|
*/
|
||||||
|
protected function inlineInternalLink($fragment)
|
||||||
|
{
|
||||||
|
global $pageindex, $env;
|
||||||
|
|
||||||
|
if(preg_match('/^\[\[([^\]]*)\]\]([^\s!?",.()\[\]{}*=+\/]*)/u', $fragment["text"], $matches))
|
||||||
|
{
|
||||||
|
$linkPage = trim($matches[1]);
|
||||||
|
$display = $linkPage . trim($matches[2]);
|
||||||
|
if(strpos($matches[1], "|") !== false || strpos($matches[1], "¦") !== false)
|
||||||
|
{
|
||||||
|
// We have a bar character
|
||||||
|
$parts = preg_split("/\\||¦/", $matches[1], 2);
|
||||||
|
$linkPage = trim($parts[0]); // The page to link to
|
||||||
|
$display = trim($parts[1]); // The text to display
|
||||||
|
}
|
||||||
|
|
||||||
|
$hashCode = "";
|
||||||
|
if(strpos($linkPage, "#") !== false)
|
||||||
|
{
|
||||||
|
// We want to link to a subsection of a page
|
||||||
|
$hashCode = substr($linkPage, strpos($linkPage, "#") + 1);
|
||||||
|
$linkPage = substr($linkPage, 0, strpos($linkPage, "#"));
|
||||||
|
|
||||||
|
// If $linkPage is empty then we want to link to the current page
|
||||||
|
if(strlen($linkPage) === 0)
|
||||||
|
$linkPage = $env->page;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If the page doesn't exist, check varying different
|
||||||
|
// capitalisations to see if it exists under some variant.
|
||||||
|
if(empty($pageindex->$linkPage))
|
||||||
|
{
|
||||||
|
if(!empty($pageindex->{ucfirst($linkPage)}))
|
||||||
|
$linkPage = ucfirst($linkPage);
|
||||||
|
else if(!empty($pageindex->{ucwords($linkPage)}))
|
||||||
|
$linkPage = ucwords($linkPage);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Construct the full url
|
||||||
|
$linkUrl = str_replace(
|
||||||
|
"%s", rawurlencode($linkPage),
|
||||||
|
$this->internalLinkBase
|
||||||
|
);
|
||||||
|
|
||||||
|
if(strlen($hashCode) > 0)
|
||||||
|
$linkUrl .= "#$hashCode";
|
||||||
|
|
||||||
|
$result = [
|
||||||
|
"extent" => strlen($matches[0]),
|
||||||
|
"element" => [
|
||||||
|
"name" => "a",
|
||||||
|
"text" => $display,
|
||||||
|
"attributes" => [
|
||||||
|
"href" => $linkUrl
|
||||||
|
]
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
if(empty($pageindex->{makepathsafe($linkPage)}))
|
||||||
|
$result["element"]["attributes"]["class"] = "redlink";
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ███████ ██ ██ ████████ ███████ ███ ██ ██████ ███████ ██████
|
||||||
|
* ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██
|
||||||
|
* █████ ███ ██ █████ ██ ██ ██ ██ ██ █████ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ███████ ██ ██ ██ ███████ ██ ████ ██████ ███████ ██████
|
||||||
|
*
|
||||||
|
* ██ ███ ███ █████ ██████ ███████ ███████
|
||||||
|
* ██ ████ ████ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ████ ██ ███████ ██ ███ █████ ███████
|
||||||
|
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
* ██ ██ ██ ██ ██ ██████ ███████ ███████
|
||||||
|
*/
|
||||||
|
protected function inlineExtendedImage($fragment)
|
||||||
|
{
|
||||||
|
global $pageindex;
|
||||||
|
|
||||||
|
if(preg_match('/^!\[(.*)\]\(([^|¦)]+)\s*(?:(?:\||¦)([^|¦)]*))?(?:(?:\||¦)([^|¦)]*))?(?:(?:\||¦)([^)]*))?\)/', $fragment["text"], $matches))
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* 0 - Everything
|
||||||
|
* 1 - Alt text
|
||||||
|
* 2 - Url
|
||||||
|
* 3 - First param (optional)
|
||||||
|
* 4 - Second param (optional)
|
||||||
|
* 5 - Third param (optional)
|
||||||
|
*/
|
||||||
|
$altText = $matches[1];
|
||||||
|
$imageUrl = trim(str_replace("&", "&", $matches[2])); // Decode & to allow it in preview urls
|
||||||
|
$param1 = empty($matches[3]) ? false : strtolower(trim($matches[3]));
|
||||||
|
$param2 = empty($matches[4]) ? false : strtolower(trim($matches[4]));
|
||||||
|
$param3 = empty($matches[5]) ? false : strtolower(trim($matches[5]));
|
||||||
|
$floatDirection = false;
|
||||||
|
$imageSize = false;
|
||||||
|
$imageCaption = false;
|
||||||
|
$shortImageUrl = false;
|
||||||
|
|
||||||
|
if($this->isFloatValue($param1))
|
||||||
|
{
|
||||||
|
// Param 1 is a valid css float: ... value
|
||||||
|
$floatDirection = $param1;
|
||||||
|
$imageSize = $this->parseSizeSpec($param2);
|
||||||
|
}
|
||||||
|
else if($this->isFloatValue($param2))
|
||||||
|
{
|
||||||
|
// Param 2 is a valid css float: ... value
|
||||||
|
$floatDirection = $param2;
|
||||||
|
$imageSize = $this->parseSizeSpec($param1);
|
||||||
|
}
|
||||||
|
else if($this->isFloatValue($param3))
|
||||||
|
{
|
||||||
|
$floatDirection = $param3;
|
||||||
|
$imageSize = $this->parseSizeSpec($param1);
|
||||||
|
}
|
||||||
|
else if($param1 === false and $param2 === false)
|
||||||
|
{
|
||||||
|
// Neither params were specified
|
||||||
|
$floatDirection = false;
|
||||||
|
$imageSize = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Neither of them are floats, but at least one is specified
|
||||||
|
// This must mean that the first param is a size spec like
|
||||||
|
// 250x128.
|
||||||
|
$imageSize = $this->parseSizeSpec($param1);
|
||||||
|
}
|
||||||
|
|
||||||
|
if($param1 !== false && strtolower(trim($param1)) == "caption")
|
||||||
|
$imageCaption = true;
|
||||||
|
if($param2 !== false && strtolower(trim($param2)) == "caption")
|
||||||
|
$imageCaption = true;
|
||||||
|
if($param3 !== false && strtolower(trim($param3)) == "caption")
|
||||||
|
$imageCaption = true;
|
||||||
|
|
||||||
|
//echo("Image url: $imageUrl, Pageindex entry: " . var_export(isset($pageindex->$imageUrl), true) . "\n");
|
||||||
|
|
||||||
|
if(isset($pageindex->$imageUrl) and $pageindex->$imageUrl->uploadedfile)
|
||||||
|
{
|
||||||
|
// We have a short url! Expand it.
|
||||||
|
$shortImageUrl = $imageUrl;
|
||||||
|
$imageUrl = "index.php?action=preview&size=" . max($imageSize["x"], $imageSize["y"]) ."&page=" . rawurlencode($imageUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
$style = "";
|
||||||
|
if($imageSize !== false)
|
||||||
|
$style .= " max-width: " . $imageSize["x"] . "px; max-height: " . $imageSize["y"] . "px;";
|
||||||
|
if($floatDirection)
|
||||||
|
$style .= " float: $floatDirection;";
|
||||||
|
|
||||||
|
$urlExtension = pathinfo($imageUrl, PATHINFO_EXTENSION);
|
||||||
|
$urlType = system_extension_mime_type($urlExtension);
|
||||||
|
$result = [];
|
||||||
|
switch(substr($urlType, 0, strpos($urlType, "/")))
|
||||||
|
{
|
||||||
|
case "audio":
|
||||||
|
$result = [
|
||||||
|
"extent" => strlen($matches[0]),
|
||||||
|
"element" => [
|
||||||
|
"name" => "audio",
|
||||||
|
"text" => $altText,
|
||||||
|
"attributes" => [
|
||||||
|
"src" => $imageUrl,
|
||||||
|
"controls" => "controls",
|
||||||
|
"preload" => "metadata",
|
||||||
|
"style" => trim($style)
|
||||||
|
]
|
||||||
|
]
|
||||||
|
];
|
||||||
|
break;
|
||||||
|
case "video":
|
||||||
|
$result = [
|
||||||
|
"extent" => strlen($matches[0]),
|
||||||
|
"element" => [
|
||||||
|
"name" => "video",
|
||||||
|
"text" => $altText,
|
||||||
|
"attributes" => [
|
||||||
|
"src" => $imageUrl,
|
||||||
|
"controls" => "controls",
|
||||||
|
"preload" => "metadata",
|
||||||
|
"style" => trim($style)
|
||||||
|
]
|
||||||
|
]
|
||||||
|
];
|
||||||
|
break;
|
||||||
|
case "image":
|
||||||
|
default:
|
||||||
|
// If we can't work out what it is, then assume it's an image
|
||||||
|
$result = [
|
||||||
|
"extent" => strlen($matches[0]),
|
||||||
|
"element" => [
|
||||||
|
"name" => "img",
|
||||||
|
"attributes" => [
|
||||||
|
"src" => $imageUrl,
|
||||||
|
"alt" => $altText,
|
||||||
|
"title" => $altText,
|
||||||
|
"style" => trim($style)
|
||||||
|
]
|
||||||
|
]
|
||||||
|
];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ~ Image linker ~
|
||||||
|
|
||||||
|
$imageHref = $shortImageUrl !== false ? "?page=" . rawurlencode($shortImageUrl) : $imageUrl;
|
||||||
|
$result["element"] = [
|
||||||
|
"name" => "a",
|
||||||
|
"attributes" => [
|
||||||
|
"href" => $imageHref
|
||||||
|
],
|
||||||
|
"text" => [$result["element"]],
|
||||||
|
"handler" => "elements"
|
||||||
|
];
|
||||||
|
|
||||||
|
// ~
|
||||||
|
|
||||||
|
if($imageCaption)
|
||||||
|
{
|
||||||
|
$rawStyle = $result["element"]["attributes"]["style"];
|
||||||
|
$containerStyle = preg_replace('/^.*float/', "float", $rawStyle);
|
||||||
|
$mediaStyle = preg_replace('/\s*float.*;/', "", $rawStyle);
|
||||||
|
$result["element"] = [
|
||||||
|
"name" => "figure",
|
||||||
|
"attributes" => [
|
||||||
|
"style" => $containerStyle
|
||||||
|
],
|
||||||
|
"text" => [
|
||||||
|
$result["element"],
|
||||||
|
[
|
||||||
|
"name" => "figcaption",
|
||||||
|
"text" => $altText
|
||||||
|
],
|
||||||
|
],
|
||||||
|
"handler" => "elements"
|
||||||
|
];
|
||||||
|
$result["element"]["text"][0]["attributes"]["style"] = $mediaStyle;
|
||||||
|
}
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# ~
|
||||||
|
# Utility Methods
|
||||||
|
# ~
|
||||||
|
|
||||||
|
private function isFloatValue($value)
|
||||||
|
{
|
||||||
|
return in_array(strtolower($value), [ "left", "right" ]);
|
||||||
|
}
|
||||||
|
|
||||||
|
private function parseSizeSpec($text)
|
||||||
|
{
|
||||||
|
if(strpos($text, "x") === false)
|
||||||
|
return false;
|
||||||
|
$parts = explode("x", $text, 2);
|
||||||
|
|
||||||
|
if(count($parts) != 2)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
array_map("trim", $parts);
|
||||||
|
array_map("intval", $parts);
|
||||||
|
|
||||||
|
if(in_array(0, $parts))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
return [
|
||||||
|
"x" => $parts[0],
|
||||||
|
"y" => $parts[1]
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function escapeText($text)
|
||||||
|
{
|
||||||
|
return htmlentities($text, ENT_COMPAT | ENT_HTML5);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the base url to be used for internal links. '%s' will be replaced
|
||||||
|
* with a URL encoded version of the page name.
|
||||||
|
* @param string $url The url to use when parsing internal links.
|
||||||
|
*/
|
||||||
|
public function setInternalLinkBase($url)
|
||||||
|
{
|
||||||
|
$this->internalLinkBase = $url;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
250
docs/ModuleApi/files/pack.html
Normal file
250
docs/ModuleApi/files/pack.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-174794015"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-174794015" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small></small>pack.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/pack.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
99
docs/ModuleApi/files/pack.php.txt
Normal file
99
docs/ModuleApi/files/pack.php.txt
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
if(php_sapi_name() == "cli")
|
||||||
|
{
|
||||||
|
echo("*** Beginning main build sequence ***\n");
|
||||||
|
echo("Reading in module index...\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
$module_index = json_decode(file_get_contents("module_index.json"));
|
||||||
|
$module_list = [];
|
||||||
|
foreach($module_index as $module)
|
||||||
|
{
|
||||||
|
// If the module is optional, the module's id isn't present in the command line arguments, and the special 'all' module id wasn't passed in, skip it
|
||||||
|
if($module->optional &&
|
||||||
|
(
|
||||||
|
isset($argv) &&
|
||||||
|
strrpos(implode(" ", $argv), $module->id) === false &&
|
||||||
|
!in_array("all", $argv)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
continue;
|
||||||
|
$module_list[] = $module->id;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($_GET["modules"]))
|
||||||
|
{
|
||||||
|
$module_list = explode(",", $_GET["modules"]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(php_sapi_name() != "cli")
|
||||||
|
{
|
||||||
|
header("content-type: text/php");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(php_sapi_name() == "cli") echo("Reading in core files...");
|
||||||
|
|
||||||
|
$core = file_get_contents("core.php");
|
||||||
|
$settings = file_get_contents("settings.fragment.php");
|
||||||
|
$settings = str_replace([ "<?php", "?>" ], "", $settings);
|
||||||
|
$core = str_replace([
|
||||||
|
"//{settings}",
|
||||||
|
"{version}",
|
||||||
|
"{guiconfig}",
|
||||||
|
"{default-css}"
|
||||||
|
], [
|
||||||
|
$settings,
|
||||||
|
trim(file_get_contents("version")),
|
||||||
|
trim(file_get_contents("peppermint.guiconfig.json")),
|
||||||
|
trim(file_get_contents("theme_default.css"))
|
||||||
|
], $core);
|
||||||
|
|
||||||
|
$result = $core;
|
||||||
|
|
||||||
|
foreach($module_list as $module_id)
|
||||||
|
{
|
||||||
|
if($module_id == "") continue;
|
||||||
|
|
||||||
|
if(php_sapi_name() == "cli") echo("Adding $module_id\n");
|
||||||
|
|
||||||
|
$module_filepath = "modules/" . preg_replace("[^a-zA-Z0-9\-]", "", $module_id) . ".php";
|
||||||
|
|
||||||
|
//echo("id: $module_id | filepath: $module_filepath\n");
|
||||||
|
|
||||||
|
if(!file_exists($module_filepath))
|
||||||
|
{
|
||||||
|
http_response_code(400);
|
||||||
|
exit("Failed to load module with name: $module_filepath");
|
||||||
|
}
|
||||||
|
|
||||||
|
$modulecode = file_get_contents($module_filepath);
|
||||||
|
$modulecode = str_replace([ "<?php", "?>" ], "", $modulecode);
|
||||||
|
$result = str_replace(
|
||||||
|
"// %next_module% //",
|
||||||
|
"$modulecode\n// %next_module% //",
|
||||||
|
$result);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(php_sapi_name() == "cli")
|
||||||
|
{
|
||||||
|
if(file_exists("build/index.php"))
|
||||||
|
{
|
||||||
|
echo("index.php already exists in the build folder, exiting\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo("Done. Saving to disk...");
|
||||||
|
file_put_contents("build/index.php", $result);
|
||||||
|
echo("complete!\n");
|
||||||
|
echo("*** Build completed! ***\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
exit($result);
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
250
docs/ModuleApi/files/settings.fragment.html
Normal file
250
docs/ModuleApi/files/settings.fragment.html
Normal file
|
@ -0,0 +1,250 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function loadExternalCodeSnippets() {
|
||||||
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||||||
|
var src = pre.getAttribute('data-src');
|
||||||
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||||||
|
var language = 'php';
|
||||||
|
|
||||||
|
var code = document.createElement('code');
|
||||||
|
code.className = 'language-' + language;
|
||||||
|
|
||||||
|
pre.textContent = '';
|
||||||
|
|
||||||
|
code.textContent = 'Loading…';
|
||||||
|
|
||||||
|
pre.appendChild(code);
|
||||||
|
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
|
xhr.open('GET', src, true);
|
||||||
|
|
||||||
|
xhr.onreadystatechange = function () {
|
||||||
|
if (xhr.readyState == 4) {
|
||||||
|
|
||||||
|
if (xhr.status < 400 && xhr.responseText) {
|
||||||
|
code.textContent = xhr.responseText;
|
||||||
|
|
||||||
|
Prism.highlightElement(code);
|
||||||
|
}
|
||||||
|
else if (xhr.status >= 400) {
|
||||||
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
code.textContent = '✖ Error: File does not exist or is empty';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
xhr.send(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
});
|
||||||
|
$('#source-view').on('shown', function () {
|
||||||
|
loadExternalCodeSnippets();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span2 sidebar">
|
||||||
|
<div class="accordion" style="margin-bottom: 0">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1399174884"></a>
|
||||||
|
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
||||||
|
</div>
|
||||||
|
<div id="namespace-1399174884" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li class="class"><a href="../classes/ids.html">ids</a></li>
|
||||||
|
<li class="class"><a href="../classes/page_renderer.html">page_renderer</a></li>
|
||||||
|
<li class="class"><a href="../classes/PeppermintParsedown.html">PeppermintParsedown</a></li>
|
||||||
|
<li class="class"><a href="../classes/search.html">search</a></li>
|
||||||
|
<li class="class"><a href="../classes/Slimdown.html">Slimdown</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<div class="span10 offset2">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8 content file">
|
||||||
|
<nav>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
||||||
|
<h1><small></small>settings.fragment.php</h1>
|
||||||
|
<p><em></em></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside class="span4 detailsbar">
|
||||||
|
<dl>
|
||||||
|
<dt>Package</dt>
|
||||||
|
<dd><div class="namespace-wrapper">\Default</div></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
<h2>Tags</h2>
|
||||||
|
<table class="table table-condensed">
|
||||||
|
<tr><td colspan="2"><em>None found</em></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="source-view-label"></h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<pre data-src="../files/settings.fragment.php.txt" class="language-php line-numbers"></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
65
docs/ModuleApi/files/settings.fragment.php.txt
Normal file
65
docs/ModuleApi/files/settings.fragment.php.txt
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Pepperminty Wiki
|
||||||
|
* ================
|
||||||
|
* Inspired by Minty Wiki by am2064
|
||||||
|
* Link: https://github.com/am2064/Minty-Wiki
|
||||||
|
*
|
||||||
|
* Credits:
|
||||||
|
* Code by @Starbeamrainbowlabs
|
||||||
|
* Parsedown - by erusev and others on github from http://parsedown.org/
|
||||||
|
* Mathematical Expression rendering
|
||||||
|
* Code: @con-f-use <https://github.com/con-f-use>
|
||||||
|
* Rendering: MathJax (https://www.mathjax.org/)
|
||||||
|
* Bug reports:
|
||||||
|
* #2 - Incorrect closing tag - nibreh <https://github.com/nibreh/>
|
||||||
|
* #8 - Rogue <datalist /> tag - nibreh <https://github.com/nibreh/>
|
||||||
|
*/
|
||||||
|
$guiConfig = <<<'GUICONFIG'
|
||||||
|
{guiconfig}
|
||||||
|
GUICONFIG;
|
||||||
|
|
||||||
|
$settingsFilename = "peppermint.json";
|
||||||
|
|
||||||
|
$guiConfig = json_decode($guiConfig);
|
||||||
|
$settings = new stdClass();
|
||||||
|
if(!file_exists($settingsFilename))
|
||||||
|
{
|
||||||
|
// Copy the default settings over to the main settings array
|
||||||
|
foreach ($guiConfig as $key => $value)
|
||||||
|
$settings->$key = $value->default;
|
||||||
|
// Generate a random secret
|
||||||
|
$settings->secret = bin2hex(openssl_random_pseudo_bytes(16));
|
||||||
|
file_put_contents("peppermint.json", json_encode($settings, JSON_PRETTY_PRINT));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
$settings = json_decode(file_get_contents("peppermint.json"));
|
||||||
|
|
||||||
|
if($settings === null)
|
||||||
|
{
|
||||||
|
header("content-type: text/plain");
|
||||||
|
exit("Error: Failed to decode the settings file! Does it contain a syntax error?");
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fill in any missing properties
|
||||||
|
$settingsUpgraded = false;
|
||||||
|
foreach($guiConfig as $key => $propertyData)
|
||||||
|
{
|
||||||
|
if(!isset($settings->$key))
|
||||||
|
{
|
||||||
|
$settings->$key = $propertyData->default;
|
||||||
|
$settingsUpgraded = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if($settingsUpgraded)
|
||||||
|
file_put_contents("peppermint.json", json_encode($settings, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
|
// Insert the default CSS if requested
|
||||||
|
$defaultCSS = <<<THEMECSS
|
||||||
|
{default-css}
|
||||||
|
THEMECSS;
|
||||||
|
if($settings->css === "auto")
|
||||||
|
$settings->css = $defaultCSS;
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
BIN
docs/ModuleApi/font/FontAwesome.otf
Normal file
BIN
docs/ModuleApi/font/FontAwesome.otf
Normal file
Binary file not shown.
BIN
docs/ModuleApi/font/fontawesome-webfont.eot
Normal file
BIN
docs/ModuleApi/font/fontawesome-webfont.eot
Normal file
Binary file not shown.
504
docs/ModuleApi/font/fontawesome-webfont.svg
Normal file
504
docs/ModuleApi/font/fontawesome-webfont.svg
Normal file
|
@ -0,0 +1,504 @@
|
||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<metadata></metadata>
|
||||||
|
<defs>
|
||||||
|
<font id="fontawesomeregular" horiz-adv-x="1536" >
|
||||||
|
<font-face units-per-em="1792" ascent="1536" descent="-256" />
|
||||||
|
<missing-glyph horiz-adv-x="448" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="448" />
|
||||||
|
<glyph unicode="	" horiz-adv-x="448" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="448" />
|
||||||
|
<glyph unicode="¨" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="©" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="®" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="´" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="Æ" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="Ø" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="768" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="1537" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="768" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="1537" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="512" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="384" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="256" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="256" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="192" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="307" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="85" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="307" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="384" />
|
||||||
|
<glyph unicode="™" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="∞" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="≠" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="◼" horiz-adv-x="500" d="M0 0z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M93 1350q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78z" />
|
||||||
|
<glyph unicode="" d="M0 -64q0 50 34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5 q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 704q0 143 55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5z M256 704q0 -185 131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 32v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113zM128 32q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5 t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768zM128 1120q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317 q54 43 100.5 115.5t46.5 131.5v11v13.5t-0.5 13t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 940q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138z " />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 889q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 889q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354 q-25 27 -25 48zM221 829l306 -297l-73 -421l378 199l377 -199l-72 421l306 297l-422 62l-189 382l-189 -382z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 131q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5q0 -120 -73 -189.5t-194 -69.5 h-874q-121 0 -194 69.5t-73 189.5zM320 1024q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 -96v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113zM128 64v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45zM128 320q0 -26 19 -45t45 -19h128 q26 0 45 19t19 45v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128zM128 704q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128zM128 1088q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v128q0 26 -19 45t-45 19 h-128q-26 0 -45 -19t-19 -45v-128zM512 -64q0 -26 19 -45t45 -19h768q26 0 45 19t19 45v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512zM512 704q0 -26 19 -45t45 -19h768q26 0 45 19t19 45v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512zM1536 64 v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45zM1536 320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128zM1536 704q0 -26 19 -45t45 -19h128q26 0 45 19t19 45 v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128zM1536 1088q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 128v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90zM0 896v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90zM896 128v384q0 52 38 90t90 38h512q52 0 90 -38 t38 -90v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90zM896 896v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 96v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM0 608v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM0 1120v192q0 40 28 68t68 28h320q40 0 68 -28 t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM640 96v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM640 608v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68zM640 1120v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM1280 96v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM1280 608v192 q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM1280 1120v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 96v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM0 608v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM0 1120v192q0 40 28 68t68 28h320q40 0 68 -28 t28 -68v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM640 96v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68zM640 608v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68zM640 1120v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M121 608q0 40 28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68t-28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M110 214q0 40 28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68t-28 -68l-294 -294l294 -294q28 -28 28 -68t-28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294 q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 704q0 143 55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90t-37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5z M256 704q0 -185 131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5zM384 672v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224q13 0 22.5 -9.5t9.5 -22.5v-64 q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 704q0 143 55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90t-37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5z M256 704q0 -185 131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5zM384 672v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181 q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298zM640 768v640q0 52 38 90t90 38t90 -38t38 -90v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 -96v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23zM384 -96v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23zM768 -96v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-576 q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23zM1152 -96v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23zM1536 -96v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" d="M0 531v222q0 12 8 23t19 13l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10 q129 -119 165 -170q7 -8 7 -22q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108 q-44 -23 -91 -38q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5z M512 640q0 -106 75 -181t181 -75t181 75t75 181t-75 181t-181 75t-181 -75t-75 -181z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 1056v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23zM256 76q0 -22 7 -40.5 t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5v948h-896v-948zM384 224v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM640 224v576q0 14 9 23t23 9h64 q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23zM896 224v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M26 636.5q1 13.5 11 21.5l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5zM256 64 v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM1024 1024h376q-10 29 -22 41l-313 313q-12 12 -41 22 v-376z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM512 544v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M50 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256 q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73zM809 540q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 96v320q0 40 28 68t68 28h465l135 -136q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68zM325 985q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39q17 -41 -14 -70 l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70zM1152 192q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45zM1408 192q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM418 620q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM416 672q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" d="M0 64v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552q25 -61 25 -123v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45zM197 576h316l95 -192h320l95 192h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8 t-2.5 -8z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM512 320v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55t-32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 156 61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5 t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298z" />
|
||||||
|
<glyph unicode="" d="M0 0v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129 q-19 -19 -45 -19t-45 19t-19 45zM18 800v7q65 268 270 434.5t480 166.5q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179 q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 160v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113zM128 160q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832z M256 288v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM256 544v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5z M256 800v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM512 288v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5z M512 544v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5zM512 800v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5z " />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M0 96v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68zM320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M64 1280q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110zM320 320v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19 q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 650q0 151 67 291t179 242.5t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32 q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32 q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="768" d="M0 448v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M0 448v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45zM908 464q0 21 12 35.5t29 25t34 23t29 35.5t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5 q15 0 25 -5q70 -27 112.5 -93t42.5 -142t-42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 448v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45zM908 464q0 21 12 35.5t29 25t34 23t29 35.5t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5 q15 0 25 -5q70 -27 112.5 -93t42.5 -142t-42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5zM1008 228q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5 q140 -59 225 -188.5t85 -282.5t-85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45zM1109 -7q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19 q13 0 26 -5q211 -91 338 -283.5t127 -422.5t-127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 0v640h640v-640h-640zM0 768v640h640v-640h-640zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM256 256v128h128v-128h-128zM256 1024v128h128v-128h-128zM768 0v640h384v-128h128v128h128v-384h-384v128h-128v-384h-128zM768 768v640h640v-640h-640z M896 896h384v384h-384v-384zM1024 0v128h128v-128h-128zM1024 1024v128h128v-128h-128zM1280 0v128h128v-128h-128z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 0v1408h63v-1408h-63zM94 1v1407h32v-1407h-32zM189 1v1407h31v-1407h-31zM346 1v1407h31v-1407h-31zM472 1v1407h62v-1407h-62zM629 1v1407h31v-1407h-31zM692 1v1407h31v-1407h-31zM755 1v1407h31v-1407h-31zM880 1v1407h63v-1407h-63zM1037 1v1407h63v-1407h-63z M1163 1v1407h63v-1407h-63zM1289 1v1407h63v-1407h-63zM1383 1v1407h63v-1407h-63zM1541 1v1407h94v-1407h-94zM1666 1v1407h32v-1407h-32zM1729 0v1408h63v-1408h-63z" />
|
||||||
|
<glyph unicode="" d="M0 864v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117zM192 1088q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5 t-90.5 -37.5t-37.5 -90.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 864v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117zM192 1088q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5 t-90.5 -37.5t-37.5 -90.5zM704 1408h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M10 184q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23 t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57 q38 -15 59 -43q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5zM575 1056 q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M0 7v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 160v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v160h-224 q-13 0 -22.5 9.5t-9.5 22.5zM384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1408 576q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 128v896q0 106 75 181t181 75h224l51 136q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181zM512 576q0 -185 131.5 -316.5t316.5 -131.5t316.5 131.5 t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5zM672 576q0 119 84.5 203.5t203.5 84.5t203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 -128l2 79q23 7 56 12.5t57 10.5t49.5 14.5t44.5 29t31 50.5l237 616l280 724h75h53q8 -14 11 -21l205 -480q33 -78 106 -257.5t114 -274.5q15 -34 58 -144.5t72 -168.5q20 -45 35 -57q19 -15 88 -29.5t84 -20.5q6 -38 6 -57q0 -4 -0.5 -13t-0.5 -13q-63 0 -190 8 t-191 8q-76 0 -215 -7t-178 -8q0 43 4 78l131 28q1 0 12.5 2.5t15.5 3.5t14.5 4.5t15 6.5t11 8t9 11t2.5 14q0 16 -31 96.5t-72 177.5t-42 100l-450 2q-26 -58 -76.5 -195.5t-50.5 -162.5q0 -22 14 -37.5t43.5 -24.5t48.5 -13.5t57 -8.5t41 -4q1 -19 1 -58q0 -9 -2 -27 q-58 0 -174.5 10t-174.5 10q-8 0 -26.5 -4t-21.5 -4q-80 -14 -188 -14zM555 527q33 0 136.5 -2t160.5 -2q19 0 57 2q-87 253 -184 452z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 -128l2 94q15 4 85 16t106 27q7 12 12.5 27t8.5 33.5t5.5 32.5t3 37.5t0.5 34v35.5v30q0 982 -22 1025q-4 8 -22 14.5t-44.5 11t-49.5 7t-48.5 4.5t-30.5 3l-4 83q98 2 340 11.5t373 9.5q23 0 68.5 -0.5t67.5 -0.5q70 0 136.5 -13t128.5 -42t108 -71t74 -104.5 t28 -137.5q0 -52 -16.5 -95.5t-39 -72t-64.5 -57.5t-73 -45t-84 -40q154 -35 256.5 -134t102.5 -248q0 -100 -35 -179.5t-93.5 -130.5t-138 -85.5t-163.5 -48.5t-176 -14q-44 0 -132 3t-132 3q-106 0 -307 -11t-231 -12zM533 1292q0 -50 4 -151t4 -152q0 -27 -0.5 -80 t-0.5 -79q0 -46 1 -69q42 -7 109 -7q82 0 143 13t110 44.5t74.5 89.5t25.5 142q0 70 -29 122.5t-79 82t-108 43.5t-124 14q-50 0 -130 -13zM538.5 165q0.5 -37 4.5 -83.5t12 -66.5q74 -32 140 -32q376 0 376 335q0 114 -41 180q-27 44 -61.5 74t-67.5 46.5t-80.5 25 t-84 10.5t-94.5 2q-73 0 -101 -10q0 -53 -0.5 -159t-0.5 -158q0 -8 -1 -67.5t-0.5 -96.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 -126l17 85q6 2 81.5 21.5t111.5 37.5q28 35 41 101q1 7 62 289t114 543.5t52 296.5v25q-24 13 -54.5 18.5t-69.5 8t-58 5.5l19 103q33 -2 120 -6.5t149.5 -7t120.5 -2.5q48 0 98.5 2.5t121 7t98.5 6.5q-5 -39 -19 -89q-30 -10 -101.5 -28.5t-108.5 -33.5 q-8 -19 -14 -42.5t-9 -40t-7.5 -45.5t-6.5 -42q-27 -148 -87.5 -419.5t-77.5 -355.5q-2 -9 -13 -58t-20 -90t-16 -83.5t-6 -57.5l1 -18q17 -4 185 -31q-3 -44 -16 -99q-11 0 -32.5 -1.5t-32.5 -1.5q-29 0 -87 10t-86 10q-138 2 -206 2q-51 0 -143 -9t-121 -11z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 1023v383l81 1l54 -27q12 -5 211 -5q44 0 132 2t132 2q36 0 107.5 -0.5t107.5 -0.5h293q6 0 21 -0.5t20.5 0t16 3t17.5 9t15 17.5l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 48t-14.5 73.5t-7.5 35.5 q-6 8 -12 12.5t-15.5 6t-13 2.5t-18 0.5t-16.5 -0.5q-17 0 -66.5 0.5t-74.5 0.5t-64 -2t-71 -6q-9 -81 -8 -136q0 -94 2 -388t2 -455q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9 t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27q19 42 19 383q0 101 -3 303t-3 303v117q0 2 0.5 15.5t0.5 25t-1 25.5t-3 24t-5 14q-11 12 -162 12q-33 0 -93 -12t-80 -26q-19 -13 -34 -72.5t-31.5 -111t-42.5 -53.5q-42 26 -56 44zM1414 109.5q9 18.5 42 18.5h80v1024 h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80q33 0 42 -18.5t-11 -44.5l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5z" />
|
||||||
|
<glyph unicode="" d="M0 1023v383l81 1l54 -27q12 -5 211 -5q44 0 132 2t132 2q70 0 246.5 1t304.5 0.5t247 -4.5q33 -1 56 31l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 47.5t-15 73.5t-7 36q-10 13 -27 19q-5 2 -66 2q-30 0 -93 1 t-103 1t-94 -2t-96 -7q-9 -81 -8 -136l1 -152v52q0 -55 1 -154t1.5 -180t0.5 -153q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29 t78 27q7 16 11.5 74t6 145.5t1.5 155t-0.5 153.5t-0.5 89q0 7 -2.5 21.5t-2.5 22.5q0 7 0.5 44t1 73t0 76.5t-3 67.5t-6.5 32q-11 12 -162 12q-41 0 -163 -13.5t-138 -24.5q-19 -12 -34 -71.5t-31.5 -111.5t-42.5 -54q-42 26 -56 44zM5 -64q0 28 26 49q4 3 36 30t59.5 49 t57.5 41.5t42 19.5q13 0 20.5 -10.5t10 -28.5t2.5 -33.5t-1.5 -33t-1.5 -19.5h1024q0 2 -1.5 19.5t-1.5 33t2.5 33.5t10 28.5t20.5 10.5q12 0 42 -19.5t57.5 -41.5t59.5 -49t36 -30q26 -21 26 -49t-26 -49q-4 -3 -36 -30t-59.5 -49t-57.5 -41.5t-42 -19.5q-13 0 -20.5 10.5 t-10 28.5t-2.5 33.5t1.5 33t1.5 19.5h-1024q0 -2 1.5 -19.5t1.5 -33t-2.5 -33.5t-10 -28.5t-20.5 -10.5q-12 0 -42 19.5t-57.5 41.5t-59.5 49t-36 30q-26 21 -26 49z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 64v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45zM0 448v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45zM0 832v128q0 26 19 45t45 19h1536 q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1536q-26 0 -45 19t-19 45zM0 1216v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 64v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45zM128 832v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45zM384 448v128q0 26 19 45t45 19h896 q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45zM512 1216v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 64v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45zM128 832v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1536q-26 0 -45 19t-19 45zM384 448v128q0 26 19 45t45 19h1280 q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45zM512 1216v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 64v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45zM0 448v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45zM0 832v128q0 26 19 45t45 19h1664 q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45zM0 1216v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 32v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5zM0 416v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5 t-9.5 22.5zM0 800v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5zM0 1184v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192 q-13 0 -22.5 9.5t-9.5 22.5zM384 32v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5zM384 416v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5zM384 800v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5zM384 1184v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5v-192 q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 32v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5zM0 1184v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5 t-9.5 22.5zM32 704q0 14 9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23zM640 416v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088 q-13 0 -22.5 9.5t-9.5 22.5zM640 800v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 32v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5zM0 416v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23t-9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5z M0 1184v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5zM640 416v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5 t-9.5 22.5zM640 800v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 288v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5q39 -17 39 -59v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5 t-84.5 203.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 32v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113zM128 32q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216z M256 128v192l320 320l160 -160l512 512l416 -416v-448h-1408zM256 960q0 80 56 136t136 56t136 -56t56 -136t-56 -136t-136 -56t-136 56t-56 136z" />
|
||||||
|
<glyph unicode="" d="M0 -128v416l832 832l416 -416l-832 -832h-416zM128 128h128v-128h107l91 91l-235 235l-91 -91v-107zM298 384q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17zM896 1184l166 165q36 38 90 38q53 0 91 -38l235 -234 q37 -39 37 -91q0 -53 -37 -90l-166 -166z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 896q0 212 150 362t362 150t362 -150t150 -362q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179zM256 896q0 -106 75 -181t181 -75t181 75t75 181t-75 181t-181 75t-181 -75t-75 -181z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73v1088q-148 0 -273 -73t-198 -198t-73 -273z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 512q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275q0 -212 -150 -362t-362 -150t-362 150t-150 362zM256 384q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5 t37.5 90.5q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 288v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29v-190 q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5zM640 256v288l672 672l288 -288l-672 -672h-288zM736 448h96v-96h56l116 116l-152 152l-116 -116v-56zM944 688q16 -16 33 1l350 350q17 17 1 33t-33 -1l-350 -350q-17 -17 -1 -33zM1376 1280l92 92 q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68l-92 -92z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 288v832q0 119 84.5 203.5t203.5 84.5h255q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29v-259 q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5zM256 704q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45l-384 -384 q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5t-38.5 114t-17.5 122z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 288v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3 q20 -8 20 -29v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5zM257 768q0 33 24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110q24 -24 24 -57t-24 -57l-814 -814q-24 -24 -57 -24t-57 24l-430 430 q-24 24 -24 57z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 640q0 26 19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45t-19 -45l-256 -256 q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 -64v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 -64v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710q19 19 32 13t13 -32v-710q4 11 13 19l710 710q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45 t-45 -19h-128q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M122 640q0 26 19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19l710 710q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 -96v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31l-1328 -738q-23 -13 -39.5 -3t-16.5 36z" />
|
||||||
|
<glyph unicode="" d="M0 -64v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45zM896 -64v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" d="M0 -64v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 -96v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19l-710 -710q-19 -19 -32 -13t-13 32z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 -96v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710q-19 -19 -32 -13t-13 32v710 q-5 -10 -13 -19l-710 -710q-19 -19 -32 -13t-13 32z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 -96v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710q-19 -19 -32 -13t-13 32z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1538" d="M1 64v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45zM1 525q-6 13 13 32l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M154 704q0 26 19 45l742 742q19 19 45 19t45 -19l166 -166q19 -19 19 -45t-19 -45l-531 -531l531 -531q19 -19 19 -45t-19 -45l-166 -166q-19 -19 -45 -19t-45 19l-742 742q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M90 128q0 26 19 45l531 531l-531 531q-19 19 -19 45t19 45l166 166q19 19 45 19t45 -19l742 -742q19 -19 19 -45t-19 -45l-742 -742q-19 -19 -45 -19t-45 19l-166 166q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM320 576q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19 t19 45v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM320 576q0 -26 19 -45t45 -19h768q26 0 45 19t19 45v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19 t-19 -45v-128z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM387 414q0 -27 19 -46l90 -90q19 -19 46 -19q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19 l90 90q19 19 19 46q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM252 621q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45q0 28 -18 46l-91 90 q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM417 939q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26 t37.5 -59q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213zM640 160q0 -14 9 -23t23 -9 h192q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM512 160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320 q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160zM640 1056q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160z" />
|
||||||
|
<glyph unicode="" d="M0 576v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143 q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45zM339 512q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5h-109q-26 0 -45 19 t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM429 480q0 13 10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23l-137 -137l137 -137q10 -10 10 -23t-10 -23l-146 -146q-10 -10 -23 -10t-23 10l-137 137 l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM346 640q0 26 19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" d="M0 643q0 157 61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5t-61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61t-245 164t-163.5 246t-61 300zM224 643q0 -162 89 -299l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199 t-73 -274zM471 185q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5q0 161 -87 295z" />
|
||||||
|
<glyph unicode="" d="M64 576q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5t32.5 -90.5v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90 z" />
|
||||||
|
<glyph unicode="" d="M0 512v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M53 565q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651q37 -39 37 -91q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75 q-38 38 -38 90z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M53 704q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 416q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45t-19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123 q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22t-13.5 30t-10.5 24q-127 285 -127 451z" />
|
||||||
|
<glyph unicode="" d="M0 -64v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23t-10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45zM781 800q0 13 10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448 q26 0 45 -19t19 -45v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" d="M13 32q0 13 10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23zM768 704v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10 t23 -10l114 -114q10 -10 10 -23t-10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 608v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 608v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M122.5 408.5q13.5 51.5 59.5 77.5l266 154l-266 154q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5 l-266 -154l266 -154q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM624 1126l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5l18 621q0 12 -10 18 q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18zM640 161q0 -13 10 -23t23 -10h192q13 0 22 9.5t9 23.5v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190z" />
|
||||||
|
<glyph unicode="" d="M0 544v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23v-320q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68 t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23zM376 1120q0 -40 28 -68t68 -28h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68zM608 180q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5v56v468v192h-320v-192v-468v-56zM870 1024h194q40 0 68 28 t28 68t-28 68t-68 28q-43 0 -69 -31z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 121q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96 q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5zM384 448q0 -26 19 -45t45 -19q24 0 45 19 q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45t-19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 -160q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64zM256 640q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100 t113.5 -122.5t72.5 -150.5t27.5 -184q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 576q0 34 20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69t-20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69zM128 576q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5q-152 236 -381 353 q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353zM592 704q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34t-14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 576q0 38 20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5q16 -10 16 -27q0 -7 -1 -9q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87 q-143 65 -263.5 173t-208.5 245q-20 31 -20 69zM128 576q167 -258 427 -375l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353zM592 704q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34t-14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5zM896 0l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69t-20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95zM1056 286l280 502q8 -45 8 -84q0 -139 -79 -253.5t-209 -164.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M16 61l768 1408q17 31 47 49t65 18t65 -18t47 -49l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126zM752 992l17 -457q0 -10 10 -16.5t24 -6.5h185q14 0 23.5 6.5t10.5 16.5l18 459q0 12 -10 19q-13 11 -24 11h-220 q-11 0 -24 -11q-10 -7 -10 -21zM768 161q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 477q-1 13 9 25l96 97q9 9 23 9q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16 l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 -128v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90zM128 -128h288v288h-288v-288zM128 224 h288v320h-288v-320zM128 608h288v288h-288v-288zM384 1088q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288zM480 -128h320v288h-320v-288zM480 224h320v320h-320v-320zM480 608h320v288h-320 v-288zM864 -128h320v288h-320v-288zM864 224h320v320h-320v-320zM864 608h320v288h-320v-288zM1152 1088q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288zM1248 -128h288v288h-288v-288z M1248 224h288v320h-288v-320zM1248 608h288v288h-288v-288z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 160v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23t-9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192 h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23zM0 1056v192q0 14 9 23t23 9h224q250 0 410 -225q-60 -92 -137 -273q-22 45 -37 72.5 t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23zM743 353q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23t-9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192 q-32 0 -85 -0.5t-81 -1t-73 1t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 640q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5t-120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5 t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281z" />
|
||||||
|
<glyph unicode="" d="M0 576v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5 t-98.5 362zM0 960v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45zM1024 960v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M90 250.5q0 26.5 19 45.5l742 741q19 19 45 19t45 -19l742 -741q19 -19 19 -45.5t-19 -45.5l-166 -165q-19 -19 -45 -19t-45 19l-531 531l-531 -531q-19 -19 -45 -19t-45 19l-166 165q-19 19 -19 45.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M90 773.5q0 26.5 19 45.5l166 165q19 19 45 19t45 -19l531 -531l531 531q19 19 45 19t45 -19l166 -165q19 -19 19 -45.5t-19 -45.5l-742 -741q-19 -19 -45 -19t-45 19l-742 741q-19 19 -19 45.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 704q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45z M640 1120q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20z " />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 1216q0 26 19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45v-512q0 -24 -16 -42.5t-41 -21.5l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024 q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45zM384 0q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5zM1280 0q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5 t-90.5 -37.5t-90.5 37.5t-37.5 90.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 224v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 224v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5t-0.5 12.5zM73 56q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43 q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="768" d="M64 64q0 26 19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 640q0 26 19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 32v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113zM128 32q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216z M256 128v384h256v-384h-256zM640 128v896h256v-896h-256zM1024 128v640h256v-640h-256zM1408 128v1024h256v-1024h-256z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 286q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109 q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4q21 -63 74.5 -104 t121.5 -42q-116 -90 -261 -90q-26 0 -50 3z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-192v608h203l30 224h-233v143q0 54 28 83t96 29l132 1v207q-96 9 -180 9q-136 0 -218 -80.5t-82 -225.5v-166h-224v-224h224v-608h-544 q-119 0 -203.5 84.5t-84.5 203.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 0v1280q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5zM128 0h1536v128h-1536v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM256 1216h384v128h-384v-128zM512 574 q0 -159 112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5t-112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5zM640 574q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181zM736 576q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9 t9 23t-9 23t-23 9q-66 0 -113 -47t-47 -113z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 752q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41q0 -17 -49 -66t-66 -49 q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5zM192 768q0 -80 56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56 t56 136t-56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 549v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8 q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90 q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5zM384 640q0 -106 75 -181t181 -75 t181 75t75 181t-75 181t-181 75t-181 -75t-75 -181zM1152 58v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31 v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31zM1152 1082v140q0 16 149 31q13 29 30 52 q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71 q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31zM1408 128q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5q0 52 -38 90t-90 38t-90 -38t-38 -90zM1408 1152q0 -53 37.5 -90.5 t90.5 -37.5t90.5 37.5t37.5 90.5q0 52 -38 90t-90 38t-90 -38t-38 -90z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 768q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257t-94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25 t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224zM616 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5 t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132z" />
|
||||||
|
<glyph unicode="" d="M0 128v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5zM128 192q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45zM384 128h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5 t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85 t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640z" />
|
||||||
|
<glyph unicode="" d="M0 512v640q0 53 37.5 90.5t90.5 37.5h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186 q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5zM128 1088q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45zM384 512h32q16 0 35.5 -9 t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5 t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="896" d="M0 889q0 37 56 46l502 73l225 455q19 41 49 41v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 940q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138z M128 940q0 -168 187 -355l581 -560l580 559q188 188 188 356q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5 t-21.5 -143z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 288v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5q0 -4 1 -20t0.5 -26.5t-3 -23.5 t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5zM384 448v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45t-19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM223 1030q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86z M237 122h231v694h-231v-694zM595 122h231v388q0 38 7 56q15 35 45 59.5t74 24.5q116 0 116 -157v-371h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M0 320q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19 t-19 45zM416 672q0 -14 9 -23t23 -9t23 9t9 23v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 288v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832 q-119 0 -203.5 84.5t-84.5 203.5zM685 576q0 13 10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" d="M0 448v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45t-19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45zM894.5 78.5q0.5 10.5 3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113 t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5q0 4 -1 20t-0.5 26.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 928v128q0 40 28 68t68 28h288v96q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91t97.5 -37q75 0 133.5 -45.5 t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143zM128 928q0 -78 94.5 -162t235.5 -113q-74 162 -74 371 h-256v-96zM1206 653q141 29 235.5 113t94.5 162v96h-256q0 -209 -74 -371z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204 q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52 t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5h-224q-119 0 -203.5 84.5t-84.5 203.5zM271 315q3 5 13 2 q10 -5 7 -12q-5 -7 -13 -2q-10 5 -7 12zM304 290q6 6 16 -3q9 -11 2 -16q-6 -7 -16 3q-9 11 -2 16zM335 233q-9 13 0 18q9 7 17 -6q9 -12 0 -19q-8 -6 -17 7zM370 206q8 9 20 -3q12 -11 4 -19q-8 -9 -20 3q-13 11 -4 19zM419 168q4 11 19 7q16 -5 13 -16q-4 -12 -19 -6 q-17 4 -13 15zM481 154q0 11 16 11q17 2 17 -11q0 -11 -16 -11q-17 -2 -17 11zM540 158q-2 12 14 15q16 2 18 -9q2 -10 -14 -14t-18 8z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 -32v320q0 40 28 68t68 28h427q21 -56 70.5 -92t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68zM325 936q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69q-17 -40 -59 -40 h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40zM1152 64q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45zM1408 64q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 433q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5q0 -165 -70 -327.5 t-196 -288t-281 -180.5q-124 -44 -326 -44q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5zM128 434q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5 q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24 q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 1069q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235 t235 -174q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5 t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 288v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5zM128 288q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47 t-47 -113v-832z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M0 7v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62zM128 38l423 406l89 85l89 -85l423 -406 v1242h-1024v-1242z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 905q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5 q6 -2 30 -11t33 -12.5t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5 t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M44 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5 q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M95 631v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44 l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3 q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 96v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 32v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113zM128 32q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v608h-1664v-608zM128 1024h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600 q-13 0 -22.5 -9.5t-9.5 -22.5v-224zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 192q0 80 56 136t136 56t136 -56t56 -136t-56 -136t-136 -56t-136 56t-56 136zM0 697v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5t259 -181.5q114 -113 181.5 -259t80.5 -306q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5 t-391.5 184.5q-25 2 -41.5 20t-16.5 43zM0 1201v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294q187 -186 294 -425.5t120 -501.5q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102 q-25 1 -42.5 19.5t-17.5 43.5z" />
|
||||||
|
<glyph unicode="" d="M0 160v320q0 25 16 75l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113zM128 160q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5v320q0 13 -9.5 22.5t-22.5 9.5h-1216 q-13 0 -22.5 -9.5t-9.5 -22.5v-320zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM880 320q0 33 23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5t-23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5zM1136 320q0 33 23.5 56.5t56.5 23.5 t56.5 -23.5t23.5 -56.5t-23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 672v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50 t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113zM768 633q377 -42 768 -341v954q-394 -302 -768 -343v-270z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 128q190 161 287 397.5t97 498.5q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38 t-38 90zM183 128h1298q-164 181 -246.5 411.5t-82.5 484.5q0 256 -320 256t-320 -256q0 -254 -82.5 -484.5t-246.5 -411.5zM656 0q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16t-16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16z" />
|
||||||
|
<glyph unicode="" d="M2 435q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70l-53 -186l188 -48 q40 -10 52 -51q10 -42 -20 -70l-138 -135l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53 q-41 -12 -70 19q-31 29 -19 70l53 186l-188 48q-40 10 -52 51z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 128v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179q0 -105 -75.5 -181 t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5zM128 192q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45zM384 128h32q72 0 167 -32 t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139 q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106q-69 -57 -140 -57h-32v-640z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 769q0 103 76 179t180 76h374q-22 60 -22 128q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5v-640 q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181zM128 768q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119 q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5 t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576q-50 0 -89 -38.5t-39 -89.5zM1536 192q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5t-90.5 -37.5h-640 q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5zM128 640q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140 v-32h640v32q0 72 32 167t64 193.5t32 179.5q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576q-20 0 -48.5 15t-55 33t-68 33t-84.5 15 q-67 0 -97.5 -44.5t-30.5 -115.5zM1152 -64q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317q0 -142 -77.5 -230t-217.5 -87 l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5zM128 640q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33t55 33t48.5 15v-576q0 -50 38.5 -89 t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112 q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5zM1152 1344q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM251 640q0 -27 18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502 q26 0 45 19t19 45v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM256 576q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18 l362 362l91 91q18 18 18 45t-18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM252 641q0 -27 18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19 t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45t-18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM252 639q0 -27 18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45t-18 45l-91 91 q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM226 979q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18 q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13 q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5 t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13 q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25 t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5 t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4 q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5q15 10 -7 16q-17 5 -43 -12q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8 q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5 q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26 q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5 q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14 q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5 q-16 0 -22 -1q-146 -80 -235 -222zM877 26q0 -6 2 -16q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7 t-10 1.5t-11.5 -7q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M21 0q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90zM256 64q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45zM768 960q0 185 131.5 316.5t316.5 131.5q58 0 121.5 -16.5 t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25q0 -39 -23 -106q-47 -134 -164.5 -217.5t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 64v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45zM0 576v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45zM0 1088v256q0 26 19 45t45 19h1664 q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45zM640 640h1024v128h-1024v-128zM1024 128h640v128h-640v-128zM1280 1152h384v128h-384v-128z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M5 1241q17 39 59 39h1280q42 0 59 -39q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 160v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113zM0 736v384q0 66 47 113t113 47h352v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113v-384h-1792z M640 1280h512v128h-512v-128zM768 512v128h256v-128h-256z" />
|
||||||
|
<glyph unicode="" d="M0 -64v448q0 42 40 59q39 17 69 -14l144 -144l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45 v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19l-144 144l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19 t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 671q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5zM128 1280q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181zM256 3q0 53 3.5 103.5 t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5 zM576 896q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5zM1280 1280q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181zM1327 640q81 117 81 256q0 29 -5 66q66 -23 133 -23 q59 0 119 21.5t97.5 42.5t43.5 21q124 0 124 -353q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M16 1088q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l206 -207q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204t-85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88 q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204zM208 1088q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15t21.5 -21.5t18.5 -19q33 31 33 73 q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67zM911 383q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26l147 146q28 28 28 67q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5 q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 448q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M115.5 -64.5q-34.5 63.5 21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399l503 -793q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5zM476 384h712l-272 429l-20 31v37v399h-128v-399v-37 l-20 -31z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M1 157q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148q4 -48 -10 -97q4 -1 12 -5 l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56l-507 -398l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207zM168 176q-25 -66 21 -108q39 -36 113 -36q100 0 192 59q81 51 106 117t-21 108q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117zM168 976q25 -66 106 -117q92 -59 192 -59q74 0 113 36q46 42 21 108t-106 117q-92 59 -192 59 q-74 0 -113 -36q-46 -42 -21 -108zM672 448l9 -8q2 -2 7 -6q4 -4 11 -12t11 -12l26 -26l160 96l96 -32l736 576l-128 64l-768 -431v-113zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 576q0 26 19 45t45 19t45 -19 t19 -45t-19 -45t-45 -19t-45 19t-19 45zM1018 391l582 -327l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 224v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68zM128 256h512v256q0 40 20 88t48 76l316 316v416h-384 v-416q0 -40 -28 -68t-68 -28h-416v-640zM213 1024h299v299zM768 -128h896v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640zM853 640h299v299z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M4 1023q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581 q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776 q-113 115 -113 271z" />
|
||||||
|
<glyph unicode="" d="M0 -32v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 0h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20 t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280zM384 0h768v384h-768v-384zM640 928q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v320q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5z" />
|
||||||
|
<glyph unicode="" d="M0 64v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45zM0 576v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45zM0 1088v128q0 26 19 45t45 19h1408 q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 128q0 80 56 136t136 56t136 -56t56 -136t-56 -136t-136 -56t-136 56t-56 136zM0 640q0 80 56 136t136 56t136 -56t56 -136t-56 -136t-136 -56t-136 56t-56 136zM0 1152q0 80 56 136t136 56t136 -56t56 -136t-56 -136t-136 -56t-136 56t-56 136zM512 32v192 q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5zM512 544v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5z M512 1056v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M15 438q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105v-159h-362q-6 36 -6 54zM19 -190 l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66zM34 1400l136 127h106v-404h108v-99 h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54zM512 32v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5zM512 544v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5v-192 q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5zM512 1056v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 544v64q0 14 9 23t23 9h1728q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23zM384 972q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6l-14 2q-50 149 -103 205 q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743q-28 35 -51 80q-48 97 -48 188zM414 154q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22 q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156z" />
|
||||||
|
<glyph unicode="" d="M0 -32v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-1472q-14 0 -23 -9t-9 -23zM0 1405q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5 t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2 q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195 q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39q-37 2 -45 4z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 160v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113zM128 160q0 -14 9 -23t23 -9h320q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192zM128 544q0 -14 9 -23t23 -9h320 q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192zM128 928q0 -14 9 -23t23 -9h320q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192zM640 160q0 -14 9 -23t23 -9h320q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9 t-9 -23v-192zM640 544q0 -14 9 -23t23 -9h320q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192zM640 928q0 -14 9 -23t23 -9h320q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192zM1152 160q0 -14 9 -23t23 -9h320q14 0 23 9t9 23 v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192zM1152 544q0 -14 9 -23t23 -9h320q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192zM1152 928q0 -14 9 -23t23 -9h320q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M27 160q0 27 18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45t-18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45zM128 1408l98 30l30 98l30 -98l98 -30l-98 -30l-30 -98l-30 98zM320 1216l196 60l60 196l60 -196l196 -60l-196 -60 l-60 -196l-60 196zM768 1408l98 30l30 98l30 -98l98 -30l-98 -30l-30 -98l-30 98zM1083 1062l107 -107l293 293l-107 107zM1408 768l98 30l30 98l30 -98l98 -30l-98 -30l-30 -98l-30 98z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M64 192q0 26 19 45t45 19v320q0 8 -0.5 35t0 38t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45v-1024q0 -15 -4 -26.5t-13.5 -18.5t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5 q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM384 128q0 -52 38 -90t90 -38 t90 38t38 90t-38 90t-90 38t-90 -38t-38 -90zM1280 128q0 -52 38 -90t90 -38t90 38t38 90t-38 90t-90 38t-90 -38t-38 -90z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63 q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5 q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5 q-104 0 -194.5 -28.5t-153 -76.5t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118 q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM276 309q0 -43 18.5 -77.5t48.5 -56.5t69 -37t77.5 -21t76.5 -6q60 0 120.5 15.5t113.5 46t86 82.5t33 117 q0 49 -20 89.5t-49 66.5t-58 47.5t-49 44t-20 44.5t15.5 42.5t37.5 39.5t44 42t37.5 59.5t15.5 82.5q0 60 -22.5 99.5t-72.5 90.5h83l88 64h-265q-85 0 -161 -32t-127.5 -98t-51.5 -153q0 -93 64.5 -154.5t158.5 -61.5q22 0 43 3q-13 -29 -13 -54q0 -44 40 -94 q-175 -12 -257 -63q-47 -29 -75.5 -73t-28.5 -95zM395 338q0 46 25 80t65.5 51.5t82 25t84.5 7.5q20 0 31 -2q2 -1 23 -16.5t26 -19t23 -18t24.5 -22t19 -22.5t17 -26t9 -26.5t4.5 -31.5q0 -76 -58.5 -112.5t-139.5 -36.5q-41 0 -80.5 9.5t-75.5 28.5t-58 53t-22 78z M462 969q0 61 32 104t92 43q53 0 93.5 -45t58 -101t17.5 -107q0 -60 -33 -99.5t-92 -39.5q-53 0 -93 42.5t-57.5 96.5t-17.5 106zM960 672h128v-160h64v160h128v64h-128v128h-64v-128h-128v-64z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M32 182q0 81 44.5 150t118.5 115q131 82 404 100q-32 42 -47.5 74t-15.5 73q0 36 21 85q-46 -4 -68 -4q-148 0 -249.5 96.5t-101.5 244.5q0 82 36 159t99 131q77 66 182.5 98t217.5 32h418l-138 -88h-131q74 -63 112 -133t38 -160q0 -72 -24.5 -129.5t-59 -93t-69.5 -65 t-59.5 -61.5t-24.5 -66q0 -36 32 -70.5t77.5 -68t90.5 -73.5t77 -104t32 -142q0 -90 -48 -173q-72 -122 -211 -179.5t-298 -57.5q-132 0 -246.5 41.5t-171.5 137.5q-37 60 -37 131zM218 228q0 -70 35 -123.5t91.5 -83t119 -44t127.5 -14.5q58 0 111.5 13t99 39t73 73 t27.5 109q0 25 -7 49t-14.5 42t-27 41.5t-29.5 35t-38.5 34.5t-36.5 29t-41.5 30t-36.5 26q-16 2 -48 2q-53 0 -105 -7t-107.5 -25t-97 -46t-68.5 -74.5t-27 -105.5zM324 1222q0 -46 10 -97.5t31.5 -103t52 -92.5t75 -67t96.5 -26q38 0 78 16.5t66 43.5q53 57 53 159 q0 58 -17 125t-48.5 129.5t-84.5 103.5t-117 41q-42 0 -82.5 -19.5t-65.5 -52.5q-47 -59 -47 -160zM1084 731v108h212v217h105v-217h213v-108h-213v-219h-105v219h-212z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 64v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45zM128 384q106 0 181 -75t75 -181h1152q0 106 75 181t181 75v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512zM640 640q0 70 21 142 t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142t-21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142zM762 791l77 -80q42 37 55 57h2v-288h-128v-96h384v96h-128v448h-114z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 832q0 26 19 45t45 19h896q26 0 45 -19t19 -45t-19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 320q0 26 19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="640" d="M64 640q0 26 19 45l448 448q19 19 45 19t45 -19t19 -45v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="640" d="M0 192v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45t-19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 32v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113zM128 32q0 -13 9.5 -22.5t22.5 -9.5h608v1152h-640v-1120zM896 0h608q13 0 22.5 9.5t9.5 22.5v1120h-640v-1152z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 448q0 26 19 45t45 19h896q26 0 45 -19t19 -45t-19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45zM0 832q0 26 19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 448q0 26 19 45t45 19h896q26 0 45 -19t19 -45t-19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 832q0 26 19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 32v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113zM0 1098q0 78 41.5 130t118.5 52h1472 q65 0 112.5 -47t47.5 -113q0 -79 -49 -151t-122 -123q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5z" />
|
||||||
|
<glyph unicode="" d="M0 1217q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122zM19 -80v991h330v-991h-330zM531 -80q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5v-568 h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329z" />
|
||||||
|
<glyph unicode="" d="M0 832v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298t-61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12 q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M40 736q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18 q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5 q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5 t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 384q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29q-141 221 -141 483zM128 384q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5z M320 832q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5zM710 241q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91l101 382q6 26 -7.5 48.5t-38.5 29.5t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5 t-63 -98.5zM768 1024q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5zM1216 832q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5zM1408 384q0 -53 37.5 -90.5 t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 640q0 174 120 321.5t326 233t450 85.5t450 -85.5t326 -233t120 -321.5t-120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5 t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281zM128 640q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5t-381.5 -69.5 t-282 -187.5t-104.5 -255z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 768q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257t-94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25 t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224zM128 768q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52t-286 -52t-211.5 -141t-78.5 -191zM616 132 q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22 t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="896" d="M1 551l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 -32v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 681q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17 q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5z M384 128q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180zM768 1310v98q0 26 19 45t45 19t45 -19t19 -45v-98q-42 2 -64 2t-64 -2z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 96v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88v-672q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68zM256 1312q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5v64 q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64zM768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1280 640h299l-299 299v-299z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 960q0 99 44.5 184.5t117 142t164 89t186.5 32.5t186.5 -32.5t164 -89t117 -142t44.5 -184.5q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47q0 -46 -31.5 -71t-77.5 -25 q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268zM128 960q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228 q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134zM480 1088q0 13 9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5 q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 256q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22zM0 800v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23 t23 9q12 0 24 -10l319 -319q9 -9 9 -23t-9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 448q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5z M512 608q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 448q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5z M512 672q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 131q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89 q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5 t81 -103t47.5 -132.5t24 -138t5.5 -131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190zM256 192q0 26 19 45t45 19t45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45zM320 1024q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5 t-271.5 112.5t-112.5 271.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 768v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48 q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5 t-131.5 271.5v132q-164 20 -274 128t-110 252zM1152 832q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 96v832q0 92 66 158t158 66h64v-1280h-64q-92 0 -158 66t-66 158zM384 -128v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128v-1280h-1024zM640 1152h512v128h-512v-128zM1504 -128v1280h64q92 0 158 -66t66 -158v-832q0 -92 -66 -158t-158 -66h-64z " />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 128q190 161 287 397.5t97 498.5q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38 t-38 90zM656 0q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16t-16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM256 480v736q0 26 19 45t45 19h1152q159 0 271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158zM1408 704h64q80 0 136 56t56 136 t-56 136t-136 56h-64v-384z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 832v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128 q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111zM768 416v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM384 160v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23v-64 q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23zM384 416v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23zM384 672v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23zM1024 1024h376 q-10 29 -22 41l-313 313q-12 12 -41 22v-376z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 -192v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45zM128 -128h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224h384v1536h-1152v-1536zM256 160v64q0 13 9.5 22.5t22.5 9.5h64 q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM256 416v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM256 672v64q0 13 9.5 22.5t22.5 9.5h64 q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM256 928v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM256 1184v64q0 13 9.5 22.5t22.5 9.5h64 q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM512 416v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM512 672v64q0 13 9.5 22.5t22.5 9.5h64 q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM512 928v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM512 1184v64q0 13 9.5 22.5t22.5 9.5h64 q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM768 416v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM768 672v64q0 13 9.5 22.5t22.5 9.5h64 q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM768 928v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM768 1184v64q0 13 9.5 22.5t22.5 9.5h64 q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM1024 160v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM1024 416v64q0 13 9.5 22.5t22.5 9.5h64 q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM1024 672v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM1024 928v64q0 13 9.5 22.5t22.5 9.5h64 q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM1024 1184v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 -192v1280q0 26 19 45t45 19h320v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45zM128 -128h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224h384v1152h-256 v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152zM256 160v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM256 416v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5 v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM256 672v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM512 416v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64 q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM512 672v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM512 1056q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128 v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320zM768 416v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5 v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM768 672v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM1024 160v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5 v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM1024 416v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5zM1024 672v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5 v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M64 192q0 26 19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45v-1152q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128 q-26 0 -45 19t-19 45zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM384 128q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5zM896 800q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192 q14 0 23 9t9 23v224h224q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192zM1280 128q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 96v832q0 92 66 158t158 66h32v-1280h-32q-92 0 -158 66t-66 158zM352 -128v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160v-1280h-1088zM512 416q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23v192 q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192zM640 1152h512v128h-512v-128zM1536 -128v1280h32q92 0 158 -66t66 -158v-832q0 -92 -66 -158t-158 -66h-32z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 512v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93l1 -3q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5 t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M64 1152l32 128h480l32 128h960l32 -192l-64 -32v-800l128 -192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320zM384 768q0 -53 37.5 -90.5t90.5 -37.5h128v384h-256v-256z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 192q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45 v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 576q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45 v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M45 576q0 13 10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23zM429 576q0 13 10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23 l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M13 160q0 13 10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23zM397 160q0 13 10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10 l466 -466q10 -10 10 -23t-10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M77 224q0 13 10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23zM77 608q0 13 10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23 l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M77 672q0 13 10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23zM77 1056q0 13 10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10 l50 -50q10 -10 10 -23t-10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="640" d="M45 576q0 13 10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="640" d="M13 160q0 13 10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M77 352q0 13 10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M77 800q0 13 10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 288v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113zM128 544q0 -13 9.5 -22.5 t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 96v96h160h1600h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68zM256 416v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088q-66 0 -113 47t-47 113zM384 416q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5 t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5v-704zM864 112q0 -16 16 -16h160q16 0 16 16t-16 16h-160q-16 0 -16 -16z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M0 160v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-832q-66 0 -113 47t-47 113zM128 288q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960zM512 128 q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="768" d="M0 128v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90zM96 288q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704zM288 1136 q0 -16 16 -16h160q16 0 16 16t-16 16h-160q-16 0 -16 -16zM304 128q0 -33 23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5t-23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 192v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136z M896 192v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 832v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136zM896 832v384 q0 80 56 136t136 56h384q80 0 136 -56t56 -136v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1568" d="M0 640q0 66 47 113t113 47t113 -47t47 -113t-47 -113t-113 -47t-113 47t-47 113zM176 1088q0 73 51.5 124.5t124.5 51.5t124.5 -51.5t51.5 -124.5t-51.5 -124.5t-124.5 -51.5t-124.5 51.5t-51.5 124.5zM208 192q0 60 42 102t102 42q59 0 101.5 -42t42.5 -102t-42.5 -102 t-101.5 -42q-60 0 -102 42t-42 102zM608 1280q0 80 56 136t136 56t136 -56t56 -136t-56 -136t-136 -56t-136 56t-56 136zM672 0q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5zM1136 192q0 46 33 79t79 33t79 -33t33 -79 t-33 -79t-79 -33t-79 33t-33 79zM1168 1088q0 33 23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5t-23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5zM1344 640q0 40 28 68t68 28t68 -28t28 -68t-28 -68t-68 -28t-68 28t-28 68z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 896q0 26 19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101 t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19l-512 512q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 496q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218q0 -87 -27 -168q136 -160 136 -398q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86t-170 -47.5t-171.5 -22t-167 -4.5 q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331zM224 320q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11 q-152 21 -195 21q-118 0 -187 -84t-69 -204zM384 320q0 40 12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82t-12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82zM1024 320q0 40 12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82t-12.5 -82t-43 -76t-72.5 -34t-72.5 34 t-43 76t-12.5 82z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 224v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158zM128 224q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64 q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 224v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158zM128 331l256 315q44 53 116 87.5 t140 34.5h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-853zM171 163q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40z " />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM128 640q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 t-51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5zM384 896q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5zM402 461q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38 q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5q-37 -121 -138 -195t-228 -74t-228 74t-138 195zM896 896q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM128 640q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 t-51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5zM384 896q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5zM402 307q37 121 138 195t228 74t228 -74t138 -195q8 -25 -4 -48.5 t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5zM896 896q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM128 640q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 t-51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5zM384 448q0 26 19 45t45 19h640q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45zM384 896q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5 t-90.5 -37.5t-90.5 37.5t-37.5 90.5zM896 896q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 512q0 212 150 362t362 150h896q212 0 362 -150t150 -362t-150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150t-150 362zM192 448q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23v128 q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128zM1152 384q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5zM1408 640q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 128v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5zM128 128h1664v896h-1664v-896zM256 272v96q0 16 16 16h96q16 0 16 -16v-96q0 -16 -16 -16h-96q-16 0 -16 16zM256 528v96 q0 16 16 16h224q16 0 16 -16v-96q0 -16 -16 -16h-224q-16 0 -16 16zM256 784v96q0 16 16 16h96q16 0 16 -16v-96q0 -16 -16 -16h-96q-16 0 -16 16zM512 272v96q0 16 16 16h864q16 0 16 -16v-96q0 -16 -16 -16h-864q-16 0 -16 16zM512 784v96q0 16 16 16h96q16 0 16 -16v-96 q0 -16 -16 -16h-96q-16 0 -16 16zM640 528v96q0 16 16 16h96q16 0 16 -16v-96q0 -16 -16 -16h-96q-16 0 -16 16zM768 784v96q0 16 16 16h96q16 0 16 -16v-96q0 -16 -16 -16h-96q-16 0 -16 16zM896 528v96q0 16 16 16h96q16 0 16 -16v-96q0 -16 -16 -16h-96q-16 0 -16 16z M1024 784v96q0 16 16 16h96q16 0 16 -16v-96q0 -16 -16 -16h-96q-16 0 -16 16zM1152 528v96q0 16 16 16h96q16 0 16 -16v-96q0 -16 -16 -16h-96q-16 0 -16 16zM1280 784v96q0 16 16 16h96q16 0 16 -16v-96q0 -16 -16 -16h-96q-16 0 -16 16zM1408 528v96q0 16 16 16h112v240 q0 16 16 16h96q16 0 16 -16v-352q0 -16 -16 -16h-224q-16 0 -16 16zM1536 272v96q0 16 16 16h96q16 0 16 -16v-96q0 -16 -16 -16h-96q-16 0 -16 16z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M64 1280q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64zM320 320v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86 q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56zM448 426 q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M64 1280q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64zM320 320v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86 q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56zM448 426 q205 96 384 110v192q-181 -16 -384 -117v-185zM448 836q215 111 384 118v197q-172 -8 -384 -126v-189zM832 730h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15 t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2q-23 0 -49 -3v-222zM1280 828q148 -42 384 90v189q-169 -91 -306 -91q-45 0 -78 8v-196z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M13 160q0 13 10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23zM640 32v64q0 14 9 23t23 9h960q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-960 q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M45 576q0 13 10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23zM712 -52l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5 l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5zM1293 160q0 13 10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 896q0 26 19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45l397 -397v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45zM384 896q0 26 19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221 q169 -173 169 -509q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M2 900.5q9 27.5 54 34.5l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5z M832 310l59 -31l318 -168l-60 355l-12 66l49 47l257 250l-356 52l-66 10l-30 60l-159 322v-963z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M2 561q-5 22 4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 928v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864 q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23zM512 301l595 595h-595v-595zM557 256h595v595z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 64q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136 q0 -52 -26 -96.5t-70 -69.5q-2 -287 -226 -414q-68 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136zM96 64q0 -40 28 -68t68 -28t68 28t28 68t-28 68t-68 28t-68 -28t-28 -68zM96 1216q0 -40 28 -68 t68 -28t68 28t28 68t-28 68t-68 28t-68 -28t-28 -68zM736 1088q0 -40 28 -68t68 -28t68 28t28 68t-28 68t-68 28t-68 -28t-28 -68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 448q0 14 9 23t23 9h320q14 0 23 -9t9 -23t-9 -23t-23 -9h-320q-14 0 -23 9t-9 23zM16 1088q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56l-239 -18l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68 l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204zM128 32q0 13 9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-256 -256q-10 -9 -23 -9q-12 0 -23 9q-9 10 -9 23zM544 -96v320q0 14 9 23t23 9t23 -9t9 -23v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23zM633 364 l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56zM1056 1184v320q0 14 9 23t23 9t23 -9t9 -23v-320 q0 -14 -9 -23t-23 -9t-23 9t-9 23zM1216 1120q0 13 9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23zM1280 960q0 14 9 23t23 9h320q14 0 23 -9t9 -23t-9 -23t-23 -9h-320q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M96.5 986q-2.5 15 5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5t-10.5 37.5v45q0 83 65 156.5 t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25zM384 40v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="640" d="M0 64v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45zM128 1152v192q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-192 q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="640" d="M98 1344q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45zM128 64v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" d="M5 0v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258zM1013 713q0 64 26 117t65 86.5 t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5t-65.5 -51.5t-30.5 -63h232v80h126v-206h-514l-3 27q-4 28 -4 46z " />
|
||||||
|
<glyph unicode="" d="M5 0v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258zM1015 -183q0 64 26 117t65 86.5 t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73h232v80h126v-206h-514l-4 27q-3 45 -3 46z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M1.5 146.5q5.5 37.5 30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5zM128 128h768l336 384h-768z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 0v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5 q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124 q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89 q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M0 704v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45 t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5zM256 704v512q0 132 94 226t226 94t226 -94t94 -226v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M13 64q0 13 10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23t-10 -23l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -221 -147.5 -384.5 t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23zM128 704v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113l-101 -101 q-42 103 -42 214zM384 704v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M0 576v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150t-33.5 170.5zM640 79 q119 63 213 137q235 184 235 360v640h-448v-1137z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 -128v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90zM128 -128h1408v1024h-1408v-1024z M384 1088q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288zM1152 1088q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M3.5 940q-8.5 25 3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96 q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37 zM384 1344q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M36 464l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85 q-3 -1 -9 -1q-14 0 -23 9l-64 64q-17 19 -5 39zM1248 1088q0 -40 28 -68t68 -28t68 28t28 68t-28 68t-68 28t-68 -28t-28 -68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 0l204 953l-153 327h1276q101 0 189.5 -40.5t147.5 -113.5q60 -73 81 -168.5t0 -194.5l-164 -763h-334l178 832q13 56 -15 88q-27 33 -83 33h-169l-204 -953h-334l204 953h-286l-204 -953h-334z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM346 640q0 -26 19 -45l454 -454q19 -19 45 -19t45 19l102 102q19 19 19 45t-19 45l-307 307l307 307 q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM506 288q0 -26 19 -45l102 -102q19 -19 45 -19t45 19l454 454q19 19 19 45t-19 45l-454 454 q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM250 544q0 -26 19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19l102 102 q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM250 736q0 -26 19 -45l454 -454q19 -19 45 -19t45 19l454 454q19 19 19 45t-19 45l-102 102 q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 1408h1408l-128 -1438l-578 -162l-574 162zM262 1114l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674l16 175h-884z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M12 75l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208l59 297h1505l-266 -1333l-804 -267z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 0v352q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192 q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23v-352q0 -22 -20 -30q-8 -2 -12 -2q-13 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5 l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30zM832 1280q0 -26 19 -45t45 -19t45 19t19 45t-19 45t-45 19t-45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M0 96v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181v-320h736q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28 t-28 68z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM128 640q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 t-51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5zM256 640q0 212 150 362t362 150t362 -150t150 -362t-150 -362t-362 -150t-362 150t-150 362zM384 640q0 -159 112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5t-112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5zM512 640q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 608v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68zM512 608v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68zM1024 608v192q0 40 28 68t68 28h192 q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="384" d="M0 96v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68zM0 608v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68zM0 1120v192q0 40 28 68t68 28h192q40 0 68 -28 t28 -68v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 256q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5t-37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5z M256 575q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128q13 0 23 10t9 24q-13 232 -177 396t-396 177q-14 1 -24 -9t-10 -23v-128zM256 959q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128 q13 0 23 10q11 9 9 23q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM512 320q0 -37 32 -56q16 -8 32 -8q17 0 32 9l544 320q32 18 32 55t-32 55l-544 320q-31 19 -64 1 q-32 -19 -32 -56v-640z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M54 448.5q0 53.5 37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136t-136 56t-136 -56l-125 126q-37 37 -37 90.5z M342 512q0 -26 19 -45l362 -362q18 -18 45 -18t45 18l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45zM452 512l572 572l316 -316l-572 -572z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 576q0 -26 19 -45t45 -19h896q26 0 45 19t19 45v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128 z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 288v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5zM128 288q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47 t-47 -113v-832zM256 672v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M3 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M3 1261q9 19 29 19h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM218 640q0 -26 19 -45l358 -358q19 -19 45 -19t45 19l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19 t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 128h288l544 544l-288 288l-544 -544v-288zM352 320v56l52 52l152 -152l-52 -52h-56v96h-96zM494 494 q-14 13 3 30l291 291q17 17 30 3q14 -13 -3 -30l-291 -291q-17 -17 -30 -3zM864 1024l288 -288l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM282 320q0 -26 19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59 v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 448q0 -181 167 -404q10 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5t224 23.5v-160 q0 -42 40 -59q12 -5 24 -5q26 0 45 19l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM512 241v542l512 256v-542zM640 448l256 128l-256 128v-256z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 160q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5v960q0 13 -9.5 22.5t-22.5 9.5h-960 q-13 0 -22.5 -9.5t-9.5 -22.5v-960zM391 861q17 35 57 35h640q40 0 57 -35q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 160q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5v960q0 13 -9.5 22.5t-22.5 9.5h-960 q-13 0 -22.5 -9.5t-9.5 -22.5v-960zM391 419q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66q-17 -35 -57 -35h-640q-40 0 -57 35z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 160q0 -14 9 -23t23 -9h960q14 0 23 9t9 23v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960z M512 320v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52t-27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 514v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5 t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5 l12 3l5 2q13 5 26 -2q12 -7 15 -21l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 32v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215 h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M52 171l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242 t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48 t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50t53 -63.5t31.5 -76.5t13 -94q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5 t-17.5 18q-17 21 -2 41z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="898" d="M0 605v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171 q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1027" d="M4 1360q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103 q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M0 256v128q0 14 9 23t23 9h224v118h-224q-14 0 -23 9t-9 23v149q0 13 9 22.5t23 9.5h224v629q0 14 9 23t23 9h539q200 0 326.5 -122t126.5 -315t-126.5 -315t-326.5 -122h-340v-118h505q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-505v-192q0 -14 -9.5 -23t-22.5 -9 h-167q-14 0 -23 9t-9 23v192h-224q-14 0 -23 9t-9 23zM487 747h320q106 0 171 62t65 162t-65 162t-171 62h-320v-448z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 672v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111 q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23z M373 896l32 -128h225l35 128h-292zM436 640l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5l81 299h-159zM822 768h139l-35 128h-70zM1118 896l34 -128h230l33 128h-297zM1187 640l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3l78 300h-162z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M56 0l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89 t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200zM522 182q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30t24.5 40t9.5 51q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1 t-47.5 -1v-338zM522 674q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h800v-544q0 -40 28 -68t68 -28h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM1024 1024v472q22 -14 36 -28l408 -408q14 -14 28 -36h-472z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h800v-544q0 -40 28 -68t68 -28h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM384 160q0 -14 9 -23t23 -9h704q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64zM384 416q0 -14 9 -23t23 -9h704 q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64zM384 672q0 -14 9 -23t23 -9h704q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64zM1024 1024v472q22 -14 36 -28l408 -408q14 -14 28 -36h-472z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M34 108q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35zM899 768v106h70l230 662h162l230 -662h70v-106h-288v106h75l-47 144h-243l-47 -144h75v-106 h-287zM988 -166l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121v-233h-584v90zM1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18 t-7.5 -29z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M34 108q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35zM899 -150h70l230 662h162l230 -662h70v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287 v106zM988 768v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248v119h121v-233h-584zM1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29 z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M34 108q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35zM896 -32q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9 t-9 23v192zM896 288v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23zM896 800v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23zM896 1312v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23 v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M34 108q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35zM896 -32q0 14 9 23t23 9h256q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9 t-9 23v192zM896 288v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23zM896 800v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23zM896 1312v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23 v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" d="M34 108q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35zM946 261q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5q0 -62 -13 -121.5t-41 -114 t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5zM976 1351l192 185h123v-654h165v-114h-469v114h167v432q0 7 0.5 19t0.5 17 v16h-2l-7 -12q-8 -13 -26 -31l-62 -58zM1085 261q0 -57 36.5 -95t104.5 -38q50 0 85 27t35 68q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94z" />
|
||||||
|
<glyph unicode="" d="M34 108q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35zM946 1285q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5q0 -62 -13 -121.5t-41 -114 t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5zM976 327l192 185h123v-654h165v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16 h-2l-7 -12q-8 -13 -26 -31l-62 -58zM1085 1285q0 -57 36.5 -95t104.5 -38q50 0 85 27t35 68q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 64v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45zM128 192q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45zM480 64v641q0 25 18 43.5t43 20.5q24 2 76 59 t101 121q68 87 101 120q18 18 31 48t17.5 48.5t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135 q0 -86 -55 -149q15 -44 15 -76q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 448q0 -26 19 -45t45 -19h288q26 0 45 19t19 45v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640zM128 960q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45zM480 447v641q0 26 19 44.5t45 19.5q35 1 158 44 q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76q55 -61 55 -149q-1 -78 -57.5 -135t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39 t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121t-76 59q-25 2 -43 20.5t-18 43.5z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM218 366q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73 q20 84 20 260q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5q-20 -87 -20 -260zM300 551v70h232v-70h-80v-423h-74v423h-78zM396 1313l24 -69t23 -69q35 -103 46 -158v-201h74v201l90 296h-75l-51 -195l-53 195 h-78zM542 205v290h66v-270q0 -24 1 -26q1 -15 15 -15q20 0 42 31v280h67v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 16 -6 54zM654 936q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87v130q0 58 -21 87q-29 38 -78 38q-51 0 -78 -38q-21 -29 -21 -87v-130zM721 923 v156q0 52 32 52t32 -52v-156q0 -51 -32 -51t-32 51zM790 128v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67zM857 200q16 -16 33 -16q29 0 29 49v157q0 50 -29 50q-17 0 -33 -16v-224zM907 893q0 -37 6 -55 q11 -27 43 -27q36 0 77 45v-40h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293zM1037 247v129q0 59 20 86q29 38 80 38t78 -38q21 -28 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68v-9q0 -29 -2 -43q-3 -22 -15 -40 q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86zM1103 355h66v34q0 51 -33 51t-33 -51v-34z" />
|
||||||
|
<glyph unicode="" d="M27 260q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99q-26 112 -26 350zM138 509h105v-569h100v569h107v94h-312 v-94zM266 1536h106l71 -263l68 263h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187zM463 43q0 -49 8 -73q12 -37 58 -37q48 0 102 61v-54h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391zM614 1028v175q0 80 28 117q38 51 105 51 q69 0 106 -51q28 -37 28 -117v-175q0 -81 -28 -118q-37 -51 -106 -51q-67 0 -105 51q-28 38 -28 118zM704 1011q0 -70 43 -70t43 70v210q0 69 -43 69t-43 -69v-210zM798 -60h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89 v-663zM887 36v301q22 22 45 22q39 0 39 -67v-211q0 -67 -39 -67q-23 0 -45 22zM955 971v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75zM1130 100q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54 q2 9 2 58v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51q-28 -37 -28 -116v-173zM1219 245v46q0 68 45 68t45 -68v-46h-90z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M5 384q-10 17 0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45l164 -286q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17zM536 539q18 32 531 942q25 45 64 45h241q22 0 31 -15q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37 q-10 -15 -32 -15h-239q-42 0 -66 45z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM227 396q8 -13 24 -13h185q31 0 50 36l199 352q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29 l125 -216v-1l-196 -346q-9 -14 0 -28zM638 516q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1l409 723q8 16 0 28q-7 12 -24 12h-187q-30 0 -49 -35z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 640q0 96 1 150t8.5 136.5t22.5 147.5q16 73 69 123t124 58q222 25 671 25t671 -25q71 -8 124.5 -58t69.5 -123q14 -65 21.5 -147.5t8.5 -136.5t1 -150t-1 -150t-8.5 -136.5t-22.5 -147.5q-16 -73 -69 -123t-124 -58q-222 -25 -671 -25t-671 25q-71 8 -124.5 58 t-69.5 123q-14 65 -21.5 147.5t-8.5 136.5t-1 150zM640 320q0 -38 33 -56q16 -8 31 -8q20 0 34 10l512 320q30 17 30 54t-30 54l-512 320q-31 20 -65 2q-33 -18 -33 -56v-640z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M64 558l338 271l494 -305l-342 -285zM64 1099l490 319l342 -285l-494 -304zM407 166v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284l147 96v-108l-490 -293v-1l-1 1l-1 -1v1zM896 524l494 305l338 -271l-489 -319zM896 1133l343 285l489 -319l-338 -270z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 -255v736h121v-618h928v618h120v-701l-1 -35v-1h-1132l-35 1h-1zM221 -17v151l707 1v-151zM227 243l14 150l704 -65l-13 -150zM270 563l39 146l683 -183l-39 -146zM395 928l77 130l609 -360l-77 -130zM707 1303l125 86l398 -585l-124 -85zM1136 1510l149 26l121 -697 l-149 -26z" />
|
||||||
|
<glyph unicode="" d="M0 69v1142q0 81 58 139t139 58h1142q81 0 139 -58t58 -139v-1142q0 -81 -58 -139t-139 -58h-1142q-81 0 -139 58t-58 139zM171 110q0 -26 17.5 -43.5t43.5 -17.5h1069q25 0 43 17.5t18 43.5v648h-135q20 -63 20 -131q0 -126 -64 -232.5t-174 -168.5t-240 -62 q-197 0 -337 135.5t-140 327.5q0 68 20 131h-141v-648zM461 643q0 -124 90.5 -211.5t217.5 -87.5q128 0 218.5 87.5t90.5 211.5t-90.5 211.5t-218.5 87.5q-127 0 -217.5 -87.5t-90.5 -211.5zM1050 1003q0 -29 20 -49t49 -20h174q29 0 49 20t20 49v165q0 28 -20 48.5 t-49 20.5h-174q-29 0 -49 -20.5t-20 -48.5v-165z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM274 640q0 -88 62 -150t150 -62t150 62t62 150t-62 150t-150 62t-150 -62t-62 -150zM838 640q0 -88 62 -150 t150 -62t150 62t62 150t-62 150t-150 62t-150 -62t-62 -150z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM309 384h94l104 160h522l104 -160h94l-459 691zM567 608l201 306l201 -306h-402z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 1222q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34 t-6 39.5t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158zM173 285l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18t-76.5 27 t-73 43.5t-52 61.5q-25 96 -57 292zM243 1240q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5q-20 27 -56 44.5t-58 22t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43zM481 657q4 -91 77.5 -155t165.5 -56q91 8 152 84 t50 168q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5zM599 710q14 41 52 58q36 18 72.5 12t64 -35.5t27.5 -67.5q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM260 1060q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63 q24 13 39.5 23t31 29t19.5 40q48 267 80 473q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54zM385 384q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71q0 7 5.5 26.5t3 32 t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6zM436 1073q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5t-52.5 16t-54.5 32.5zM607 653q-2 49 25.5 93t72.5 64 q70 31 141.5 -10t81.5 -118q8 -66 -36 -121t-110 -61t-119 40t-56 113zM687.5 660.5q0.5 -52.5 43.5 -70.5q39 -23 81 4t36 72q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M78 779v217q91 30 155 84q64 55 103 132q39 78 54 196h219v-388h364v-241h-364v-394q0 -136 14 -172q13 -37 52 -60q50 -31 117 -31q117 0 232 76v-242q-102 -48 -178 -65q-77 -19 -173 -19q-105 0 -186 27q-78 25 -138 75q-58 51 -79 105q-22 54 -22 161v539h-170z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM413 744h127v-404q0 -78 17 -121q17 -42 59 -78q43 -37 104 -57q62 -20 140 -20q67 0 129 14q57 13 134 49v181 q-88 -56 -174 -56q-51 0 -88 23q-29 17 -39 45q-11 30 -11 129v295h274v181h-274v291h-164q-11 -90 -40 -147t-78 -99q-48 -40 -116 -63v-163z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="768" d="M3 237q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19t-5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="768" d="M3 1043q-8 19 5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M64 637q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 544v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 634q0 228 113 374q112 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32 q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503zM683 1131q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 -27v557h682v-651zM0 614v565l682 94v-659h-682zM757 -131v661h907v-786zM757 614v669l907 125v-794h-907z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 337v430q0 42 30 72t73 30q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30t-73 30t-30 73zM241 886q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20l-71 -131q107 -55 171 -153.5t64 -215.5 h-925zM245 184v666h918v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78zM455 1092q0 -16 11 -27.5t27 -11.5t27.5 11.5t11.5 27.5t-11.5 27.5 t-27.5 11.5t-27 -11.5t-11 -27.5zM876 1092q0 -16 11.5 -27.5t27.5 -11.5t27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5zM1203 337v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73z" />
|
||||||
|
<glyph unicode="" d="M11 -115q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49t-14 -48q3 -17 37 -26q20 -6 84.5 -18.5 t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54q110 143 124 195q-12 112 -16 310q-2 90 24 151.5 t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5t-40.5 -33.5t-61 -14q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5 t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5t15.5 47.5q1 -31 8 -56.5t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13 t16.5 -9.5q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5t-30 -18.5t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5 q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43q-19 4 -51 9.5t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5zM321 495q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54 t7 -70.5q46 24 7 92q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5 t60 -22.5q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7 q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15 q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5 t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19 q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63 q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18zM372 630q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-7 -10 -1 -12zM603 1190q2 -5 5 -6 q10 0 7 -15q-3 -20 8 -20q3 0 3 3q3 17 -2.5 30t-11.5 15q-9 2 -9 -7zM634 1110q0 12 19 15h10q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5zM721 1122q24 11 32 -2q3 -6 -3 -9q-4 -1 -11.5 6.5t-17.5 4.5zM835 1196l4 -2q14 -4 18 -31q0 -3 8 2l2 3q0 11 -5 19.5t-11 12.5 t-9 3q-14 -1 -7 -7zM851 1381.5q-1 -2.5 3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9zM981 1002q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20q-2 8 -6.5 11.5t-13 5 t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM112 640q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81t99.5 48l37 13 q4 1 13 3.5t13 4.5q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21zM126 775q302 0 606 80q-120 213 -244 378q-138 -65 -234 -186t-128 -272zM350 134q184 -150 418 -150q132 0 256 52q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5 t-103 -148zM609 1276q1 1 2 1q-1 0 -2 -1zM613 1277q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5l12.5 17.5q-185 164 -433 164q-76 0 -155 -19zM909 797q25 -53 44 -95q2 -6 6.5 -17.5t7.5 -16.5q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5 t36.5 -6t25 -4.5l10 -2q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5zM1007 565q87 -239 128 -469q111 75 185 189.5t96 250.5q-210 60 -409 29z" />
|
||||||
|
<glyph unicode="" d="M0 1024q0 159 112.5 271.5t271.5 112.5q130 0 234 -80q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225 t-55.5 273.5q0 73 16 150q-80 104 -80 234zM376 399q0 -92 122 -157.5t291 -65.5q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12 t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5 q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 640q0 75 53 128l587 587q53 53 128 53t128 -53l265 -265l-398 -399l-188 188q-42 42 -99 42q-59 0 -100 -41l-120 -121q-42 -40 -42 -99q0 -58 42 -100l406 -408q30 -28 67 -37l6 -4h28q60 0 99 41l619 619l2 -3q53 -53 53 -128t-53 -128l-587 -587 q-52 -53 -127.5 -53t-128.5 53l-587 587q-53 53 -53 128zM302 660q0 21 14 35l121 120q13 15 35 15t36 -15l252 -252l574 575q15 15 36 15t36 -15l120 -120q14 -15 14 -36t-14 -36l-730 -730q-17 -15 -37 -15q-4 0 -6 1q-18 2 -30 14l-407 408q-14 15 -14 36z" />
|
||||||
|
<glyph unicode="" d="M0 -64v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45zM160 192q0 -14 9 -23t23 -9h480q14 0 23 9t9 23v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024zM832 576q0 -14 9 -23t23 -9h480q14 0 23 9t9 23 v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M0 480q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192 q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43q-40 0 -68 28t-28 68zM416 1280q0 93 65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5t-65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1024" d="M0 416v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68z M288 1280q0 93 65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5t-65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM399.5 766q8.5 -37 24.5 -59l349 -473l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5 t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M44 363q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29q-4 -15 -20 -20 l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20zM320 640q0 -117 45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5 t-45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61 t-245 164t-164 245t-61 298zM128 640q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M64 1088v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-1536q-26 0 -45 19t-19 45zM128 -64v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45zM704 704q0 -26 19 -45t45 -19h256 q26 0 45 19t19 45t-19 45t-45 19h-256q-26 0 -45 -19t-19 -45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M32 576q0 26 19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19t19 -45t-19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19 t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45z M512 1152q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5h-640z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M-1 1004q0 11 3 16l4 6q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24 q17 19 38 30q53 26 239 24q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5 t13 3t20 0.5l288 2q39 5 64 -2.5t31 -16.5l6 -10q23 -64 -150 -294q-24 -32 -65 -85q-78 -100 -90 -131q-17 -41 14 -81q17 -21 81 -82h1l1 -1l1 -1l2 -2q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12 q-30 21 -70 64t-68.5 77.5t-61 58t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211 t-130.5 272q-6 16 -6 27z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 391q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5q0 -68 -37 -139.5 t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5zM181 320q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5zM413.5 230.5 q-40.5 92.5 6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5q-45 -102 -158 -150t-224 -12q-107 34 -147.5 126.5zM495 257.5q9 -34.5 43 -50.5t74.5 -2.5t62.5 47.5q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5zM705 399 q-17 -31 13 -45q14 -5 29 0.5t22 18.5q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5zM1165 1274q-6 28 9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158 q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5zM1224 1047q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5t54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37z" />
|
||||||
|
<glyph unicode="" d="M0 638q0 187 83.5 349.5t229.5 269.5t325 137v-485q0 -252 -126.5 -459.5t-330.5 -306.5q-181 215 -181 495zM398 -34q138 87 235.5 211t131.5 268q35 -144 132.5 -268t235.5 -211q-171 -94 -368 -94q-196 0 -367 94zM898 909v485q179 -30 325 -137t229.5 -269.5 t83.5 -349.5q0 -280 -181 -495q-204 99 -330.5 306.5t-126.5 459.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 -211q0 19 13 31.5t32 12.5q173 1 322.5 107.5t251.5 294.5q-36 -14 -72 -23t-83 -13t-91 2.5t-93 28.5t-92 59t-84.5 100t-74.5 146q114 47 214 57t167.5 -7.5t124.5 -56.5t88.5 -77t56.5 -82q53 131 79 291q-7 -1 -18 -2.5t-46.5 -2.5t-69.5 0.5t-81.5 10t-88.5 23 t-84 42.5t-75 65t-54.5 94.5t-28.5 127.5q70 28 133.5 36.5t112.5 -1t92 -30t73.5 -50t56 -61t42 -63t27.5 -56t16 -39.5l4 -16q12 122 12 195q-8 6 -21.5 16t-49 44.5t-63.5 71.5t-54 93t-33 112.5t12 127t70 138.5q73 -25 127.5 -61.5t84.5 -76.5t48 -85t20.5 -89 t-0.5 -85.5t-13 -76.5t-19 -62t-17 -42l-7 -15q1 -5 1 -50.5t-1 -71.5q3 7 10 18.5t30.5 43t50.5 58t71 55.5t91.5 44.5t112 14.5t132.5 -24q-2 -78 -21.5 -141.5t-50 -104.5t-69.5 -71.5t-81.5 -45.5t-84.5 -24t-80 -9.5t-67.5 1t-46.5 4.5l-17 3q-23 -147 -73 -283 q6 7 18 18.5t49.5 41t77.5 52.5t99.5 42t117.5 20t129 -23.5t137 -77.5q-32 -80 -76 -138t-91 -88.5t-99 -46.5t-101.5 -14.5t-96.5 8.5t-86.5 22t-69.5 27.5t-46 22.5l-17 10q-113 -228 -289.5 -359.5t-384.5 -132.5q-19 0 -32 13t-13 32z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M21 217v66h1238v-66q0 -85 -57.5 -144.5t-138.5 -59.5h-57l-260 -269v269h-529q-81 0 -138.5 59.5t-57.5 144.5zM21 354v255h1238v-255h-1238zM21 682v255h1238v-255h-1238zM21 1010v67q0 84 57.5 143.5t138.5 59.5h846q81 0 138.5 -59.5t57.5 -143.5v-67h-1238z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM384 544v192q0 13 9.5 22.5t22.5 9.5h352v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23t-9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192h-352q-13 0 -22.5 9.5t-9.5 22.5z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM384 640q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h352q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-192q0 -14 -9 -23t-23 -9q-12 0 -24 10l-319 319q-9 9 -9 23z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 160q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5v960q0 13 -9.5 22.5t-22.5 9.5h-960 q-13 0 -22.5 -9.5t-9.5 -22.5v-960zM448 640q0 33 27 52l448 320q17 12 37 12q26 0 45 -19t19 -45v-640q0 -26 -19 -45t-45 -19q-20 0 -37 12l-448 320q-27 19 -27 52z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM224 640q0 -148 73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73 t-198 -198t-73 -273zM512 640q0 106 75 181t181 75t181 -75t75 -181t-75 -181t-181 -75t-181 75t-75 181z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 320q0 181 104.5 330t274.5 211l17 -131q-122 -54 -195 -165.5t-73 -244.5q0 -185 131.5 -316.5t316.5 -131.5q126 0 232.5 65t165 175.5t49.5 236.5l102 -204q-58 -179 -210 -290t-339 -111q-156 0 -288.5 77.5t-210 210t-77.5 288.5zM416 1348q-2 16 6 42 q14 51 57 82.5t97 31.5q66 0 113 -47t47 -113q0 -69 -52 -117.5t-120 -41.5l37 -289h423v-128h-407l16 -128h455q40 0 57 -35l228 -455l198 99l58 -114l-256 -128q-13 -7 -29 -7q-40 0 -57 35l-239 477h-472q-24 0 -42.5 16.5t-21.5 40.5z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM128 806q16 -8 25.5 -26t21.5 -20q21 -3 54.5 8.5t58 10.5t41.5 -30q11 -18 18.5 -38.5t15 -48t12.5 -40.5 q17 -46 53 -187q36 -146 57 -197q42 -99 103 -125q43 -12 85 -1.5t76 31.5q131 77 250 237q104 139 172.5 292.5t82.5 226.5q16 85 -21 132q-52 65 -187 45q-17 -3 -41 -12.5t-57.5 -30.5t-64.5 -48.5t-59.5 -70t-44.5 -91.5q80 7 113.5 -16t26.5 -99q-5 -52 -52 -143 q-43 -78 -71 -99q-44 -32 -87 14q-23 24 -37.5 64.5t-19 73t-10 84t-8.5 71.5q-23 129 -34 164q-12 37 -35.5 69t-50.5 40q-57 16 -127 -25q-54 -32 -136.5 -106t-122.5 -102v-7z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1152" d="M0 608v128q0 23 23 31l233 71v93l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v250q0 14 9 23t23 9h160q14 0 23 -9t9 -23v-181l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-93l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31 l-393 -121v-487q188 13 318 151t130 328q0 14 9 23t23 9h160q14 0 23 -9t9 -23q0 -191 -94.5 -353t-256.5 -256.5t-353 -94.5h-160q-14 0 -23 9t-9 23v611l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1408" d="M0 288v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5zM128 288q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47 t-47 -113v-832zM256 672v64q0 14 9 23t23 9h352v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-352h352q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-352v-352q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v352h-352q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2176" d="M0 576q0 12 38.5 20.5t96.5 10.5q-7 25 -7 49q0 33 9.5 56.5t22.5 23.5h64v64h128q158 0 268 -64h1113q42 -7 106.5 -18t80.5 -14q89 -15 150 -40.5t83.5 -47.5t22.5 -40t-22.5 -40t-83.5 -47.5t-150 -40.5q-16 -3 -80.5 -14t-106.5 -18h-1113q-110 -64 -268 -64h-128v64 h-64q-13 0 -22.5 23.5t-9.5 56.5q0 24 7 49q-58 2 -96.5 10.5t-38.5 20.5zM323 336h29q157 0 273 64h1015q-217 -38 -456 -80q-57 0 -113 -24t-83 -48l-28 -24l-288 -288q-26 -26 -70.5 -45t-89.5 -19h-96zM323 816l93 464h96q46 0 90 -19t70 -45l288 -288q4 -4 11 -10.5 t30.5 -23t48.5 -29t61.5 -23t72.5 -10.5l456 -80h-1015q-116 64 -273 64h-29zM1739 484l81 -30q68 48 68 122t-68 122l-81 -30q53 -36 53 -92t-53 -92z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 796q0 47 27.5 85t71.5 53l157 53l-53 159q-8 24 -8 47q0 60 42 102.5t102 42.5q47 0 85 -27t53 -72l54 -160l310 105l-54 160q-8 24 -8 47q0 59 42.5 102t101.5 43q47 0 85.5 -27.5t53.5 -71.5l53 -161l162 55q21 6 43 6q60 0 102.5 -39.5t42.5 -98.5q0 -45 -30 -81.5 t-74 -51.5l-157 -54l105 -316l164 56q24 8 46 8q62 0 103.5 -40.5t41.5 -101.5q0 -97 -93 -130l-172 -59l56 -167q7 -21 7 -47q0 -59 -42 -102t-101 -43q-47 0 -85.5 27t-53.5 72l-55 165l-310 -106l55 -164q8 -24 8 -47q0 -59 -42 -102t-102 -43q-47 0 -85 27t-53 72 l-55 163l-153 -53q-29 -9 -50 -9q-61 0 -101.5 40t-40.5 101q0 47 27.5 85t71.5 53l156 53l-105 313l-156 -54q-26 -8 -48 -8q-60 0 -101 40.5t-41 100.5zM620 811l105 -313l310 105l-105 315z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 352q0 -40 28 -68t68 -28h832q40 0 68 28t28 68v436q-31 -35 -64 -55q-34 -22 -132.5 -85t-151.5 -99 q-98 -69 -164 -69t-164 69q-46 32 -141.5 92.5t-142.5 92.5q-12 8 -33 27t-31 27v-436zM256 928q0 -37 30.5 -76.5t67.5 -64.5q47 -32 137.5 -89t129.5 -83q3 -2 17 -11.5t21 -14t21 -13t23.5 -13t21.5 -9.5t22.5 -7.5t20.5 -2.5t20.5 2.5t22.5 7.5t21.5 9.5t23.5 13t21 13 t21 14t17 11.5l267 174q35 23 66.5 62.5t31.5 73.5q0 41 -27.5 70t-68.5 29h-832q-40 0 -68 -28t-28 -68z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 640q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348zM41 640q0 -173 68 -331.5t182.5 -273t273 -182.5t331.5 -68t331.5 68t273 182.5t182.5 273t68 331.5 t-68 331.5t-182.5 273t-273 182.5t-331.5 68t-331.5 -68t-273 -182.5t-182.5 -273t-68 -331.5zM127 640q0 163 67 313l367 -1005q-196 95 -315 281t-119 411zM254 1062q105 160 274.5 253.5t367.5 93.5q147 0 280.5 -53t238.5 -149h-10q-55 0 -92 -40.5t-37 -95.5 q0 -12 2 -24t4 -21.5t8 -23t9 -21t12 -22.5t12.5 -21t14.5 -24t14 -23q63 -107 63 -212q0 -19 -2.5 -38.5t-10 -49.5t-11.5 -44t-17.5 -59t-17.5 -58l-76 -256l-278 826q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-75 1 -202 10q-12 1 -20.5 -5t-11.5 -15 t-1.5 -18.5t9 -16.5t19.5 -8l80 -8l120 -328l-168 -504l-280 832q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-7 0 -23 0.5t-26 0.5zM679 -97l230 670l237 -647q1 -6 5 -11q-126 -44 -255 -44q-112 0 -217 32zM1282 -24l235 678q59 169 59 276q0 42 -6 79 q95 -174 95 -369q0 -209 -104 -385.5t-279 -278.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 455q0 140 100.5 263.5t275 205.5t391.5 108v-172q-217 -38 -356.5 -150t-139.5 -255q0 -152 154.5 -267t388.5 -145v1360l272 133v-1536l-272 -128q-228 20 -414 102t-293 208.5t-107 272.5zM1134 860v172q277 -33 481 -157l140 79l37 -390l-525 114l147 83 q-119 70 -280 99z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2048" d="M0 -128q0 26 20.5 45t48.5 19h1782q28 0 48.5 -19t20.5 -45v-128h-1920v128zM0 1024v128l960 384l960 -384v-128h-128q0 -26 -20.5 -45t-48.5 -19h-1526q-28 0 -48.5 19t-20.5 45h-128zM128 0v64q0 26 20.5 45t48.5 19h59v768h256v-768h128v768h256v-768h128v768h256 v-768h128v768h256v-768h59q28 0 48.5 -19t20.5 -45v-64h-1664z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2304" d="M0 1024q0 23 22 31l1120 352q4 1 10 1t10 -1l1120 -352q22 -8 22 -31t-22 -31l-1120 -352q-4 -1 -10 -1t-10 1l-652 206q-43 -34 -71 -111.5t-34 -178.5q63 -36 63 -109q0 -69 -58 -107l58 -433q2 -14 -8 -25q-9 -11 -24 -11h-192q-15 0 -24 11q-10 11 -8 25l58 433 q-58 38 -58 107q0 73 65 111q11 207 98 330l-333 104q-22 8 -22 31zM512 384l18 316l574 -181q22 -7 48 -7t48 7l574 181l18 -316q4 -69 -82 -128t-235 -93.5t-323 -34.5t-323 34.5t-235 93.5t-82 128z" />
|
||||||
|
<glyph unicode="" d="M109 1536q58 -15 108 -15q43 0 111 15q63 -111 133.5 -229.5t167 -276.5t138.5 -227q37 61 109.5 177.5t117.5 190t105 176t107 189.5q54 -14 107 -14q56 0 114 14q-28 -39 -60 -88.5t-49.5 -78.5t-56.5 -96t-49 -84q-146 -248 -353 -610l13 -707q-62 11 -105 11 q-41 0 -105 -11l13 707q-40 69 -168.5 295.5t-216.5 374.5t-181 287z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M111 182q0 81 44.5 150t118.5 115q131 82 404 100q-32 41 -47.5 73.5t-15.5 73.5q0 40 21 85q-46 -4 -68 -4q-148 0 -249.5 96.5t-101.5 244.5q0 82 36 159t99 131q76 66 182 98t218 32h417l-137 -88h-132q75 -63 113 -133t38 -160q0 -72 -24.5 -129.5t-59.5 -93 t-69.5 -65t-59 -61.5t-24.5 -66q0 -36 32 -70.5t77 -68t90.5 -73.5t77.5 -104t32 -142q0 -91 -49 -173q-71 -122 -209.5 -179.5t-298.5 -57.5q-132 0 -246.5 41.5t-172.5 137.5q-36 59 -36 131zM297 228q0 -56 23.5 -102t61 -75.5t87 -50t100 -29t101.5 -8.5q58 0 111.5 13 t99 39t73 73t27.5 109q0 25 -7 49t-14.5 42t-27 41.5t-29.5 35t-38.5 34.5t-36.5 29t-41.5 30t-36.5 26q-16 2 -49 2q-53 0 -104.5 -7t-107 -25t-97 -46t-68.5 -74.5t-27 -105.5zM403 1222q0 -46 10 -97.5t31.5 -103t52 -92.5t75 -67t96.5 -26q37 0 77.5 16.5t65.5 43.5 q53 56 53 159q0 59 -17 125.5t-48 129t-84 103.5t-117 41q-42 0 -82.5 -19.5t-66.5 -52.5q-46 -59 -46 -160z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1984" d="M0 722q0 94 66 160t160 66q83 0 148 -55q248 158 592 164l134 423q4 14 17.5 21.5t28.5 4.5l347 -82q22 50 68.5 81t102.5 31q77 0 131.5 -54.5t54.5 -131.5t-54.5 -132t-131.5 -55q-76 0 -130.5 54t-55.5 131l-315 74l-116 -366q327 -14 560 -166q64 58 151 58 q94 0 160 -66t66 -160q0 -62 -31 -114t-83 -82q5 -33 5 -61q0 -121 -68.5 -230.5t-197.5 -193.5q-125 -82 -285.5 -125.5t-335.5 -43.5q-176 0 -336.5 43.5t-284.5 125.5q-129 84 -197.5 193t-68.5 231q0 29 5 66q-48 31 -77 81.5t-29 109.5zM77 722q0 -67 51 -111 q49 131 180 235q-36 25 -82 25q-62 0 -105.5 -43.5t-43.5 -105.5zM178 465q0 -101 59.5 -194t171.5 -166q116 -75 265.5 -115.5t313.5 -40.5t313.5 40.5t265.5 115.5q112 73 171.5 166t59.5 194t-59.5 193.5t-171.5 165.5q-116 75 -265.5 115.5t-313.5 40.5t-313.5 -40.5 t-265.5 -115.5q-112 -73 -171.5 -165.5t-59.5 -193.5zM555 572q0 57 41.5 98t97.5 41t96.5 -41t40.5 -98q0 -56 -40.5 -96t-96.5 -40q-57 0 -98 40t-41 96zM661 209.5q0 16.5 11 27.5t27 11t27 -11q77 -77 265 -77h2q188 0 265 77q11 11 27 11t27 -11t11 -27.5t-11 -27.5 q-99 -99 -319 -99h-2q-220 0 -319 99q-11 11 -11 27.5zM1153 572q0 57 41.5 98t97.5 41t96.5 -41t40.5 -98q0 -56 -40.5 -96t-96.5 -40q-57 0 -98 40t-41 96zM1555 1350q0 -45 32 -77t77 -32t77 32t32 77t-32 77t-77 32t-77 -32t-32 -77zM1672 843q131 -105 178 -238 q57 46 57 117q0 62 -43.5 105.5t-105.5 43.5q-49 0 -86 -28z" />
|
||||||
|
<glyph unicode="" d="M0 193v894q0 133 94 227t226 94h896q132 0 226 -94t94 -227v-894q0 -133 -94 -227t-226 -94h-896q-132 0 -226 94t-94 227zM155 709q0 -37 19.5 -67.5t52.5 -45.5q-7 -25 -7 -54q0 -98 74 -181.5t201.5 -132t278.5 -48.5q150 0 277.5 48.5t201.5 132t74 181.5q0 27 -6 54 q35 14 57 45.5t22 70.5q0 51 -36 87.5t-87 36.5q-60 0 -98 -48q-151 107 -375 115l83 265l206 -49q1 -50 36.5 -85t84.5 -35q50 0 86 35.5t36 85.5t-36 86t-86 36q-36 0 -66 -20.5t-45 -53.5l-227 54q-9 2 -17.5 -2.5t-11.5 -14.5l-95 -302q-224 -4 -381 -113q-36 43 -93 43 q-51 0 -87 -36.5t-36 -87.5zM493 613q0 37 26 63t63 26t63 -26t26 -63t-26 -64t-63 -27t-63 27t-26 64zM560 375q0 11 8 18q7 7 17.5 7t17.5 -7q49 -51 172 -51h1h1q122 0 173 51q7 7 17.5 7t17.5 -7t7 -18t-7 -18q-65 -64 -208 -64h-1h-1q-143 0 -207 64q-8 7 -8 18z M882 613q0 37 26 63t63 26t63 -26t26 -63t-26 -64t-63 -27t-63 27t-26 64zM1143 1120q0 30 21 51t50 21q30 0 51 -21t21 -51q0 -29 -21 -50t-51 -21q-29 0 -50 21t-21 50z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM320 502q0 -82 57.5 -139t139.5 -57q81 0 138.5 56.5t57.5 136.5v280q0 19 13.5 33t33.5 14 q19 0 32.5 -14t13.5 -33v-54l60 -28l90 27v62q0 79 -58 135t-138 56t-138 -55.5t-58 -134.5v-283q0 -20 -14 -33.5t-33 -13.5t-32.5 13.5t-13.5 33.5v120h-151v-122zM806 500q0 -80 58 -137t139 -57t138.5 57t57.5 139v122h-150v-126q0 -20 -13.5 -33.5t-33.5 -13.5 q-19 0 -32.5 14t-13.5 33v123l-90 -26l-60 28v-123z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1920" d="M0 336v266h328v-262q0 -43 30 -72.5t72 -29.5t72 29.5t30 72.5v620q0 171 126.5 292t301.5 121q176 0 302 -122t126 -294v-136l-195 -58l-131 61v118q0 42 -30 72t-72 30t-72 -30t-30 -72v-612q0 -175 -126 -299t-303 -124q-178 0 -303.5 125.5t-125.5 303.5zM1062 332 v268l131 -61l195 58v-270q0 -42 30 -71.5t72 -29.5t72 29.5t30 71.5v275h328v-266q0 -178 -125.5 -303.5t-303.5 -125.5q-177 0 -303 124.5t-126 300.5z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM64 640h704v-704h480q93 0 158.5 65.5t65.5 158.5v480h-704v704h-480q-93 0 -158.5 -65.5t-65.5 -158.5v-480z " />
|
||||||
|
<glyph unicode="" horiz-adv-x="2048" d="M0 271v697h328v286h204v-983h-532zM205 435h123v369h-123v-369zM614 271h205v697h-205v-697zM614 1050h205v204h-205v-204zM901 26v163h328v82h-328v697h533v-942h-533zM1106 435h123v369h-123v-369zM1516 26v163h327v82h-327v697h532v-942h-532zM1720 435h123v369h-123 v-369z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM293 388l211 41v206q55 -19 116 -19q125 0 213.5 95t88.5 229t-88.5 229t-213.5 95q-74 0 -141 -36h-186v-840z M504 804v277q28 17 70 17q53 0 91 -45t38 -109t-38 -109.5t-91 -45.5q-43 0 -70 15zM636 -39l211 41v206q51 -19 117 -19q125 0 213 95t88 229t-88 229t-213 95q-20 0 -39 -3q-23 -78 -78 -136q-87 -95 -211 -101v-636zM847 377v277q28 17 70 17q53 0 91 -45.5t38 -109.5 t-38 -109t-91 -45q-43 0 -70 15z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2038" d="M41 455q0 15 8.5 26.5t22.5 14.5l486 106q-8 14 -8 25t5.5 17.5t16 11.5t20 7t23 4.5t18.5 4.5q4 1 15.5 7.5t17.5 6.5q15 0 28 -16t20 -33q163 37 172 37q17 0 29.5 -11t12.5 -28q0 -15 -8.5 -26t-23.5 -14l-182 -40l-1 -16q-1 -26 81.5 -117.5t104.5 -91.5q47 0 119 80 t72 129q0 36 -23.5 53t-51 18.5t-51 11.5t-23.5 34q0 16 10 34l-68 19q43 44 43 117q0 26 -5 58q82 16 144 16q44 0 71.5 -1.5t48.5 -8.5t31 -13.5t20.5 -24.5t15.5 -33.5t17 -47.5t24 -60l50 25q-3 -40 -23 -60t-42.5 -21t-40 -6.5t-16.5 -20.5l1 -21q75 3 143.5 -20.5 t118 -58.5t101 -94.5t84 -108t75.5 -120.5q33 -56 78.5 -109t75.5 -80.5t99 -88.5q-48 -30 -108.5 -57.5t-138.5 -59t-114 -47.5q-44 37 -74 115t-43.5 164.5t-33 180.5t-42.5 168.5t-72.5 123t-122.5 48.5l-10 -2l-6 -4q4 -5 13 -14q6 -5 28 -23.5t25.5 -22t19 -18 t18 -20.5t11.5 -21t10.5 -27.5t4.5 -31t4 -40.5l1 -33q1 -26 -2.5 -57.5t-7.5 -52t-12.5 -58.5t-11.5 -53q-35 1 -101 -9.5t-98 -10.5q-39 0 -72 10q-2 16 -2 47q0 74 3 96q2 13 31.5 41.5t57 59t26.5 51.5q-24 2 -43 -24q-36 -53 -111.5 -99.5t-136.5 -46.5q-25 0 -75.5 63 t-106.5 139.5t-84 96.5q-6 4 -27 30q-482 -112 -513 -112q-16 0 -28 11t-12 27zM764 676q10 1 32.5 7t34.5 6q19 0 35 -10l-96 -20zM822 568l48 12l109 -177l-73 -48zM859 884q16 30 36 46.5t54 29.5t65.5 36t46 36.5t50 55t43.5 50.5q12 -9 28 -31.5t32 -36.5t38 -13l12 1 v-76l22 -1q247 95 371 190q28 21 50 39t42.5 37.5t33 31t29.5 34t24 31t24.5 37t23 38t27 47.5t29.5 53l7 9q-2 -53 -43 -139q-79 -165 -205 -264t-306 -142q-14 -3 -42 -7.5t-50 -9.5t-39 -14q3 -19 24.5 -46t21.5 -34q0 -11 -26 -30q-5 5 -13.5 15.5t-12 14.5t-10.5 11.5 t-10 10.5l-8 8t-8.5 7.5t-8 5t-8.5 4.5q-7 3 -14.5 5t-20.5 2.5t-22 0.5h-32.5h-37.5q-126 0 -217 -43zM1061 45h31l10 -83l-41 -12v95zM1061 -79q39 26 131.5 47.5t146.5 21.5q9 0 22.5 -15.5t28 -42.5t26 -50t24 -51t14.5 -33q-121 -45 -244 -45q-61 0 -125 11zM1116 29 q21 2 60.5 8.5t72 10t60.5 3.5h14q3 -15 3 -16q0 -7 -17.5 -14.5t-46 -13t-54 -9.5t-53.5 -7.5t-32 -4.5zM1947 1528l1 3l2 4l-1 -5zM1950 1535v1v-1zM1950 1535l1 1z" />
|
||||||
|
<glyph unicode="" d="M0 520q0 89 19.5 172.5t49 145.5t70.5 118.5t78.5 94t78.5 69.5t64.5 46.5t42.5 24.5q14 8 51 26.5t54.5 28.5t48 30t60.5 44q36 28 58 72.5t30 125.5q129 -155 186 -193q44 -29 130 -68t129 -66q21 -13 39 -25t60.5 -46.5t76 -70.5t75 -95t69 -122t47 -148.5 t19.5 -177.5q0 -164 -62 -304.5t-166 -236t-242.5 -149.5t-290.5 -54t-293 57.5t-247.5 157t-170.5 241.5t-64 302zM333 256q-2 -112 74 -164q29 -20 62.5 -28.5t103.5 -8.5q57 0 132 32.5t134 71t120 70.5t93 31q26 -1 65 -31.5t71.5 -67t68 -67.5t55.5 -32q35 -3 58.5 14 t55.5 63q28 41 42.5 101t14.5 106q0 22 -5 44.5t-16.5 45t-34 36.5t-52.5 14q-33 0 -97 -41.5t-129 -83.5t-101 -42q-27 -1 -63.5 19t-76 49t-83.5 58t-100 49t-111 19q-115 -1 -197 -78.5t-84 -178.5zM685.5 -76q-0.5 -10 7.5 -20q34 -32 87.5 -46t102.5 -12.5t99 4.5 q41 4 84.5 20.5t65 30t28.5 20.5q12 12 7 29q-5 19 -24 5q-30 -22 -87 -39t-131 -17q-129 0 -193 49q-5 4 -13 4q-11 0 -26 -12q-7 -6 -7.5 -16zM852 31q9 -8 17.5 -4.5t31.5 23.5q3 2 10.5 8.5t10.5 8.5t10 7t11.5 7t12.5 5t15 4.5t16.5 2.5t20.5 1q27 0 44.5 -7.5 t23 -14.5t13.5 -22q10 -17 12.5 -20t12.5 1q23 12 14 34q-19 47 -39 61q-23 15 -76 15q-47 0 -71 -10q-29 -12 -78 -56q-26 -24 -12 -44z" />
|
||||||
|
<glyph unicode="" d="M0 78q0 72 44.5 128t113.5 72q-22 86 1 173t88 152l12 12l151 -152l-11 -11q-37 -37 -37 -89t37 -90q37 -37 89 -37t89 37l30 30l151 152l161 160l151 -152l-160 -160l-151 -152l-30 -30q-65 -64 -151.5 -87t-171.5 -2q-16 -70 -72 -115t-129 -45q-85 0 -145 60.5 t-60 145.5zM2 1202q0 85 60 145.5t145 60.5q76 0 133.5 -49t69.5 -123q84 20 169.5 -3.5t149.5 -87.5l12 -12l-152 -152l-12 12q-37 37 -89 37t-89 -37t-37 -89.5t37 -89.5l29 -29l152 -152l160 -160l-151 -152l-161 160l-151 152l-30 30q-68 67 -90 159.5t5 179.5 q-70 15 -115 71t-45 129zM446 803l161 160l152 152l29 30q67 67 159 89.5t178 -3.5q11 75 68.5 126t135.5 51q85 0 145 -60.5t60 -145.5q0 -77 -51 -135t-127 -69q26 -85 3 -176.5t-90 -158.5l-12 -12l-151 152l12 12q37 37 37 89t-37 89t-89 37t-89 -37l-30 -30l-152 -152 l-160 -160zM776 793l152 152l160 -160l152 -152l29 -30q64 -64 87.5 -150.5t2.5 -171.5q76 -11 126.5 -68.5t50.5 -134.5q0 -85 -60 -145.5t-145 -60.5q-74 0 -131 47t-71 118q-86 -28 -179.5 -6t-161.5 90l-11 12l151 152l12 -12q37 -37 89 -37t89 37t37 89t-37 89l-30 30 l-152 152z" />
|
||||||
|
<glyph unicode="" d="M0 -16v1078q3 9 4 10q5 6 20 11q106 35 149 50v384l558 -198q2 0 160.5 55t316 108.5t161.5 53.5q20 0 20 -21v-418l147 -47v-1079l-774 246q-14 -6 -375 -127.5t-368 -121.5q-13 0 -18 13q0 1 -1 3zM39 15l694 232v1032l-694 -233v-1031zM147 293q6 4 82 92 q21 24 85.5 115t78.5 118q17 30 51 98.5t36 77.5q-8 1 -110 -33q-8 -2 -27.5 -7.5t-34.5 -9.5t-17 -5q-2 -2 -2 -10.5t-1 -9.5q-5 -10 -31 -15q-23 -7 -47 0q-18 4 -28 21q-4 6 -5 23q6 2 24.5 5t29.5 6q58 16 105 32q100 35 102 35q10 2 43 19.5t44 21.5q9 3 21.5 8 t14.5 5.5t6 -0.5q2 -12 -1 -33q0 -2 -12.5 -27t-26.5 -53.5t-17 -33.5q-25 -50 -77 -131l64 -28q12 -6 74.5 -32t67.5 -28q4 -1 10.5 -25.5t4.5 -30.5q-1 -3 -12.5 0.5t-31.5 11.5l-20 9q-44 20 -87 49q-7 5 -41 31.5t-38 28.5q-67 -103 -134 -181q-81 -95 -105 -110 q-4 -2 -19.5 -4t-18.5 0zM268 933l1 3q3 -3 19.5 -5t26.5 0t58 16q36 12 55 14q17 0 21 -17q3 -15 -4 -28q-12 -23 -50 -38q-30 -12 -60 -12q-26 3 -49 26q-14 15 -18 41zM310 -116q0 8 5 13.5t13 5.5q4 0 18 -7.5t30.5 -16.5t20.5 -11q73 -37 159.5 -61.5t157.5 -24.5 q95 0 167 14.5t157 50.5q15 7 30.5 15.5t34 19t28.5 16.5l-43 73l158 -13l-54 -160l-40 66q-130 -83 -276 -108q-58 -12 -91 -12h-84q-79 0 -199.5 39t-183.5 85q-8 7 -8 16zM777 1294l573 -184v380zM885 453l102 -31l45 110l211 -65l37 -135l102 -31l-181 657l-100 31z M1071 630l76 185l63 -227z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 -96v1088q0 66 47 113t113 47h128q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-128q-66 0 -113 47t-47 113zM512 -96v1536q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-163q58 -34 93 -93t35 -128v-768q0 -106 -75 -181 t-181 -75h-864q-66 0 -113 47t-47 113zM640 896h896v256h-160q-40 0 -68 28t-28 68v160h-640v-512zM736 0q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128zM736 256q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v128q0 14 -9 23t-23 9 h-128q-14 0 -23 -9t-9 -23v-128zM736 512q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128zM992 0q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128zM992 256q0 -14 9 -23t23 -9h128 q14 0 23 9t9 23v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128zM992 512q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128zM1248 0q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23 v-128zM1248 256q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128zM1248 512q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128z" />
|
||||||
|
<glyph unicode="" d="M0 -192v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45zM256 160q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM256 416q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM256 672q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM256 928q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM256 1184q0 -14 9 -23 t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM512 96v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23zM512 416q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9 t-9 -23v-64zM512 672q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM512 928q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM512 1184q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM768 416q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM768 672q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM768 928q0 -14 9 -23 t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM768 1184q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM1024 160q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9 t-9 -23v-64zM1024 416q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM1024 672q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM1024 928q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64zM1024 1184q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M64 1056q0 40 28 68t68 28t68 -28l228 -228h368l228 228q28 28 68 28t68 -28t28 -68t-28 -68l-292 -292v-824q0 -46 -33 -79t-79 -33t-79 33t-33 79v384h-64v-384q0 -46 -33 -79t-79 -33t-79 33t-33 79v824l-292 292q-28 28 -28 68zM416 1152q0 93 65.5 158.5t158.5 65.5 t158.5 -65.5t65.5 -158.5t-65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1664" d="M0 724q0 80 42 139.5t119 59.5q76 0 141.5 -55.5t100.5 -134t35 -152.5q0 -80 -42 -139t-119 -59q-76 0 -141.5 55.5t-100.5 133.5t-35 152zM256 19q0 86 56 191.5t139.5 192.5t187.5 146t193 59q118 0 255 -97.5t229 -237t92 -254.5q0 -46 -17 -76.5t-48.5 -45 t-64.5 -20t-76 -5.5q-68 0 -187.5 45t-182.5 45q-66 0 -192.5 -44.5t-200.5 -44.5q-183 0 -183 146zM333 1163q0 60 19 113.5t63 92.5t105 39q77 0 138.5 -57.5t91.5 -135t30 -151.5q0 -60 -19 -113.5t-63 -92.5t-105 -39q-76 0 -138 57.5t-92 135.5t-30 151zM884 1064 q0 74 30 151.5t91.5 135t138.5 57.5q61 0 105 -39t63 -92.5t19 -113.5q0 -73 -30 -151t-92 -135.5t-138 -57.5q-61 0 -105 39t-63 92.5t-19 113.5zM1226 581q0 74 35 152.5t100.5 134t141.5 55.5q77 0 119 -59.5t42 -139.5q0 -74 -35 -152t-100.5 -133.5t-141.5 -55.5 q-77 0 -119 59t-42 139z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="768" d="M64 1008q0 128 42.5 249.5t117.5 200t160 78.5t160 -78.5t117.5 -200t42.5 -249.5q0 -145 -57 -243.5t-152 -135.5l45 -821q2 -26 -16 -45t-44 -19h-192q-26 0 -44 19t-16 45l45 821q-95 37 -152 135.5t-57 243.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 256v768q0 40 23 73t61 47l704 256q22 8 44 8t44 -8l704 -256q38 -14 61 -47t23 -73v-768q0 -35 -18 -65t-49 -47l-704 -384q-28 -16 -61 -16t-61 16l-704 384q-31 17 -49 47t-18 65zM134 1026l698 -254l698 254l-698 254zM896 -93l640 349v636l-640 -233v-752z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2304" d="M0 96v416q0 38 21.5 70t56.5 48l434 186v400q0 38 21.5 70t56.5 48l448 192q23 10 50 10t50 -10l448 -192q35 -16 56.5 -48t21.5 -70v-400l434 -186q36 -16 57 -48t21 -70v-416q0 -36 -19 -67t-52 -47l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-5 2 -7 4q-2 -2 -7 -4 l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-33 16 -52 47t-19 67zM172 531l404 -173l404 173l-404 173zM640 -96l384 192v314l-384 -164v-342zM647 1219l441 -189l441 189l-441 189zM1152 651l384 165v266l-384 -164v-267zM1196 531l404 -173l404 173l-404 173zM1664 -96 l384 192v314l-384 -164v-342z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2048" d="M0 22v1260h594q87 0 155 -14t126.5 -47.5t90 -96.5t31.5 -154q0 -181 -172 -263q114 -32 172 -115t58 -204q0 -75 -24.5 -136.5t-66 -103.5t-98.5 -71t-121 -42t-134 -13h-611zM277 236h296q205 0 205 167q0 180 -199 180h-302v-347zM277 773h281q78 0 123.5 36.5 t45.5 113.5q0 144 -190 144h-260v-294zM1137 477q0 208 130.5 345.5t336.5 137.5q138 0 240.5 -68t153 -179t50.5 -248q0 -17 -2 -47h-658q0 -111 57.5 -171.5t166.5 -60.5q63 0 122 32t76 87h221q-100 -307 -427 -307q-214 0 -340.5 132t-126.5 347zM1337 1073h511v124 h-511v-124zM1388 576h408q-18 195 -200 195q-90 0 -146 -52.5t-62 -142.5z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM128 254h382q117 0 197 57.5t80 170.5q0 158 -143 200q107 52 107 164q0 57 -19.5 96.5t-56.5 60.5t-79 29.5 t-97 8.5h-371v-787zM301 388v217h189q124 0 124 -113q0 -104 -128 -104h-185zM301 723v184h163q119 0 119 -90q0 -94 -106 -94h-176zM838 538q0 -135 79 -217t213 -82q205 0 267 191h-138q-11 -34 -47.5 -54t-75.5 -20q-68 0 -104 38t-36 107h411q1 10 1 30 q0 132 -74.5 220.5t-203.5 88.5q-128 0 -210 -86t-82 -216zM964 911v77h319v-77h-319zM996 600q4 56 39 89t91 33q113 0 124 -122h-254z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2048" d="M0 764q0 86 61 146.5t146 60.5q73 0 130 -46t73 -117l783 -315q49 29 106 29q14 0 21 -1l173 248q1 114 82 194.5t195 80.5q115 0 196.5 -81t81.5 -196t-81.5 -196.5t-196.5 -81.5l-265 -194q-8 -80 -67.5 -133.5t-138.5 -53.5q-73 0 -130 46t-73 117l-783 315 q-51 -30 -106 -30q-85 0 -146 61t-61 147zM55 764q0 -64 44.5 -108.5t107.5 -44.5q11 0 33 4l-64 26q-33 14 -52.5 44.5t-19.5 66.5q0 50 35.5 85.5t85.5 35.5q20 0 41 -8v1l76 -31q-20 37 -56.5 59t-78.5 22q-63 0 -107.5 -44.5t-44.5 -107.5zM1164 244q19 -37 55.5 -59 t79.5 -22q63 0 107.5 44.5t44.5 107.5t-44.5 108t-107.5 45q-13 0 -33 -4q2 -1 20 -8t21.5 -8.5t18.5 -8.5t19 -10t16 -11t15.5 -13.5t11 -14.5t10 -18t5 -21t2.5 -25q0 -50 -35.5 -85.5t-85.5 -35.5q-14 0 -31.5 4.5t-29 9t-31.5 13.5t-28 12zM1584 767q0 -77 54.5 -131.5 t131.5 -54.5t132 54.5t55 131.5t-55 131.5t-132 54.5q-76 0 -131 -54.5t-55 -131.5zM1623 767q0 62 43.5 105.5t104.5 43.5t105 -44t44 -105t-43.5 -104.5t-105.5 -43.5q-61 0 -104.5 43.5t-43.5 104.5z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM128 693q0 -53 38 -91t92 -38q36 0 66 18l489 -197q10 -44 45.5 -73t81.5 -29q50 0 86.5 34t41.5 83l167 122 q71 0 122 50.5t51 122.5t-51 123t-122 51q-72 0 -122.5 -50.5t-51.5 -121.5l-108 -155q-2 0 -6.5 0.5t-6.5 0.5q-35 0 -67 -19l-489 197q-10 44 -45.5 73t-80.5 29q-54 0 -92 -38t-38 -92zM162 693q0 40 28 68t68 28q27 0 49.5 -14t34.5 -37l-48 19q-29 11 -56.5 -2 t-38.5 -41q-12 -29 -0.5 -57t39.5 -40v-1l40 -16q-14 -2 -20 -2q-40 0 -68 27.5t-28 67.5zM855 369q5 -2 47 -19q29 -12 58 0.5t41 41.5q11 29 -1 57.5t-41 40.5l-40 16q14 2 21 2q39 0 67 -27.5t28 -67.5t-28 -67.5t-67 -27.5q-59 0 -85 51zM1118 695q0 48 34 82t83 34 q48 0 82 -34t34 -82t-34 -82t-82 -34q-49 0 -83 34t-34 82zM1142 696q0 -39 27.5 -66t65.5 -27t65.5 27t27.5 66q0 38 -27.5 65.5t-65.5 27.5t-65.5 -27.5t-27.5 -65.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M16 970l433 -17l180 -379l-147 92q-63 -72 -111.5 -144.5t-72.5 -125t-39.5 -94.5t-18.5 -63l-4 -21l-190 357q-17 26 -18 56t6 47l8 18q35 63 114 188zM270.5 158q-3.5 28 4 65t12 55t21.5 64t19 53q78 -12 509 -28l-15 -368l-2 -22l-420 29q-36 3 -67 31.5t-47 65.5 q-11 27 -14.5 55zM294 1124l225 356q20 31 60 45t80 10q24 -2 48.5 -12t42 -21t41.5 -33t36 -34.5t36 -39.5t32 -35q-47 -63 -265 -435l-317 187zM782 1524l405 -1q31 3 58 -10.5t39 -28.5l11 -15q39 -61 112 -190l142 83l-220 -373l-419 20l151 86q-34 89 -75 166 t-75.5 123.5t-64.5 80t-47 46.5zM953 197l211 362l7 -173q170 -16 283 -5t170 33l56 22l-188 -359q-12 -29 -36.5 -46.5t-43.5 -20.5l-18 -4q-71 -7 -219 -12l8 -164zM1218 847l313 195l19 11l212 -363q18 -37 12.5 -76t-27.5 -74q-13 -20 -33 -37t-38 -28t-48.5 -22 t-47 -16t-51.5 -14t-46 -12q-34 72 -265 436z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1984" d="M0 160v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5t179 63.5h704q98 0 179 -63.5t104 -157.5l105 -419h28q93 0 158.5 -65.5t65.5 -158.5v-384q0 -14 -9 -23t-23 -9h-128v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-928v-128q0 -80 -56 -136 t-136 -56t-136 56t-56 136v128h-96q-14 0 -23 9t-9 23zM160 448q0 -66 47 -113t113 -47t113 47t47 113t-47 113t-113 47t-113 -47t-47 -113zM516 768h952l-89 357q-2 8 -14 17.5t-21 9.5h-704q-9 0 -21 -9.5t-14 -17.5zM1472 448q0 -66 47 -113t113 -47t113 47t47 113 t-47 113t-113 47t-113 -47t-47 -113z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1984" d="M0 32v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5t179 63.5h128v224q0 14 9 23t23 9h448q14 0 23 -9t9 -23v-224h64q98 0 179 -63.5t104 -157.5l105 -419h28q93 0 158.5 -65.5t65.5 -158.5v-384q0 -14 -9 -23t-23 -9h-128v-64q0 -80 -56 -136t-136 -56 t-136 56t-56 136v64h-928v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-96q-14 0 -23 9t-9 23zM160 320q0 -66 47 -113t113 -47t113 47t47 113t-47 113t-113 47t-113 -47t-47 -113zM516 640h952l-89 357q-2 8 -14 17.5t-21 9.5h-704q-9 0 -21 -9.5t-14 -17.5zM1472 320 q0 -66 47 -113t113 -47t113 47t47 113t-47 113t-113 47t-113 -47t-47 -113z" />
|
||||||
|
<glyph unicode="" d="M32 64q0 26 19 45l402 403h-229q-26 0 -45 19t-19 45t19 45l402 403h-197q-26 0 -45 19t-19 45t19 45l384 384q19 19 45 19t45 -19l384 -384q19 -19 19 -45t-19 -45t-45 -19h-197l402 -403q19 -19 19 -45t-19 -45t-45 -19h-229l402 -403q19 -19 19 -45t-19 -45t-45 -19 h-462q1 -17 6 -87.5t5 -108.5q0 -25 -18 -42.5t-43 -17.5h-320q-25 0 -43 17.5t-18 42.5q0 38 5 108.5t6 87.5h-462q-26 0 -45 19t-19 45z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM237 886q0 -31 20.5 -52t51.5 -21q11 0 40 8q133 37 307 37q159 0 309.5 -34t253.5 -95q21 -12 40 -12 q29 0 50.5 20.5t21.5 51.5q0 47 -40 70q-126 73 -293 110.5t-343 37.5q-204 0 -364 -47q-23 -7 -38.5 -25.5t-15.5 -48.5zM289 637q0 -25 17.5 -42.5t42.5 -17.5q7 0 37 8q122 33 251 33q279 0 488 -124q24 -13 38 -13q25 0 42.5 17.5t17.5 42.5q0 40 -35 61 q-237 141 -548 141q-153 0 -303 -42q-48 -13 -48 -64zM321 406q0 -20 13.5 -34.5t35.5 -14.5q5 0 37 8q132 27 243 27q226 0 397 -103q19 -11 33 -11q19 0 33 13.5t14 34.5q0 32 -30 51q-193 115 -447 115q-133 0 -287 -34q-42 -9 -42 -52z" />
|
||||||
|
<glyph unicode="" d="M0 11v1258q0 58 40.5 98.5t98.5 40.5h1258q58 0 98.5 -40.5t40.5 -98.5v-1258q0 -58 -40.5 -98.5t-98.5 -40.5h-1258q-58 0 -98.5 40.5t-40.5 98.5zM71 11q0 -28 20 -48t48 -20h1258q28 0 48 20t20 48v1258q0 28 -20 48t-48 20h-1258q-28 0 -48 -20t-20 -48v-1258z M121 11v141l711 195l-212 439q4 1 12 2.5t12 1.5q170 32 303.5 21.5t221 -46t143.5 -94.5q27 -28 -25 -42q-64 -16 -256 -62l-97 198q-111 7 -240 -16l188 -387l533 145v-496q0 -7 -5.5 -12.5t-12.5 -5.5h-1258q-7 0 -12.5 5.5t-5.5 12.5zM121 709v560q0 7 5.5 12.5 t12.5 5.5h1258q7 0 12.5 -5.5t5.5 -12.5v-428q-85 30 -188 52q-294 64 -645 12l-18 -3l-65 134h-233l85 -190q-132 -51 -230 -137zM246 413q-24 203 166 305l129 -270l-255 -61q-14 -3 -26 4.5t-14 21.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2304" d="M0 405l17 128q2 9 9 9t9 -9l20 -128l-20 -126q-2 -9 -9 -9t-9 9zM79 405l23 207q0 9 9 9q8 0 10 -9l26 -207l-26 -203q-2 -9 -10 -9q-9 0 -9 10zM169 405l21 245q2 12 12 12q11 0 11 -12l25 -245l-25 -237q0 -11 -11 -11q-10 0 -12 11zM259 405l21 252q0 13 13 13 q12 0 14 -13l23 -252l-23 -244q-2 -13 -14 -13q-13 0 -13 13zM350 405l20 234q0 6 4.5 10.5t10.5 4.5q14 0 16 -15l21 -234l-21 -246q-2 -16 -16 -16q-6 0 -10.5 4.5t-4.5 11.5zM401 159zM442 405l18 380q2 18 18 18q7 0 12 -5.5t5 -12.5l21 -380l-21 -246q0 -7 -5 -12.5 t-12 -5.5q-16 0 -18 18zM534 403l16 468q2 19 20 19q8 0 13.5 -5.5t5.5 -13.5l19 -468l-19 -244q0 -8 -5.5 -13.5t-13.5 -5.5q-18 0 -20 19zM628 405l16 506q0 9 6.5 15.5t14.5 6.5q9 0 15 -6.5t7 -15.5l18 -506l-18 -242q-2 -21 -22 -21q-19 0 -21 21zM723 405l14 -241 q1 -10 7.5 -16.5t15.5 -6.5q22 0 24 23l16 241l-16 523q-1 10 -7.5 17t-16.5 7q-9 0 -16 -7t-7 -17zM784 164zM817 405l14 510q0 11 7.5 18t17.5 7t17.5 -7t7.5 -18l15 -510l-15 -239q0 -10 -7.5 -17.5t-17.5 -7.5t-17 7t-8 18zM913 404l12 492q1 12 9 20t19 8t18.5 -8 t8.5 -20l14 -492l-14 -236q0 -11 -8 -19t-19 -8t-19 8t-9 19zM1010 405q0 -1 11 -236v-1q0 -10 6 -17q9 -11 23 -11q11 0 20 9q9 7 9 20l1 24l11 211l-12 586q0 16 -13 24q-8 5 -16 5t-16 -5q-13 -8 -13 -24l-1 -6zM1079 169zM1103 404l12 636v3q2 15 12 24q9 7 20 7 q8 0 15 -5q14 -8 16 -26l14 -639l-14 -231q0 -13 -9 -22t-22 -9t-22 9t-10 22l-6 114zM1204 174v899q0 23 28 33q85 34 181 34q195 0 338 -131.5t160 -323.5q53 22 110 22q117 0 200 -83t83 -201q0 -117 -83 -199.5t-200 -82.5h-786q-13 2 -22 11t-9 22z" />
|
||||||
|
<glyph unicode="" d="M0 0v170q119 -84 325 -127t443 -43t443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128zM0 384v170q119 -84 325 -127t443 -43t443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128zM0 768 v170q119 -84 325 -127t443 -43t443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128zM0 1152v128q0 69 103 128t280 93.5t385 34.5t385 -34.5t280 -93.5t103 -128v-128q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5 t-103 128z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM257 60q9 40 56 91.5t132 96.5q14 9 23 -6q2 -2 2 -4 q52 85 107 197q68 136 104 262q-24 82 -30.5 159.5t6.5 127.5q11 40 42 40h21h1q23 0 35 -15q18 -21 9 -68q-2 -6 -4 -8q1 -3 1 -8v-30q-2 -123 -14 -192q55 -164 146 -238q33 -26 84 -56q59 7 117 7q147 0 177 -49q16 -22 2 -52q0 -1 -1 -2l-2 -2v-1q-6 -38 -71 -38 q-48 0 -115 20t-130 53q-221 -24 -392 -83q-153 -262 -242 -262q-15 0 -28 7l-24 12q-1 1 -6 5q-10 10 -6 36zM318 54q52 24 137 158q-51 -40 -87.5 -84t-49.5 -74zM592 313q135 54 284 81q-2 1 -13 9.5t-16 13.5q-76 67 -127 176q-27 -86 -83 -197q-30 -56 -45 -83z M714 842q1 7 7 44q0 3 7 43q1 4 4 8q-1 1 -1 2t-0.5 1.5t-0.5 1.5q-1 22 -13 36q0 -1 -1 -2v-2q-15 -42 -2 -132zM1024 1024h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1098 353q76 -28 124 -28q14 0 18 1q0 1 -2 3q-24 24 -140 24z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM233 661h70l164 -661h159l128 485q7 20 10 46q2 16 2 24 h4l3 -24q1 -3 3.5 -20t5.5 -26l128 -485h159l164 661h70v107h-300v-107h90l-99 -438q-5 -20 -7 -46l-2 -21h-4l-3 21q-1 5 -4 21t-5 25l-144 545h-114l-144 -545q-2 -9 -4.5 -24.5t-3.5 -21.5l-4 -21h-4l-2 21q-2 26 -7 46l-99 438h90v107h-300v-107zM1024 1024h376 q-10 29 -22 41l-313 313q-12 12 -41 22v-376z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM429 0h281v106h-75l103 161q5 7 10 16.5t7.5 13.5t3.5 4 h2q1 -4 5 -10q2 -4 4.5 -7.5t6 -8t6.5 -8.5l107 -161h-76v-106h291v106h-68l-192 273l195 282h67v107h-279v-107h74l-103 -159q-4 -7 -10 -16.5t-9 -13.5l-2 -3h-2q-1 4 -5 10q-6 11 -17 23l-106 159h76v107h-290v-107h68l189 -272l-194 -283h-68v-106zM1024 1024h376 q-10 29 -22 41l-313 313q-12 12 -41 22v-376z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM416 0h327v106h-93v167h137q76 0 118 15q67 23 106.5 87 t39.5 146q0 81 -37 141t-100 87q-48 19 -130 19h-368v-107h92v-555h-92v-106zM650 386v268h120q52 0 83 -18q56 -33 56 -115q0 -89 -62 -120q-31 -15 -78 -15h-119zM1024 1024h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM256 0v192l192 192l128 -128l384 384l320 -320v-320 h-1024zM256 704q0 80 56 136t136 56t136 -56t56 -136t-56 -136t-136 -56t-136 56t-56 136zM1024 1024h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-128v-128h-128v128h-512v-1536zM384 192q0 25 8 52q21 63 120 396 v128h128v-128h79q22 0 39 -13t23 -34l107 -349q8 -27 8 -52q0 -83 -72.5 -137.5t-183.5 -54.5t-183.5 54.5t-72.5 137.5zM512 192q0 -26 37.5 -45t90.5 -19t90.5 19t37.5 45t-37.5 45t-90.5 19t-90.5 -19t-37.5 -45zM512 896h128v128h-128v-128zM512 1152h128v128h-128v-128 zM640 768h128v128h-128v-128zM640 1024h128v128h-128v-128zM1024 1024h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM256 288v192q0 14 9 23t23 9h131l166 167q16 15 35 7 q20 -8 20 -30v-544q0 -22 -20 -30q-8 -2 -12 -2q-12 0 -23 9l-166 167h-131q-14 0 -23 9t-9 23zM762 206.5q1 -26.5 20 -44.5q20 -17 44 -17q27 0 47 20q87 93 87 219t-87 219q-18 19 -45 20t-46 -17t-20 -44.5t18 -46.5q52 -57 52 -131t-52 -131q-19 -20 -18 -46.5z M973.5 54.5q2.5 -26.5 23.5 -42.5q18 -15 40 -15q31 0 50 24q129 159 129 363t-129 363q-16 21 -43 24t-47 -14q-21 -17 -23.5 -43.5t14.5 -47.5q100 -123 100 -282t-100 -282q-17 -21 -14.5 -47.5zM1024 1024h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM256 256v384q0 52 38 90t90 38h384q52 0 90 -38t38 -90 v-384q0 -52 -38 -90t-90 -38h-384q-52 0 -90 38t-38 90zM960 403v90l265 266q9 9 23 9q4 0 12 -2q20 -8 20 -30v-576q0 -22 -20 -30q-8 -2 -12 -2q-14 0 -23 9zM1024 1024h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376z" />
|
||||||
|
<glyph unicode="" d="M0 -160v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68zM128 -128h1280v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536zM254 429q-14 19 0 38l226 301q8 11 21 12.5t24 -6.5 l51 -38q11 -8 12.5 -21t-6.5 -24l-182 -243l182 -243q8 -11 6.5 -24t-12.5 -21l-51 -38q-11 -8 -24 -6.5t-21 12.5zM636 43l138 831q2 13 13 20.5t24 5.5l63 -10q13 -2 20.5 -13t5.5 -24l-138 -831q-2 -13 -13 -20.5t-24 -5.5l-63 10q-13 2 -20.5 13t-5.5 24zM947.5 181 q-1.5 13 6.5 24l182 243l-182 243q-8 11 -6.5 24t12.5 21l51 38q11 8 24 6.5t21 -12.5l226 -301q14 -19 0 -38l-226 -301q-8 -11 -21 -12.5t-24 6.5l-51 38q-11 8 -12.5 21zM1024 1024h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376z" />
|
||||||
|
<glyph unicode="" d="M39 1286h283q26 -218 70 -398.5t104.5 -317t121.5 -235.5t140 -195q169 169 287 406q-142 72 -223 220t-81 333q0 192 104 314.5t284 122.5q178 0 273 -105.5t95 -297.5q0 -159 -58 -286q-7 -1 -19.5 -3t-46 -2t-63 6t-62 25.5t-50.5 51.5q31 103 31 184q0 87 -29 132 t-79 45q-53 0 -85 -49.5t-32 -140.5q0 -186 105 -293.5t267 -107.5q62 0 121 14v-198q-101 -23 -198 -23q-65 -136 -165.5 -271t-181.5 -215.5t-128 -106.5q-80 -45 -162 3q-28 17 -60.5 43.5t-85 83.5t-102.5 128.5t-107.5 184t-105.5 244t-91.5 314.5t-70.5 390z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 367v546q0 41 34 64l819 546q21 13 43 13t43 -13l819 -546q34 -23 34 -64v-546q0 -41 -34 -64l-819 -546q-21 -13 -43 -13t-43 13l-819 546q-34 23 -34 64zM154 511l193 129l-193 129v-258zM216 367l603 -402v359l-334 223zM216 913l269 -180l334 223v359zM624 640 l272 -182l272 182l-272 182zM973 -35l603 402l-269 180l-334 -223v-359zM973 956l334 -223l269 180l-603 402v-359zM1445 640l193 -129v258z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2048" d="M0 407q0 110 55 203t147 147q-12 39 -12 82q0 115 82 196t199 81q95 0 172 -58q75 154 222.5 248t326.5 94q166 0 306 -80.5t221.5 -218.5t81.5 -301q0 -6 -0.5 -18t-0.5 -18q111 -46 179.5 -145.5t68.5 -221.5q0 -164 -118 -280.5t-285 -116.5q-4 0 -11.5 0.5t-10.5 0.5 h-1209h-1h-2h-5q-170 10 -288 125.5t-118 280.5zM468 498q0 -122 84 -193t208 -71q137 0 240 99q-16 20 -47.5 56.5t-43.5 50.5q-67 -65 -144 -65q-55 0 -93.5 33.5t-38.5 87.5q0 53 38.5 87t91.5 34q44 0 84.5 -21t73 -55t65 -75t69 -82t77 -75t97 -55t121.5 -21 q121 0 204.5 71.5t83.5 190.5q0 121 -84 192t-207 71q-143 0 -241 -97q14 -16 29.5 -34t34.5 -40t29 -34q66 64 142 64q52 0 92 -33t40 -84q0 -57 -37 -91.5t-94 -34.5q-43 0 -82.5 21t-72 55t-65.5 75t-69.5 82t-77.5 75t-96.5 55t-118.5 21q-122 0 -207 -70.5t-85 -189.5z " />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 640q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348zM128 640q0 -190 90 -361l194 194q-28 82 -28 167t28 167l-194 194q-90 -171 -90 -361zM512 640 q0 -159 112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5t-112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5zM535 -38q171 -90 361 -90t361 90l-194 194q-82 -28 -167 -28t-167 28zM535 1318l194 -194q82 28 167 28t167 -28l194 194q-171 90 -361 90t-361 -90z M1380 473l194 -194q90 171 90 361t-90 361l-194 -194q28 -82 28 -167t-28 -167z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 640q0 222 101 414.5t276.5 317t390.5 155.5v-260q-221 -45 -366.5 -221t-145.5 -406q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5q0 230 -145.5 406t-366.5 221v260q215 -31 390.5 -155.5t276.5 -317t101 -414.5 q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M19 662q8 217 116 406t305 318h5q0 -1 -1 -3q-8 -8 -28 -33.5t-52 -76.5t-60 -110.5t-44.5 -135.5t-14 -150.5t39 -157.5t108.5 -154q50 -50 102 -69.5t90.5 -11.5t69.5 23.5t47 32.5l16 16q39 51 53 116.5t6.5 122.5t-21 107t-26.5 80l-14 29q-10 25 -30.5 49.5t-43 41 t-43.5 29.5t-35 19l-13 6l104 115q39 -17 78 -52t59 -61l19 -27q1 48 -18.5 103.5t-40.5 87.5l-20 31l161 183l160 -181q-33 -46 -52.5 -102.5t-22.5 -90.5l-4 -33q22 37 61.5 72.5t67.5 52.5l28 17l103 -115q-44 -14 -85 -50t-60 -65l-19 -29q-31 -56 -48 -133.5t-7 -170 t57 -156.5q33 -45 77.5 -60.5t85 -5.5t76 26.5t57.5 33.5l21 16q60 53 96.5 115t48.5 121.5t10 121.5t-18 118t-37 107.5t-45.5 93t-45 72t-34.5 47.5l-13 17q-14 13 -7 13l10 -3q40 -29 62.5 -46t62 -50t64 -58t58.5 -65t55.5 -77t45.5 -88t38 -103t23.5 -117t10.5 -136 q3 -259 -108 -465t-312 -321t-456 -115q-185 0 -351 74t-283.5 198t-184 293t-60.5 353z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 640q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348zM44 640q0 -173 67.5 -331t181.5 -272t272 -181.5t331 -67.5t331 67.5t272 181.5t181.5 272t67.5 331 t-67.5 331t-181.5 272t-272 181.5t-331 67.5t-331 -67.5t-272 -181.5t-181.5 -272t-67.5 -331zM87 640q0 205 98 385l57 -33q-30 -56 -49 -112l82 -28q-35 -100 -35 -212q0 -109 36 -212l-83 -28q22 -60 49 -112l-57 -33q-98 180 -98 385zM206 217l58 34q29 -49 73 -99 l65 57q148 -168 368 -212l-17 -86q65 -12 121 -13v-66q-208 6 -385 109.5t-283 275.5zM207 1063q106 172 282 275.5t385 109.5v-66q-65 -2 -121 -13l17 -86q-220 -42 -368 -211l-65 56q-38 -42 -73 -98zM415 805q33 93 99 169l185 -162q59 68 147 86l-48 240q44 10 98 10 t98 -10l-48 -240q88 -18 147 -86l185 162q66 -76 99 -169l-233 -80q14 -42 14 -85t-14 -85l232 -80q-31 -92 -98 -169l-185 162q-57 -67 -147 -85l48 -241q-52 -10 -98 -10t-98 10l48 241q-90 18 -147 85l-185 -162q-67 77 -98 169l232 80q-14 42 -14 85t14 85zM918 -102 q56 1 121 13l-17 86q220 44 368 212l65 -57q44 50 73 99l58 -34q-106 -172 -283 -275.5t-385 -109.5v66zM918 1382v66q209 -6 385 -109.5t282 -275.5l-57 -33q-35 56 -73 98l-65 -56q-148 169 -368 211l17 86q-56 11 -121 13zM1516 428q36 103 36 212q0 112 -35 212l82 28 q-19 56 -49 112l57 33q98 -180 98 -385t-98 -385l-57 33q27 52 49 112z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 218q0 -45 20 -78.5t54 -51t72 -25.5t81 -8q224 0 224 188q0 67 -48 99t-126 46q-27 5 -51.5 20.5 t-24.5 39.5q0 44 49 52q77 15 122 70t45 134q0 24 -10 52q37 9 49 13v125q-78 -29 -135 -29q-50 29 -110 29q-86 0 -145 -57t-59 -143q0 -50 29.5 -102t73.5 -67v-3q-38 -17 -38 -85q0 -53 41 -77v-3q-113 -37 -113 -139zM382 225q0 64 98 64q102 0 102 -61q0 -66 -93 -66 q-107 0 -107 63zM395 693q0 90 77 90q36 0 55 -25.5t19 -63.5q0 -85 -74 -85q-77 0 -77 84zM755 1072q0 -36 25 -62.5t60 -26.5t59.5 27t24.5 62q0 36 -24 63.5t-60 27.5t-60.5 -27t-24.5 -64zM771 350h137q-2 27 -2 82v387q0 46 2 69h-137q3 -23 3 -71v-392q0 -50 -3 -75z M966 771q36 3 37 3q3 0 11 -0.5t12 -0.5v-2h-2v-217q0 -37 2.5 -64t11.5 -56.5t24.5 -48.5t43.5 -31t66 -12q64 0 108 24v121q-30 -21 -68 -21q-53 0 -53 82v225h52q9 0 26.5 -1t26.5 -1v117h-105q0 82 3 102h-140q4 -24 4 -55v-47h-60v-117z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M68 7q0 165 182 225v4q-67 41 -67 126q0 109 63 137v4q-72 24 -119.5 108.5t-47.5 165.5q0 139 95 231.5t235 92.5q96 0 178 -47q98 0 218 47v-202q-36 -12 -79 -22q16 -43 16 -84q0 -127 -73 -216.5t-197 -112.5q-40 -8 -59.5 -27t-19.5 -58q0 -31 22.5 -51.5t58 -32 t78.5 -22t86 -25.5t78.5 -37.5t58 -64t22.5 -98.5q0 -304 -363 -304q-69 0 -130 12.5t-116 41t-87.5 82t-32.5 127.5zM272 18q0 -101 172 -101q151 0 151 105q0 100 -165 100q-158 0 -158 -104zM293 775q0 -135 124 -135q119 0 119 137q0 61 -30 102t-89 41 q-124 0 -124 -145zM875 1389q0 59 39.5 103t98.5 44q58 0 96.5 -44.5t38.5 -102.5t-39 -101.5t-96 -43.5q-58 0 -98 43.5t-40 101.5zM901 220q4 45 4 134v609q0 94 -4 128h222q-4 -33 -4 -124v-613q0 -89 4 -134h-222zM1217 901v190h96v76q0 54 -6 89h227q-6 -41 -6 -165 h171v-190q-15 0 -43.5 2t-42.5 2h-85v-365q0 -131 87 -131q61 0 109 33v-196q-71 -39 -174 -39q-62 0 -107 20t-70 50t-39.5 78t-18.5 92t-4 103v351h2v4q-7 0 -19 1t-18 1q-21 0 -59 -6z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM368 1135l323 -589v-435h134v436l343 588h-150q-21 -39 -63.5 -118.5t-68 -128.5t-59.5 -118.5t-60 -128.5h-3 q-21 48 -44.5 97t-52 105.5t-46.5 92t-54 104.5t-49 95h-150z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M57 953q0 119 46.5 227t124.5 186t186 124t226 46q158 0 292.5 -78t212.5 -212.5t78 -292.5t-78 -292t-212.5 -212t-292.5 -78q-64 0 -131 14q-21 5 -32.5 23.5t-6.5 39.5q5 20 23 31.5t39 7.5q51 -13 108 -13q97 0 186 38t153 102t102 153t38 186t-38 186t-102 153 t-153 102t-186 38t-186 -38t-153 -102t-102 -153t-38 -186q0 -114 52 -218q10 -20 3.5 -40t-25.5 -30t-39.5 -3t-30.5 26q-64 123 -64 265zM113.5 38.5q10.5 121.5 29.5 217t54 186t69 155.5t74 125q61 90 132 165q-16 35 -16 77q0 80 56.5 136.5t136.5 56.5t136.5 -56.5 t56.5 -136.5t-57 -136.5t-136 -56.5q-60 0 -111 35q-62 -67 -115 -146q-247 -371 -202 -859q1 -22 -12.5 -38.5t-34.5 -18.5h-5q-20 0 -35 13.5t-17 33.5q-14 126 -3.5 247.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M18 264q0 275 252 466q-8 19 -8 52q0 20 11 49t24 45q-1 22 7.5 53t22.5 43q0 139 92.5 288.5t217.5 209.5q139 66 324 66q133 0 266 -55q49 -21 90 -48t71 -56t55 -68t42 -74t32.5 -84.5t25.5 -89.5t22 -98l1 -5q55 -83 55 -150q0 -14 -9 -40t-9 -38q0 -1 1.5 -3.5 t3.5 -5t2 -3.5q77 -114 120.5 -214.5t43.5 -208.5q0 -43 -19.5 -100t-55.5 -57q-9 0 -19.5 7.5t-19 17.5t-19 26t-16 26.5t-13.5 26t-9 17.5q-1 1 -3 1l-5 -4q-59 -154 -132 -223q20 -20 61.5 -38.5t69 -41.5t35.5 -65q-2 -4 -4 -16t-7 -18q-64 -97 -302 -97q-53 0 -110.5 9 t-98 20t-104.5 30q-15 5 -23 7q-14 4 -46 4.5t-40 1.5q-41 -45 -127.5 -65t-168.5 -20q-35 0 -69 1.5t-93 9t-101 20.5t-74.5 40t-32.5 64q0 40 10 59.5t41 48.5q11 2 40.5 13t49.5 12q4 0 14 2q2 2 2 4l-2 3q-48 11 -108 105.5t-73 156.5l-5 3q-4 0 -12 -20 q-18 -41 -54.5 -74.5t-77.5 -37.5h-1q-4 0 -6 4.5t-5 5.5q-23 54 -23 100z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="2048" d="M0 858q0 169 97.5 311t264 223.5t363.5 81.5q176 0 332.5 -66t262 -182.5t136.5 -260.5q-31 4 -70 4q-169 0 -311 -77t-223.5 -208.5t-81.5 -287.5q0 -78 23 -152q-35 -3 -68 -3q-26 0 -50 1.5t-55 6.5t-44.5 7t-54.5 10.5t-50 10.5l-253 -127l72 218q-290 203 -290 490z M380 1075q0 -39 33 -64.5t76 -25.5q41 0 66 24.5t25 65.5t-25 66t-66 25q-43 0 -76 -25.5t-33 -65.5zM816 404q0 143 81.5 264t223.5 191.5t311 70.5q161 0 303 -70.5t227.5 -192t85.5 -263.5q0 -117 -68.5 -223.5t-185.5 -193.5l55 -181l-199 109q-150 -37 -218 -37 q-169 0 -311 70.5t-223.5 191.5t-81.5 264zM888 1075q0 -39 33 -64.5t76 -25.5q41 0 65.5 24.5t24.5 65.5t-24.5 66t-65.5 25q-43 0 -76 -25.5t-33 -65.5zM1160 568q0 -28 22.5 -50.5t49.5 -22.5q40 0 65.5 22t25.5 51q0 28 -25.5 50t-65.5 22q-27 0 -49.5 -22.5 t-22.5 -49.5zM1559 568q0 -28 22.5 -50.5t49.5 -22.5q39 0 65 22t26 51q0 28 -26 50t-65 22q-27 0 -49.5 -22.5t-22.5 -49.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 508q-2 40 32 59l1664 960q15 9 32 9q20 0 36 -11q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-453 185l-242 -295q-18 -23 -49 -23q-13 0 -22 4q-19 7 -30.5 23.5t-11.5 36.5v349l864 1059l-1069 -925l-395 162q-37 14 -40 55z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 508q-3 39 32 59l1664 960q35 21 68 -2q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-527 215l-298 -327q-18 -21 -47 -21q-14 0 -23 4q-19 7 -30 23.5t-11 36.5v452l-472 193q-37 14 -40 55zM209 522l336 -137l863 639l-478 -797l492 -201 l221 1323z" />
|
||||||
|
<glyph unicode="" d="M0 832v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298t-61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12 q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45zM512 480v64q0 14 9 23t23 9h224v352 q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5zM128 640q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 t-51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M62 1338q0 26 12 48t36 22q46 0 138.5 -3.5t138.5 -3.5q42 0 126.5 3.5t126.5 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17 -43.5t-38.5 -14.5t-49.5 -4t-43 -13q-35 -21 -35 -160l1 -320q0 -21 1 -32q13 -3 39 -3h699q25 0 38 3q1 11 1 32l1 320q0 139 -35 160 q-18 11 -58.5 12.5t-66 13t-25.5 49.5q0 26 12.5 48t37.5 22q44 0 132 -3.5t132 -3.5q43 0 129 3.5t129 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17.5 -44t-40 -14.5t-51.5 -3t-44 -12.5q-35 -23 -35 -161l1 -943q0 -119 34 -140q16 -10 46 -13.5t53.5 -4.5t41.5 -15.5t18 -44.5 q0 -26 -12 -48t-36 -22q-44 0 -132.5 3.5t-133.5 3.5q-44 0 -132 -3.5t-132 -3.5q-24 0 -37 20.5t-13 45.5q0 31 17 46t39 17t51 7t45 15q33 21 33 140l-1 391q0 21 -1 31q-13 4 -50 4h-675q-38 0 -51 -4q-1 -10 -1 -31l-1 -371q0 -142 37 -164q16 -10 48 -13t57 -3.5 t45 -15t20 -45.5q0 -26 -12.5 -48t-36.5 -22q-47 0 -139.5 3.5t-138.5 3.5q-43 0 -128 -3.5t-127 -3.5q-23 0 -35.5 21t-12.5 45q0 30 15.5 45t36 17.5t47.5 7.5t42 15q33 23 33 143l-1 57v813q0 3 0.5 26t0 36.5t-1.5 38.5t-3.5 42t-6.5 36.5t-11 31.5t-16 18 q-15 10 -45 12t-53 2t-41 14t-18 45z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1280" d="M24 926q0 166 88 286q88 118 209 159q111 37 417 37h479q25 0 43 -18t18 -43v-73q0 -29 -18.5 -61t-42.5 -32q-50 0 -54 -1q-26 -6 -32 -31q-3 -11 -3 -64v-1152q0 -25 -18 -43t-43 -18h-108q-25 0 -43 18t-18 43v1218h-143v-1218q0 -25 -17.5 -43t-43.5 -18h-108 q-26 0 -43.5 18t-17.5 43v496q-147 12 -245 59q-126 58 -192 179q-64 117 -64 259z" />
|
||||||
|
<glyph unicode="" d="M0 736v64q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-64q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM128 -96v672h256v-672q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23zM128 960v416q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-416h-256zM512 224v64q0 40 28 68 t68 28h320q40 0 68 -28t28 -68v-64q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM640 64h256v-160q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v160zM640 448v928q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-928h-256zM1024 992v64q0 40 28 68t68 28h320q40 0 68 -28 t28 -68v-64q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68zM1152 -96v928h256v-928q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23zM1152 1216v160q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-160h-256z" />
|
||||||
|
<glyph unicode="" d="M0 640q0 133 93.5 226.5t226.5 93.5q126 0 218 -86l360 180q-2 22 -2 34q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5q-126 0 -218 86l-360 -180q2 -22 2 -34t-2 -34l360 -180q92 86 218 86q133 0 226.5 -93.5t93.5 -226.5 t-93.5 -226.5t-226.5 -93.5t-226.5 93.5t-93.5 226.5q0 12 2 34l-360 180q-92 -86 -218 -86q-133 0 -226.5 93.5t-93.5 226.5z" />
|
||||||
|
<glyph unicode="" d="M0 160v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5zM256 640q0 -88 62.5 -150.5t150.5 -62.5q83 0 145 57l241 -120q-2 -16 -2 -23q0 -88 63 -150.5t151 -62.5 t150.5 62.5t62.5 150.5t-62.5 151t-150.5 63q-84 0 -145 -58l-241 120q2 16 2 23t-2 23l241 120q61 -58 145 -58q88 0 150.5 63t62.5 151t-62.5 150.5t-150.5 62.5t-151 -62.5t-63 -150.5q0 -7 2 -23l-241 -120q-62 57 -145 57q-88 0 -150.5 -62.5t-62.5 -150.5z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" d="M0 448q0 143 55.5 273.5t150 225t225 150t273.5 55.5q182 0 343 -89l64 64q19 19 45.5 19t45.5 -19l68 -68l243 244l46 -46l-244 -243l68 -68q19 -19 19 -45.5t-19 -45.5l-64 -64q89 -161 89 -343q0 -143 -55.5 -273.5t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5 t-225 150t-150 225t-55.5 273.5zM170 615q10 -24 35 -34q13 -5 24 -5q42 0 60 40q34 84 98.5 148.5t148.5 98.5q25 11 35 35t0 49t-34 35t-49 0q-108 -44 -191 -127t-127 -191q-10 -25 0 -49zM1376 1472q0 13 9 23q10 9 23 9t23 -9l90 -91q10 -9 10 -22.5t-10 -22.5 q-10 -10 -22 -10q-13 0 -23 10l-91 90q-9 10 -9 23zM1536 1408v96q0 14 9 23t23 9t23 -9t9 -23v-96q0 -14 -9 -23t-23 -9t-23 9t-9 23zM1605 1242.5q0 13.5 10 22.5q9 10 22.5 10t22.5 -10l91 -90q9 -10 9 -23t-9 -23q-11 -9 -23 -9t-23 9l-90 91q-10 9 -10 22.5z M1605 1381.5q0 13.5 10 22.5l90 91q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-91 -90q-10 -10 -22 -10q-13 0 -23 10q-10 9 -10 22.5zM1632 1312q0 14 9 23t23 9h96q14 0 23 -9t9 -23t-9 -23t-23 -9h-96q-14 0 -23 9t-9 23z" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph unicode="" horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
<glyph horiz-adv-x="1792" />
|
||||||
|
</font>
|
||||||
|
</defs></svg>
|
After Width: | Height: | Size: 248 KiB |
BIN
docs/ModuleApi/font/fontawesome-webfont.ttf
Normal file
BIN
docs/ModuleApi/font/fontawesome-webfont.ttf
Normal file
Binary file not shown.
BIN
docs/ModuleApi/font/fontawesome-webfont.woff
Normal file
BIN
docs/ModuleApi/font/fontawesome-webfont.woff
Normal file
Binary file not shown.
163
docs/ModuleApi/graphs/class.html
Normal file
163
docs/ModuleApi/graphs/class.html
Normal file
|
@ -0,0 +1,163 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<title>Pepperminty Wiki Module API</title>
|
||||||
|
<meta name="author" content=""/>
|
||||||
|
<meta name="description" content=""/>
|
||||||
|
|
||||||
|
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
||||||
|
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
||||||
|
<link href="../css/jquery.iviewer.css" rel="stylesheet" media="all"/>
|
||||||
|
<style>
|
||||||
|
#viewer {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.wrapper {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="../js/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<script src="../js/jquery-1.11.0.min.js"></script>
|
||||||
|
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
||||||
|
<script src="../js/bootstrap.min.js"></script>
|
||||||
|
<script src="../js/jquery.smooth-scroll.js"></script>
|
||||||
|
<script src="../js/prism.min.js"></script>
|
||||||
|
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
||||||
|
<script src="../js/jquery.mousewheel.js" type="text/javascript"></script>
|
||||||
|
<script src="../js/jquery.iviewer.js" type="text/javascript"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(window).resize(function(){
|
||||||
|
$("#viewer").height($(window).height() - 100);
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$("#viewer").iviewer({src: '../graphs/classes.svg', zoom_animation: false});
|
||||||
|
$('#viewer img').bind('dragstart', function(event){
|
||||||
|
event.preventDefault();
|
||||||
|
});
|
||||||
|
$(window).resize();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
||||||
|
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
||||||
|
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="container">
|
||||||
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<i class="icon-ellipsis-vertical"></i>
|
||||||
|
</a>
|
||||||
|
<a class="brand" href="../index.html">Pepperminty Wiki Module API</a>
|
||||||
|
|
||||||
|
<div class="nav-collapse">
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="dropdown" id="charts-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Charts <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../graphs/class.html">
|
||||||
|
<i class="icon-list-alt"></i> Class hierarchy diagram
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown" id="reports-menu">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Reports <b class="caret"></b>
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="../reports/errors.html">
|
||||||
|
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">84</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/markers.html">
|
||||||
|
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">6</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="../reports/deprecated.html">
|
||||||
|
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="go_to_top">-->
|
||||||
|
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="___" class="container-fluid">
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span12">
|
||||||
|
<div class="wrapper">
|
||||||
|
<div id="viewer" class="viewer"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="row-fluid">
|
||||||
|
<section class="span10 offset2">
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<section class="row-fluid footer-sections">
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-code"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-bar-chart"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="span4">
|
||||||
|
<h1><i class="icon-pushpin"></i></h1>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li><a href="../reports/errors.html">Errors</a></li>
|
||||||
|
<li><a href="../reports/markers.html">Markers</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section class="row-fluid">
|
||||||
|
<section class="span10 offset1">
|
||||||
|
<hr />
|
||||||
|
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
||||||
|
on September 16th, 2017 at 10:22.
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue