Merge branch 'master' of github.com:bludit/bludit

This commit is contained in:
floppy0 2018-01-17 15:57:09 +01:00
commit 71d0e149ed
3 changed files with 13 additions and 9 deletions

View File

@ -43,7 +43,7 @@ PHP Built-in web server
- PHP [json](http://php.net/manual/en/book.json.php) module for JSON manipulation.
- Supported web servers:
* Bludit supports almost every webserver
* PHP Built-in web server
* PHP Built-in web server (`php -S localhost:8000`)
Installation Guide
------------------
@ -59,6 +59,16 @@ Docker Image
Bludit provides an official Docker image.
- https://hub.docker.com/r/bludit/docker/
Backers
-------
Become a **Backer** and support Bludit with a monthly contribution to help us continue development. [Become a Backer](https://opencollective.com/bludit#backer)
Sponsors
--------
Become a **Sponsor** and support Bludit with a monthly contribution to help us continue development. [Become a Sponsor](https://opencollective.com/bludit#sponsor)
<a href="https://opencollective.com/bludit/sponsor/0/website" target="_blank"><img src="https://opencollective.com/bludit/sponsor/0/avatar.svg"></a>
License
-------
Bludit is open source software licensed under the [MIT license](https://tldrlegal.com/license/mit-license).

View File

@ -341,12 +341,6 @@ function deactivatePlugin($pluginClassName) {
return false;
}
function printDebug($array) {
echo '<pre>';
var_dump($array);
echo '</pre>';
}
function createPage($args) {
global $dbPages;
global $Syslog;

View File

@ -25,8 +25,8 @@ class pluginStaticPages extends Plugin {
$html .= '<div>';
$html .= '<label>'.$Language->get('Home link').'</label>';
$html .= '<select name="homeLink">';
$html .= '<option value="true" '.($this->getValue('homeLink')?'checked':'').'>Enabled</option>';
$html .= '<option value="false" '.($this->getValue('homeLink')?'checked':'').'>Disabled</option>';
$html .= '<option value="true" '.($this->getValue('homeLink')?'selected':'').'>Enabled</option>';
$html .= '<option value="false" '.(!$this->getValue('homeLink')?'selected':'').'>Disabled</option>';
$html .= '</select>';
$html .= '<span class="tip">'.$Language->get('Show the home link on the sidebar').'</span>';
$html .= '</div>';