1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 04:23:01 +00:00

Update docs

This commit is contained in:
Starbeamrainbowlabs 2018-05-05 21:53:57 +01:00
parent 69824a64e7
commit fd4bfa5c0c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
55 changed files with 408 additions and 224 deletions

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-428777980"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-50850467"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-428777980" class="accordion-body collapse in"> <div id="namespace-50850467" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -187,6 +187,7 @@
<section class="row-fluid public"> <section class="row-fluid public">
<section class="span4"> <section class="span4">
<a href="../classes/PeppermintParsedown.html#method___construct" class="">__construct()</a><br /> <a href="../classes/PeppermintParsedown.html#method___construct" class="">__construct()</a><br />
<a href="../classes/PeppermintParsedown.html#method_extract_page_names" class="">extract_page_names()</a><br />
<a href="../classes/PeppermintParsedown.html#method_setInternalLinkBase" class="">setInternalLinkBase()</a><br /> <a href="../classes/PeppermintParsedown.html#method_setInternalLinkBase" class="">setInternalLinkBase()</a><br />
</section> </section>
<section class="span4"> <section class="span4">
@ -283,6 +284,41 @@
<div class="row-fluid"> <div class="row-fluid">
<div class="span8 content class"> <div class="span8 content class">
<a id="method_extract_page_names" name="method_extract_page_names" class="anchor"></a>
<article class="method">
<h3 class="public ">extract_page_names()</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_page_names( <span class="argument">$page_text</span>) </pre>
<p><em></em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td></td>
<td>$page_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 class="row-fluid">
<div class="span8 content class">
<a id="method_setInternalLinkBase" name="method_setInternalLinkBase" class="anchor"></a> <a id="method_setInternalLinkBase" name="method_setInternalLinkBase" class="anchor"></a>
<article class="method"> <article class="method">
<h3 class="public ">setInternalLinkBase()</h3> <h3 class="public ">setInternalLinkBase()</h3>
@ -365,7 +401,7 @@ with a URL encoded version of the page name.</em></p>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-763618333"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-992366407"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-763618333" class="accordion-body collapse in"> <div id="namespace-992366407" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -414,7 +414,7 @@ Added image support</p>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1086243648"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2127223150"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1086243648" class="accordion-body collapse in"> <div id="namespace-2127223150" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -525,7 +525,7 @@ index.</p>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-215121379"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-855065177"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-215121379" class="accordion-body collapse in"> <div id="namespace-855065177" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -943,7 +943,7 @@ navigation bar.</p></td>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1080583562"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-25777709"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1080583562" class="accordion-body collapse in"> <div id="namespace-25777709" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -919,7 +919,7 @@ in a list of search results.</em></p>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-582333105"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1718878422"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-582333105" class="accordion-body collapse in"> <div id="namespace-1718878422" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -2433,7 +2433,7 @@ an edit is saved.</em></p>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -10,6 +10,7 @@ mb_internal_encoding("UTF-8");
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
/** The version of Pepperminty Wiki currently running. */ /** The version of Pepperminty Wiki currently running. */
$version = "{version}"; $version = "{version}";
$commit = "{commit}";
/// Environment /// /// Environment ///
/** Holds information about the current request environment. */ /** Holds information about the current request environment. */
$env = new stdClass(); $env = new stdClass();
@ -1394,7 +1395,7 @@ class page_renderer
if(module_exists("feature-user-preferences")) { if(module_exists("feature-user-preferences")) {
$result .= "<a href='?action=user-preferences'>$settings->user_preferences_button_text</a>"; $result .= "<a href='?action=user-preferences'>$settings->user_preferences_button_text</a>";
} }
$result .= " <a href='?page=" . rawurlencode("$settings->user_page_prefix/$env->user") . "'>" . self::render_username($env->user) . "</a>"; $result .= self::render_username($env->user);
$result .= " <small>(<a href='index.php?action=logout'>Logout</a>)</small>"; $result .= " <small>(<a href='index.php?action=logout'>Logout</a>)</small>";
$result .= "</span>"; $result .= "</span>";
//$result .= page_renderer::$nav_divider; //$result .= page_renderer::$nav_divider;

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-761724659"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-755251852"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-761724659" class="accordion-body collapse in"> <div id="namespace-755251852" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-12027772"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1590614701"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-12027772" class="accordion-body collapse in"> <div id="namespace-1590614701" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-792531575"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1201853617"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-792531575" class="accordion-body collapse in"> <div id="namespace-1201853617" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-494637930"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1762545865"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-494637930" class="accordion-body collapse in"> <div id="namespace-1762545865" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2015134731"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-467287636"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-2015134731" class="accordion-body collapse in"> <div id="namespace-467287636" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1748849698"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1305938681"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1748849698" class="accordion-body collapse in"> <div id="namespace-1305938681" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1760593782"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-792316182"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1760593782" class="accordion-body collapse in"> <div id="namespace-792316182" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -298,7 +298,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-86514754"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1698973592"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-86514754" class="accordion-body collapse in"> <div id="namespace-1698973592" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -544,7 +544,7 @@ at which the comments are being rendered.</p></td>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-382323411"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1215420120"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-382323411" class="accordion-body collapse in"> <div id="namespace-1215420120" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-18733018"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1501573311"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-18733018" class="accordion-body collapse in"> <div id="namespace-1501573311" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -304,7 +304,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1925645124"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1058290855"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1925645124" class="accordion-body collapse in"> <div id="namespace-1058290855" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -384,7 +384,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-809778193"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-45005036"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-809778193" class="accordion-body collapse in"> <div id="namespace-45005036" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-672263433"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-278263455"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-672263433" class="accordion-body collapse in"> <div id="namespace-278263455" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -246,7 +246,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-680936246"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-89132357"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-680936246" class="accordion-body collapse in"> <div id="namespace-89132357" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -381,7 +381,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1183146761"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1393628047"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1183146761" class="accordion-body collapse in"> <div id="namespace-1393628047" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -503,7 +503,7 @@ the image.</p></td>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-227586180"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1107371369"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-227586180" class="accordion-body collapse in"> <div id="namespace-1107371369" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-462376845"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1996735192"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-462376845" class="accordion-body collapse in"> <div id="namespace-1996735192" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-887227915"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1791832302"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-887227915" class="accordion-body collapse in"> <div id="namespace-1791832302" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1810754003"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-218236975"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1810754003" class="accordion-body collapse in"> <div id="namespace-218236975" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1311850863"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1723495381"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1311850863" class="accordion-body collapse in"> <div id="namespace-1723495381" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-567575448"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-372193933"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-567575448" class="accordion-body collapse in"> <div id="namespace-372193933" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1441497016"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1273845436"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1441497016" class="accordion-body collapse in"> <div id="namespace-1273845436" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1923983971"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2125266591"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1923983971" class="accordion-body collapse in"> <div id="namespace-2125266591" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -340,7 +340,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1695159594"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-902027099"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1695159594" class="accordion-body collapse in"> <div id="namespace-902027099" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -295,7 +295,7 @@ enabled, or sha256 otherwise.</p>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-412798818"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-538646369"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-412798818" class="accordion-body collapse in"> <div id="namespace-538646369" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1796349702"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1253811666"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1796349702" class="accordion-body collapse in"> <div id="namespace-1253811666" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-456447984"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-703830550"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-456447984" class="accordion-body collapse in"> <div id="namespace-703830550" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1643813749"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-521074668"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1643813749" class="accordion-body collapse in"> <div id="namespace-521074668" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-817944909"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-260467534"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-817944909" class="accordion-body collapse in"> <div id="namespace-260467534" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1152116361"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-130943677"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1152116361" class="accordion-body collapse in"> <div id="namespace-130943677" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -246,7 +246,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-44800241"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1488299317"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-44800241" class="accordion-body collapse in"> <div id="namespace-1488299317" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -246,7 +246,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -22,7 +22,7 @@ register_module([
* ██████ ██████ ██ ████ ██ ██ ██████ ██████ ██ ██ ███████ * ██████ ██████ ██ ████ ██ ██ ██████ ██████ ██ ██ ███████
*/ */
add_action("configure", function() { add_action("configure", function() {
global $settings, $env, $guiConfig; global $settings, $env, $guiConfig, $version, $commit;
if(!$env->is_admin) if(!$env->is_admin)
{ {
@ -36,6 +36,7 @@ register_module([
$content = "<h1>Master Control Panel</h1>\n"; $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 .= "<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 .= "<p>You're currently running Pepperminty WIki $version+" . substr($commit, 0, 7) . ".</p>\n";
$content .= "<h2>Actions</h2>"; $content .= "<h2>Actions</h2>";
$content .= "<button class='action-invindex-rebuild' title='Rebuilds the index that is consulted when searching the wiki. Hit this button if some pages are not showing up.'>Rebuild Search Index</button>\n"; $content .= "<button class='action-invindex-rebuild' title='Rebuilds the index that is consulted when searching the wiki. Hit this button if some pages are not showing up.'>Rebuild Search Index</button>\n";

View file

@ -61,6 +61,7 @@ register_module([
$content .= "<p>$settings->sitename doesn't current have the page listing module installed, so HTML rendering of this statistic is currently unavailable. Try <a href='mailto:" . hide_email($settings->admindetails_email) . "'>contacting $settings->admindetails_name</a>, $settings->sitename's administrator and asking then to install the <code>page-list</code> module.</p>"; $content .= "<p>$settings->sitename doesn't current have the page listing module installed, so HTML rendering of this statistic is currently unavailable. Try <a href='mailto:" . hide_email($settings->admindetails_email) . "'>contacting $settings->admindetails_name</a>, $settings->sitename's administrator and asking then to install the <code>page-list</code> module.</p>";
break; break;
} }
$content .= "<p><strong>Count:</strong> " . count($stats->{$_GET["stat"]}->value) . "</p>\n";
$content .= generate_page_list($stats->{$_GET["stat"]}->value); $content .= generate_page_list($stats->{$_GET["stat"]}->value);
break; break;
@ -137,12 +138,26 @@ register_module([
////////////////////////// //////////////////////////
/// Built-in Statisics /// /// Built-in Statisics ///
////////////////////////// //////////////////////////
// The longest pages statistic_add([
"id" => "user_count",
"name" => "Users",
"type" => "scalar",
"update" => function($old_stats) {
global $settings;
$result = new stdClass(); // completed, value, state
$result->completed = true;
$result->value = count(get_object_vars($settings->users));
return $result;
}
]);
statistic_add([ statistic_add([
"id" => "longest-pages", "id" => "longest-pages",
"name" => "Longest Pages", "name" => "Longest Pages",
"type" => "page", "type" => "page-list",
"update" => function($old_stats) { "update" => function($old_stats) {
global $pageindex; global $pageindex;
@ -153,20 +168,9 @@ register_module([
} }
arsort($pages); arsort($pages);
$result->value = $pages; $result->value = array_keys($pages);
$result->completed = true; $result->completed = true;
return $result; 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;
} }
]); ]);
@ -201,6 +205,24 @@ register_module([
return $result; return $result;
} }
]); ]);
statistic_add([
"id" => "redirect_count",
"name" => "Redirect Pages",
"type" => "scalar",
"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->redirect) && $pagedata->redirect)
$result->value++;
}
return $result;
}
]);
// Perform an automatic recalculation of the statistics if needed // Perform an automatic recalculation of the statistics if needed
if($env->action !== "stats-update") if($env->action !== "stats-update")

View file

@ -24,7 +24,7 @@ register_module([
* ██████ ███████ ██████ ██████ ██████ * ██████ ███████ ██████ ██████ ██████
*/ */
add_action("debug", function() { add_action("debug", function() {
global $settings, $env, $paths, $version; global $settings, $env, $paths, $version, $commit;
header("content-type: text/plain"); header("content-type: text/plain");
if(!$env->is_admin) if(!$env->is_admin)
@ -35,7 +35,7 @@ register_module([
$title = "$settings->sitename debug report"; $title = "$settings->sitename debug report";
echo("$title\n"); echo("$title\n");
echo(str_repeat("=", strlen($title)) . "\n"); echo(str_repeat("=", strlen($title)) . "\n");
echo("Powered by Pepperminty Wiki version $version.\n"); echo("Powered by Pepperminty Wiki version $version+" . substr($commit, 0, 7) . ".\n");
echo("This report may contain personal information.\n\n"); echo("This report may contain personal information.\n\n");
echo("Environment: "); echo("Environment: ");
echo(var_export($env, true)); echo(var_export($env, true));

View file

@ -339,6 +339,7 @@ window.addEventListener("load", function(event) {
if(!$settings->editing) if(!$settings->editing)
{ {
header("x-failure-reason: editing-disabled");
header("location: index.php?page=" . rawurlencode($env->page)); header("location: index.php?page=" . rawurlencode($env->page));
exit(page_renderer::render_main("Error saving edit", "<p>Editing is currently disabled on this wiki.</p>")); exit(page_renderer::render_main("Error saving edit", "<p>Editing is currently disabled on this wiki.</p>"));
} }
@ -346,6 +347,7 @@ window.addEventListener("load", function(event) {
{ {
http_response_code(403); http_response_code(403);
header("refresh: 5; url=index.php?page=" . rawurlencode($env->page)); header("refresh: 5; url=index.php?page=" . rawurlencode($env->page));
header("x-login-required: yes");
exit("You are not logged in, so you are not allowed to save pages on $settings->sitename. Redirecting in 5 seconds...."); exit("You are not logged in, so you are not allowed to save pages on $settings->sitename. Redirecting in 5 seconds....");
} }
if(( if((
@ -439,6 +441,7 @@ DIFFSCRIPT;
$content .= "\n<script src='diff.min.js'></script> $content .= "\n<script src='diff.min.js'></script>
<script>$diffScript</script>\n"; <script>$diffScript</script>\n";
header("x-failure-reason: edit-conflict");
exit(page_renderer::render_main("Edit Conflict - $env->page - $settings->sitename", $content)); exit(page_renderer::render_main("Edit Conflict - $env->page - $settings->sitename", $content));
} }
} }
@ -517,6 +520,7 @@ DIFFSCRIPT;
} }
else else
{ {
header("x-failure-reason: server-error");
http_response_code(507); 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> 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>")); <p>Please tell the administrator of this wiki (" . $settings->admindetails_name . ") about this problem.</p>"));

View file

@ -1,7 +1,7 @@
<?php <?php
register_module([ register_module([
"name" => "Parsedown", "name" => "Parsedown",
"version" => "0.9.10", "version" => "0.9.11",
"author" => "Emanuil Rusev & Starbeamrainbowlabs", "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.", "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", "id" => "parser-parsedown",
@ -21,7 +21,13 @@ register_module([
return $result; return $result;
}); });
// Wanted pages /*
* ███████ ████████ █████ ████████ ██ ███████ ████████ ██ ██████ ███████
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
* ███████ ██ ███████ ██ ██ ███████ ██ ██ ██ ███████
* ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
* ███████ ██ ██ ██ ██ ██ ███████ ██ ██ ██████ ███████
*/
statistic_add([ statistic_add([
"id" => "wanted-pages", "id" => "wanted-pages",
"name" => "Wanted Pages", "name" => "Wanted Pages",
@ -32,28 +38,13 @@ register_module([
$result = new stdClass(); // completed, value, state $result = new stdClass(); // completed, value, state
$pages = []; $pages = [];
foreach($pageindex as $pagename => $pagedata) { foreach($pageindex as $pagename => $pagedata) {
if(!file_exists($env->storage_prefix . $pagedata->filename)) { if(!file_exists($env->storage_prefix . $pagedata->filename))
continue; continue;
}
$page_content = file_get_contents($env->storage_prefix . $pagedata->filename); $page_content = file_get_contents($env->storage_prefix . $pagedata->filename);
preg_match_all("/\[\[([^\]]+)\]\]/", $page_content, $linked_pages);
if(count($linked_pages[1]) === 0) $page_links = PeppermintParsedown::extract_page_names($page_content);
continue; // No linked pages here
foreach($linked_pages[1] as $linked_page) { foreach($page_links 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 // We're only interested in pages that don't exist
if(!empty($pageindex->$linked_page)) continue; if(!empty($pageindex->$linked_page)) continue;
@ -80,6 +71,88 @@ register_module([
return $result; return $result;
} }
]); ]);
statistic_add([
"id" => "orphan-pages",
"name" => "Orphan Pages",
"type" => "page-list",
"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);
$page_links = PeppermintParsedown::extract_page_names($page_content);
foreach($page_links as $linked_page) {
// We're only interested in pages that exist
if(empty($pageindex->$linked_page)) continue;
$pages[$linked_page] = true;
}
}
$orphaned_pages = [];
foreach($pageindex as $pagename => $page_data) {
if(empty($pages[$pagename]))
$orphaned_pages[] = $pagename;
}
sort($orphaned_pages);
$result->value = $orphaned_pages;
$result->completed = true;
return $result;
}
]);
statistic_add([
"id" => "most-linked-to-pages",
"name" => "Most Linked-To Pages",
"type" => "page",
"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);
$page_links = PeppermintParsedown::extract_page_names($page_content);
foreach($page_links as $linked_page) {
// We're only interested in pages that 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) {
global $pageindex;
$result = "<h2>$stats_data->name</h2>\n";
$result .= "<table class='most-linked-to-pages'>\n";
$result .= "\t<tr><th>Page Name</th><th>Linking Pages</th></tr>\n";
foreach($stats_data->value as $pagename => $link_count) {
$pagename_display = !empty($pageindex->$pagename->redirect) && $pageindex->$pagename->redirect ? "<em>$pagename</em>" : $pagename;
$result .= "\t<tr><td><a href='?page=" . rawurlencode($pagename) . "'>$pagename_display</a></td><td>$link_count</td></tr>\n";
}
$result .= "</table>\n";
return $result;
}
]);
add_help_section("20-parser-default", "Editor Syntax", 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> "<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>
@ -621,6 +694,41 @@ class PeppermintParsedown extends ParsedownExtra
} }
} }
# ~
# Static Methods
# ~
public static function extract_page_names($page_text) {
global $pageindex;
preg_match_all("/\[\[([^\]]+)\]\]/", $page_text, $linked_pages);
if(count($linked_pages[1]) === 0)
return []; // No linked pages here
$result = [];
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
$altered_linked_page = $linked_page;
if(!empty($pageindex->{ucfirst($linked_page)}))
$altered_linked_page = ucfirst($linked_page);
else if(!empty($pageindex->{ucwords($linked_page)}))
$altered_linked_page = ucwords($linked_page);
else // Our efforts were in vain, so reset to the original
$altered_linked_page = $linked_page;
$result[] = $altered_linked_page;
}
return $result;
}
# ~ # ~
# Utility Methods # Utility Methods
# ~ # ~

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-933441633"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-247744307"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-933441633" class="accordion-body collapse in"> <div id="namespace-247744307" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -40,11 +40,13 @@ $settings = str_replace([ "<?php", "?>" ], "", $settings);
$core = str_replace([ $core = str_replace([
"//{settings}", "//{settings}",
"{version}", "{version}",
"{commit}",
"{guiconfig}", "{guiconfig}",
"{default-css}" "{default-css}"
], [ ], [
$settings, $settings,
trim(file_get_contents("version")), trim(file_get_contents("version")),
exec("git rev-parse HEAD"),
trim(file_get_contents("peppermint.guiconfig.json")), trim(file_get_contents("peppermint.guiconfig.json")),
trim(file_get_contents("theme_default.css")) trim(file_get_contents("theme_default.css"))
], $core); ], $core);

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1745242883"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1804044430"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1745242883" class="accordion-body collapse in"> <div id="namespace-1804044430" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -106,7 +106,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -136,10 +136,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1232443033"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-186703378"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1232443033" class="accordion-body collapse in"> <div id="namespace-186703378" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -239,7 +239,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -83,7 +83,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -152,7 +152,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -58,7 +58,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="reports/errors.html"> <a href="reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -88,10 +88,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1101186932"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1656489921"></a>
<a href="namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1101186932" class="accordion-body collapse in"> <div id="namespace-1656489921" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -3461,7 +3461,7 @@ listed to be cacnonical.</em></p>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -58,7 +58,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -88,10 +88,10 @@
<div class="accordion" style="margin-bottom: 0"> <div class="accordion" style="margin-bottom: 0">
<div class="accordion-group"> <div class="accordion-group">
<div class="accordion-heading"> <div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1206989777"></a> <a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1685199989"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a> <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div> </div>
<div id="namespace-1206989777" class="accordion-body collapse in"> <div id="namespace-1685199989" class="accordion-body collapse in">
<div class="accordion-inner"> <div class="accordion-inner">
@ -3461,7 +3461,7 @@ listed to be cacnonical.</em></p>
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -59,7 +59,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -142,7 +142,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -59,7 +59,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -913,7 +913,7 @@
<h3> <h3>
<i class="icon-file"></i> <i class="icon-file"></i>
modules/parser-parsedown.php modules/parser-parsedown.php
<small style="float: right;padding-right: 10px;">3</small> <small style="float: right;padding-right: 10px;">5</small>
</h3> </h3>
<div> <div>
<table class="table markers table-bordered"> <table class="table markers table-bordered">
@ -932,13 +932,23 @@
</tr> </tr>
<tr> <tr>
<td>error</td> <td>error</td>
<td>149</td> <td>222</td>
<td>No summary for class \PeppermintParsedown</td> <td>No summary for class \PeppermintParsedown</td>
</tr> </tr>
<tr> <tr>
<td>error</td> <td>error</td>
<td>156</td> <td>229</td>
<td>No summary for method __construct()</td> <td>No summary for method __construct()</td>
</tr>
<tr>
<td>error</td>
<td>701</td>
<td>Argument $page_text is missing from the Docblock of extract_page_names</td>
</tr>
<tr>
<td>error</td>
<td>701</td>
<td>No summary for method extract_page_names()</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -1113,7 +1123,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -59,7 +59,7 @@
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="../reports/errors.html"> <a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">45</span> <i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">47</span>
</a> </a>
</li> </li>
<li> <li>
@ -121,12 +121,12 @@
</tr> </tr>
<tr> <tr>
<td>TODO</td> <td>TODO</td>
<td>376</td> <td>377</td>
<td>Make this moree clevererer :D</td> <td>Make this moree clevererer :D</td>
</tr> </tr>
<tr> <tr>
<td>TODO</td> <td>TODO</td>
<td>629</td> <td>630</td>
<td>Identify which platforms don&#039;t have it and whether we still need this</td> <td>Identify which platforms don&#039;t have it and whether we still need this</td>
</tr> </tr>
</table> </table>
@ -148,7 +148,7 @@
</tr> </tr>
<tr> <tr>
<td>TODO</td> <td>TODO</td>
<td>488</td> <td>491</td>
<td>Add an option to record the user&#039;s IP here instead </td> <td>Add an option to record the user&#039;s IP here instead </td>
</tr> </tr>
</table> </table>
@ -260,7 +260,7 @@
<section class="span10 offset1"> <section class="span10 offset1">
<hr /> <hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on April 22nd, 2018 at 14:56. on May 5th, 2018 at 20:53.
</section> </section>
</section> </section>
</section> </section>

View file

@ -8,7 +8,7 @@ define({
"apidoc": "0.3.0", "apidoc": "0.3.0",
"generator": { "generator": {
"name": "apidoc", "name": "apidoc",
"time": "2018-04-22T14:56:55.195Z", "time": "2018-05-05T20:53:47.285Z",
"url": "http://apidocjs.com", "url": "http://apidocjs.com",
"version": "0.17.6" "version": "0.17.6"
} }

View file

@ -8,7 +8,7 @@
"apidoc": "0.3.0", "apidoc": "0.3.0",
"generator": { "generator": {
"name": "apidoc", "name": "apidoc",
"time": "2018-04-22T14:56:55.195Z", "time": "2018-05-05T20:53:47.285Z",
"url": "http://apidocjs.com", "url": "http://apidocjs.com",
"version": "0.17.6" "version": "0.17.6"
} }