-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
33 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
/** | ||
* Default settings for the watchcycle plugin | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
<?php | ||
|
||
/** | ||
* Options for the watchcycle plugin | ||
* | ||
* @author Michael Große <[email protected]> | ||
*/ | ||
|
||
|
||
$meta['default_maintained_only'] = ['onoff']; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<?php | ||
|
||
// phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps | ||
|
||
use dokuwiki\Extension\SyntaxPlugin; | ||
|
||
/** | ||
* DokuWiki Plugin watchcycle (Syntax Component) | ||
* | ||
* @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html | ||
* @author Szymon Olewniczak <[email protected]> | ||
*/ | ||
|
||
// must be run within Dokuwiki | ||
if (!defined('DOKU_INC')) { | ||
die(); | ||
} | ||
|
||
class syntax_plugin_watchcycle extends DokuWiki_Syntax_Plugin | ||
class syntax_plugin_watchcycle extends SyntaxPlugin | ||
{ | ||
/** | ||
* @return string Syntax mode type | ||
|
@@ -188,10 +188,10 @@ protected function getMaintainerHtml($def) | |
|
||
$all = $helper->getMaintainers($def); | ||
$flat = array(); | ||
foreach($all as $name => $info) { | ||
if(is_array($info)) { | ||
foreach ($all as $name => $info) { | ||
if (is_array($info)) { | ||
$flat[] = $this->email($info['mail'], $info['name']); | ||
}elseif($info === null) { | ||
} elseif ($info === null) { | ||
$flat[] = $name; | ||
} | ||
} | ||
|