History log of /plugin/addnewpage/syntax.php (Results 26 – 50 of 59)
Revision Date Author Comments
# ed55cb4c 29-Jun-2016 Michael Grosse <grosse@cosmocode.de>

Clean whitespace from html source

Since all major browser now have developer tools with automatic source
code indentation adding further white-space to the source is
unnecessary and potentially a st

Clean whitespace from html source

Since all major browser now have developer tools with automatic source
code indentation adding further white-space to the source is
unnecessary and potentially a styling issue.

This retraces changes made in the DokuWiki core with the new release
Elenor of Tsort.

Co-authored-by: Damien Regad <dregad@mantisbt.org>

Conflicts:
syntax.php

show more ...


# aa8cc19b 29-Jun-2016 Michael Grosse <grosse@cosmocode.de>

Add bottom-margin: don't cling to next element

Fixes #56


# 0d90564c 07-May-2023 Damien Regad <dregad@mantisbt.org>

Add param "newpagevars" for plugin newpagetemplate

Fixes #66

UNTESTED adaptation of commit 9785b7d18e7da5a6454820073a551feb3c2a8617
to the new preg_match()-based parser.


# 9418ebb8 07-May-2023 Damien Regad <dregad@mantisbt.org>

Avoid undefined array key error


# 9785b7d1 30-Oct-2016 Vladimir <ReanGD@yandex.ru>

Add param "newpagevars" for plugin newpagetemplate

Fixes #66


# 5cc7d735 19-Apr-2023 Damien Regad <dregad@mantisbt.org>

Fix undefined array key error (#91)


# cf018a6a 30-May-2017 Andreas Gohr <gohr@cosmocode.de>

removed unneeded options assignment

Options are not used after the handler step, so no need to assign them
to the class member.


# b8304a8e 29-May-2017 Andreas Gohr <gohr@cosmocode.de>

more flexibility

* @INPUT@ placeholder can be used to reference the given input (useful
to create a new namespace) makes #70 obsolete
* new ? syntax to overwrite config options from the syntax (de

more flexibility

* @INPUT@ placeholder can be used to reference the given input (useful
to create a new namespace) makes #70 obsolete
* new ? syntax to overwrite config options from the syntax (defaults
still come from the config setting)
* support for strftime placeholders in the namespace config. Allows to
create a daily page for example
* New option autopage which hides the input field. Together with the new
date placeholder this allows to create a daily page on a single button
click

show more ...


# fec857f5 11-Apr-2017 Michael Große <grosse@cosmocode.de>

fix: Always use id of main page


# 017bc029 22-Dec-2016 Matthieu Estrada <algorys@users.noreply.github.com>

Fix PHP Warning "strpos(): Empty needle"

If $exclude is empty, it generates many PHP warnings:

```
PHP Warning: strpos(): Empty needle in /var/www/wiki/lib/plugins/addnewpage/syntax.php on lin

Fix PHP Warning "strpos(): Empty needle"

If $exclude is empty, it generates many PHP warnings:

```
PHP Warning: strpos(): Empty needle in /var/www/wiki/lib/plugins/addnewpage/syntax.php on line 249
```

This change fix it.

show more ...


# 9c949441 25-Aug-2016 Sam Wilson <sam@samwilson.id.au>

Merge pull request #59 from cosmocode/pageAsNamespacePart

Allow @PAGE@ to be used as part of the namespace


# 18c06200 24-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Replace the page anywhere in the string

Also clean the result.


# 43baf956 19-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Allow @PAGE@ to be used as part of the namespace

e.g. {{NEWPAGE>@PAGE@:feature}}


# 29fe948b 05-Feb-2016 Julian Einwag <julian.einwag@marcapo.com>

fix ACL check when @NS@ is given as namespace


# fead6b5e 15-Aug-2015 Albert Chern <albert@Alberts-MacBook-Air.local>

Changed select menu to always include ancestors of any namespaces that show up in the menu,
even if the user does not have permissions for them. In that case, they will be grayed out
but still be pr

Changed select menu to always include ancestors of any namespaces that show up in the menu,
even if the user does not have permissions for them. In that case, they will be grayed out
but still be printed in the menu to avoid confusion and ambiguity.

show more ...


# 03475bb4 16-May-2014 Sam Wilson <sam@samwilson.id.au>

Merge newpagetemplate feature, and fix up some coding standards items.


# e6a74061 15-Mar-2014 Gerrit Uitslag <klapinklapin@gmail.com>

some escaping


# 8c8f824e 15-Mar-2014 Gerrit Uitslag <klapinklapin@gmail.com>

added name to select


# 735f6285 15-Mar-2014 Gerrit Uitslag <klapinklapin@gmail.com>

PHPDocs and trim namespace spaces.


# 716e610a 15-Mar-2014 Gerrit Uitslag <klapinklapin@gmail.com>

added support for newpagetemplate plugin

- inclusing some refactoring


# 58a4331a 14-Mar-2014 Gerrit Uitslag <klapinklapin@gmail.com>

Code reformatting


# d49bfc3c 14-Mar-2014 Gerrit Uitslag <klapinklapin@gmail.com>

minor changes, removed old stuff


# b15dc815 16-Aug-2013 Sam Wilson <sam@samwilson.id.au>

Coding standards fixes throughout codebase.


# e5468561 15-Aug-2013 Sam Wilson <sam@samwilson.id.au>

Added .gitattributes file, for normalizing line endings in PHP files (to CRLF).


# 558d1b26 20-Jun-2013 Sam Wilson <sam@samwilson.id.au>

Updating version date.


123