CINXE.COM

html.php - OpenGrok cross reference for /dokuwiki/inc/html.php

<!DOCTYPE html> <html lang="en" class="xref"> <head> <meta charset="UTF-8"> <meta name="robots" content="noindex,nofollow" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="generator" content="{OpenGrok 1.7.31 (6333fd74002ce5c6b4229b0c7460bd5acab9adec)" /> <meta name="theme-color" content="#ffffff"> <link rel="icon" href="/default/img/favicon.svg"> <link rel="mask-icon" href="/default/img/mask-icon.svg" color="#000000"> <link rel="apple-touch-icon" href="/default/img/apple-touch-icon.png"> <link rel="manifest" href="/manifest.json"> <link rel="preload" href="/default/font/SunSansRegular.woff2" as="font" type="font/woff2" crossorigin> <link rel="stylesheet" type="text/css" media="all" title="Default" href="/default/style-1.0.4.min.css" /> <link rel="alternate stylesheet" type="text/css" media="all" title="Paper White" href="/default/print-1.0.2.min.css" /> <link rel="stylesheet" type="text/css" href="/default/mandoc-1.0.0.min.css" media="all" /> <link rel="stylesheet" type="text/css" href="/default/print-1.0.2.min.css" media="print" /> <link rel="stylesheet" type="text/css" href="/default/jquery-ui-1.12.1-custom.min.css" /> <link rel="stylesheet" type="text/css" href="/default/jquery-ui-1.12.1-custom.structure.min.css" /> <link rel="stylesheet" type="text/css" href="/default/jquery-ui-1.12.1-custom.theme.min.css" /> <link rel="stylesheet" type="text/css" href="/default/jquery.tooltip.min.css" /> <link rel="stylesheet" type="text/css" href="/default/jquery.tablesorter.min.css" /> <link rel="stylesheet" type="text/css" href="/default/searchable-option-list-2.0.3.min.css" /> <link rel="search" href="/opensearch" type="application/opensearchdescription+xml" title="OpenGrok Search for current project(s)" /> <script type="text/javascript">/* <![CDATA[ */ window.contextPath = ''; document.xrefPath = '/xref'; document.pageReady = []; document.domReady = []; /* ]]> */ </script> <title>html.php - OpenGrok cross reference for /dokuwiki/inc/html.php</title></head><body> <script type="text/javascript">/* <![CDATA[ */ document.rev = function() { return getParameter("r"); }; document.annotate = false; document.domReady.push(function() { domReadyMast(); }); document.pageReady.push(function() { pageReadyMast(); }); /* ]]> */</script> <div id="page"> <header id="whole_header"> <div id="Masthead"> <a href="/xref/">xref</a>: /<a href="/xref/dokuwiki/">dokuwiki</a>/<a href="/xref/dokuwiki/inc/">inc</a>/<a href="/xref/dokuwiki/inc/html.php">html.php</a><span id="dtag"> </span> </div> <form action="/search"> <div id="bar"> <ul> <li><a href="/"><span id="home"></span>Home</a></li><li><span id="history"></span><span class="c">History</span></li><li><span class="c"><span class="annotate"></span>Annotate</span></li><li><a href="#" onclick="lntoggle();return false;" title="Show or hide line numbers (might be slower if file has more than 10 000 lines)."> <span id="line"></span>Line#</a></li> <li><a href="#" class="scopes-toggle" title="Show or hide scopes window."> <span id="scopes"></span>Scopes#</a></li> <li><a href="#" id="navigate" title="Show or hide symbol list."> <span id="defbox"></span>Navigate#</a></li><li><a href="/raw/dokuwiki/inc/html.php"><span id="raw"></span>Raw</a></li> <li><a href="/download/dokuwiki/inc/html.php"><span id="download"></span>Download</a></li> <li><input type="text" id="search" name="full" class="q" aria-label="Search"/></li> <li><input type="submit" value="Search" class="submit" /></li><li><label><input id="minisearch-path" type="checkbox" name="path" value='"/dokuwiki/inc/"' /> current directory</label></li> </ul><input id="minisearch-project" type="hidden" name="project" value="dokuwiki" /><input type="hidden" id="contextpath" value="" /> </div> </form> <script type="text/javascript">/* <![CDATA[ */ document.domReady.push(function() { domReadyMenu(true); }); /* ]]> */ </script> </header> <div id="content"> <script type="text/javascript">/* <![CDATA[ */ document.pageReady.push(function() { pageReadyList();}); /* ]]> */</script> <div id="src"> <pre><a class="l" name="1" href="#1">1</a><strong>&lt;?php</strong> <a class="l" name="2" href="#2">2</a> <a class="l" name="3" href="#3">3</a><span class="c">/**</span> <a class="l" name="4" href="#4">4</a><span class="c"> * HTML output functions</span> <a class="l" name="5" href="#5">5</a><span class="c"> *</span> <a class="l" name="6" href="#6">6</a><span class="c"> * <strong>@license</strong> GPL 2 (<a href="http://www.gnu.org/licenses/gpl.html)">http://www.gnu.org/licenses/gpl.html)</a></span> <a class="l" name="7" href="#7">7</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="8" href="#8">8</a><span class="c"> */</span> <a class="l" name="9" href="#9">9</a> <a class="hl" name="10" href="#10">10</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=MediaRevisions&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">MediaRevisions</a>; <a class="l" name="11" href="#11">11</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Form</a>\<a href="/s?defs=Form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Form</a>; <a class="l" name="12" href="#12">12</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Action&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Action</a>\<a href="/s?defs=Denied&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Denied</a>; <a class="l" name="13" href="#13">13</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Action&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Action</a>\<a href="/s?defs=Locked&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Locked</a>; <a class="l" name="14" href="#14">14</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=ChangeLog&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ChangeLog</a>\<a href="/s?defs=PageChangeLog&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageChangeLog</a>; <a class="l" name="15" href="#15">15</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Extension&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Extension</a>\<a href="/s?defs=AuthPlugin&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AuthPlugin</a>; <a class="l" name="16" href="#16">16</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Extension&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Extension</a>\<a href="/s?defs=Event&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Event</a>; <a class="l" name="17" href="#17">17</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=Backlinks&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Backlinks</a>; <a class="l" name="18" href="#18">18</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=Editor&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Editor</a>; <a class="l" name="19" href="#19">19</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=Index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>; <a class="hl" name="20" href="#20">20</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=Login&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Login</a>; <a class="l" name="21" href="#21">21</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=PageConflict&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageConflict</a>; <a class="l" name="22" href="#22">22</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=PageDiff&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDiff</a>; <a class="l" name="23" href="#23">23</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=PageDraft&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDraft</a>; <a class="l" name="24" href="#24">24</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=PageRevisions&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageRevisions</a>; <a class="l" name="25" href="#25">25</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=PageView&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageView</a>; <a class="l" name="26" href="#26">26</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=Recent&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Recent</a>; <a class="l" name="27" href="#27">27</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=UserProfile&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UserProfile</a>; <a class="l" name="28" href="#28">28</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=UserRegister&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UserRegister</a>; <a class="l" name="29" href="#29">29</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Ui&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Ui</a>\<a href="/s?defs=UserResendPwd&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UserResendPwd</a>; <a class="hl" name="30" href="#30">30</a><b>use</b> <a href="/s?defs=dokuwiki&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dokuwiki</a>\<a href="/s?defs=Utf8&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Utf8</a>\<a href="/s?defs=Clean&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Clean</a>; <a class="l" name="31" href="#31">31</a> <a class="l" name="32" href="#32">32</a><b>if</b> (!<a href="/s?defs=defined&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">defined</a>(<span class="s">&apos;SEC_EDIT_PATTERN&apos;</span>)) { <a class="l" name="33" href="#33">33</a> <a href="/s?defs=define&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">define</a>(<span class="s">&apos;SEC_EDIT_PATTERN&apos;</span>, <span class="s">&apos;#&lt;!-- EDIT({.*?}) --&gt;#&apos;</span>); <a class="l" name="34" href="#34">34</a>} <a class="l" name="35" href="#35">35</a> <a class="l" name="36" href="#36">36</a> <a class="l" name="37" href="#37">37</a><span class="c">/**</span> <a class="l" name="38" href="#38">38</a><span class="c"> * Convenience function to quickly build a wikilink</span> <a class="l" name="39" href="#39">39</a><span class="c"> *</span> <a class="hl" name="40" href="#40">40</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="41" href="#41">41</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a> id of the target page</span> <a class="l" name="42" href="#42">42</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a> the name of the link, i.e. the text that is displayed</span> <a class="l" name="43" href="#43">43</a><span class="c"> * <strong>@param</strong> <b>string</b>|<b>array</b> $<a href="/s?defs=search&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">search</a> search string(s) that shall be highlighted in the target page</span> <a class="l" name="44" href="#44">44</a><span class="c"> * <strong>@return</strong> <b>string</b> the HTML code of the link</span> <a class="l" name="45" href="#45">45</a><span class="c"> */</span> <a class="l" name="46" href="#46">46</a><b>function</b> <a href="/s?defs=html_wikilink&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_wikilink</a>($<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a>, $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>, $<a href="/s?defs=search&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">search</a> = <span class="s">&apos;&apos;</span>) <a class="l" name="47" href="#47">47</a>{ <a class="l" name="48" href="#48">48</a> <span class="c">/** <strong>@var</strong> <a href="/s?defs=Doku_Renderer_xhtml&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Doku_Renderer_xhtml</a> $xhtml_renderer */</span> <a class="l" name="49" href="#49">49</a> <b>static</b> $<a href="/s?defs=xhtml_renderer&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">xhtml_renderer</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>; <a class="hl" name="50" href="#50">50</a> <b>if</b> (<a href="/s?defs=is_null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">is_null</a>($<a href="/s?defs=xhtml_renderer&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">xhtml_renderer</a>)) { <a class="l" name="51" href="#51">51</a> $<a href="/s?defs=xhtml_renderer&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">xhtml_renderer</a> = <a href="/s?defs=p_get_renderer&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">p_get_renderer</a>(<span class="s">&apos;xhtml&apos;</span>); <a class="l" name="52" href="#52">52</a> } <a class="l" name="53" href="#53">53</a> <a class="l" name="54" href="#54">54</a> <b>return</b> $<a href="/s?defs=xhtml_renderer&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">xhtml_renderer</a>-&gt;<a href="/s?defs=internallink&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">internallink</a>($<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a>, $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>, $<a href="/s?defs=search&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">search</a>, <a href="/s?defs=true&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">true</a>, <span class="s">&apos;navigation&apos;</span>); <a class="l" name="55" href="#55">55</a>} <a class="l" name="56" href="#56">56</a> <a class="l" name="57" href="#57">57</a><span class="c">/**</span> <a class="l" name="58" href="#58">58</a><span class="c"> * The loginform</span> <a class="l" name="59" href="#59">59</a><span class="c"> *</span> <a class="hl" name="60" href="#60">60</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="61" href="#61">61</a><span class="c"> *</span> <a class="l" name="62" href="#62">62</a><span class="c"> * <strong>@param</strong> <b>bool</b> $<a href="/s?defs=svg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">svg</a> Whether to show svg icons in the register and resendpwd links or not</span> <a class="l" name="63" href="#63">63</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="64" href="#64">64</a><span class="c"> */</span> <a class="l" name="65" href="#65">65</a><b>function</b> <a href="/s?defs=html_login&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_login</a>($<a href="/s?defs=svg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">svg</a> = <a href="/s?defs=false&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">false</a>) <a class="l" name="66" href="#66">66</a>{ <a class="l" name="67" href="#67">67</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Login&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Login</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="68" href="#68">68</a> (<b>new</b> <a href="/s?defs=Login&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Login</a>($<a href="/s?defs=svg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">svg</a>))-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="69" href="#69">69</a>} <a class="hl" name="70" href="#70">70</a> <a class="l" name="71" href="#71">71</a> <a class="l" name="72" href="#72">72</a><span class="c">/**</span> <a class="l" name="73" href="#73">73</a><span class="c"> * Denied page content</span> <a class="l" name="74" href="#74">74</a><span class="c"> *</span> <a class="l" name="75" href="#75">75</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18 not called anymore, see <a href="/s?path=inc/&amp;project=dokuwiki">inc</a>/<a href="/s?path=inc/Action/&amp;project=dokuwiki">Action</a>/<a href="/s?path=inc/Action/Denied&amp;project=dokuwiki">Denied</a>::tplContent()</span> <a class="l" name="76" href="#76">76</a><span class="c"> */</span> <a class="l" name="77" href="#77">77</a><b>function</b> <a href="/s?defs=html_denied&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_denied</a>() <a class="l" name="78" href="#78">78</a>{ <a class="l" name="79" href="#79">79</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Denied&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Denied</a>::<b>class</b> . <span class="s">&apos;::showBanner()&apos;</span>); <a class="hl" name="80" href="#80">80</a> (<b>new</b> <a href="/s?defs=Denied&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Denied</a>())-&gt;<a href="/s?defs=showBanner&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">showBanner</a>(); <a class="l" name="81" href="#81">81</a>} <a class="l" name="82" href="#82">82</a> <a class="l" name="83" href="#83">83</a><span class="c">/**</span> <a class="l" name="84" href="#84">84</a><span class="c"> * inserts section edit buttons if wanted or removes the markers</span> <a class="l" name="85" href="#85">85</a><span class="c"> *</span> <a class="l" name="86" href="#86">86</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="87" href="#87">87</a><span class="c"> *</span> <a class="l" name="88" href="#88">88</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a></span> <a class="l" name="89" href="#89">89</a><span class="c"> * <strong>@param</strong> <b>bool</b> $<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a> show section edit buttons?</span> <a class="hl" name="90" href="#90">90</a><span class="c"> * <strong>@return</strong> <b>string</b></span> <a class="l" name="91" href="#91">91</a><span class="c"> */</span> <a class="l" name="92" href="#92">92</a><b>function</b> <a href="/s?defs=html_secedit&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_secedit</a>($<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a>, $<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a> = <a href="/s?defs=true&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">true</a>) <a class="l" name="93" href="#93">93</a>{ <a class="l" name="94" href="#94">94</a> <b>global</b> $<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>; <a class="l" name="95" href="#95">95</a> <a class="l" name="96" href="#96">96</a> <b>if</b> ((<b>isset</b>($<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>) &amp;&amp; !$<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>[<span class="s">&apos;writable&apos;</span>]) || !$<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a> || (<b>isset</b>($<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>) &amp;&amp; $<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>[<span class="s">&apos;rev&apos;</span>])) { <a class="l" name="97" href="#97">97</a> <b>return</b> <a href="/s?defs=preg_replace&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">preg_replace</a>(<a href="/s?defs=SEC_EDIT_PATTERN&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SEC_EDIT_PATTERN</a>, <span class="s">&apos;&apos;</span>, $<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a>); <a class="l" name="98" href="#98">98</a> } <a class="l" name="99" href="#99">99</a> <a class="hl" name="100" href="#100">100</a> <b>return</b> <a href="/s?defs=preg_replace_callback&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">preg_replace_callback</a>( <a class="l" name="101" href="#101">101</a> <a href="/s?defs=SEC_EDIT_PATTERN&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">SEC_EDIT_PATTERN</a>, <a class="l" name="102" href="#102">102</a> <span class="s">&apos;html_secedit_button&apos;</span>, <a class="l" name="103" href="#103">103</a> $<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a> <a class="l" name="104" href="#104">104</a> ); <a class="l" name="105" href="#105">105</a>} <a class="l" name="106" href="#106">106</a> <a class="l" name="107" href="#107">107</a><span class="c">/**</span> <a class="l" name="108" href="#108">108</a><span class="c"> * prepares section edit button data for event triggering</span> <a class="l" name="109" href="#109">109</a><span class="c"> * used as a callback in html_secedit</span> <a class="hl" name="110" href="#110">110</a><span class="c"> *</span> <a class="l" name="111" href="#111">111</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="112" href="#112">112</a><span class="c"> *</span> <a class="l" name="113" href="#113">113</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=matches&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">matches</a> matches with regexp</span> <a class="l" name="114" href="#114">114</a><span class="c"> * <strong>@return</strong> <b>string</b></span> <a class="l" name="115" href="#115">115</a><span class="c"> * <strong>@triggers</strong> HTML_SECEDIT_BUTTON</span> <a class="l" name="116" href="#116">116</a><span class="c"> */</span> <a class="l" name="117" href="#117">117</a><b>function</b> <a href="/s?defs=html_secedit_button&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_secedit_button</a>($<a href="/s?defs=matches&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">matches</a>) <a class="l" name="118" href="#118">118</a>{ <a class="l" name="119" href="#119">119</a> $<a href="/s?defs=json&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">json</a> = <a href="/s?defs=htmlspecialchars_decode&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">htmlspecialchars_decode</a>($<a href="/s?defs=matches&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">matches</a>[<span class="n">1</span>], <a href="/s?defs=ENT_QUOTES&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ENT_QUOTES</a>); <a class="hl" name="120" href="#120">120</a> <a class="l" name="121" href="#121">121</a> <b>try</b> { <a class="l" name="122" href="#122">122</a> $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a> = <a href="/s?defs=json_decode&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">json_decode</a>($<a href="/s?defs=json&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">json</a>, <a href="/s?defs=true&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">true</a>, <span class="n">512</span>, <a href="/s?defs=JSON_THROW_ON_ERROR&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">JSON_THROW_ON_ERROR</a>); <a class="l" name="123" href="#123">123</a> } <b>catch</b> (<a href="/s?defs=JsonException&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">JsonException</a> $<a href="/s?defs=e&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">e</a>) { <a class="l" name="124" href="#124">124</a> <b>return</b> <span class="s">&apos;&apos;</span>; <a class="l" name="125" href="#125">125</a> } <a class="l" name="126" href="#126">126</a> $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;target&apos;</span>] = <a href="/s?defs=strtolower&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">strtolower</a>($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;target&apos;</span>]); <a class="l" name="127" href="#127">127</a> $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;hid&apos;</span>] = <a href="/s?defs=strtolower&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">strtolower</a>($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;hid&apos;</span>] ?? <span class="s">&apos;&apos;</span>); <a class="l" name="128" href="#128">128</a> <a class="l" name="129" href="#129">129</a> <b>return</b> <a href="/s?defs=Event&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Event</a>::<a href="/s?defs=createAndTrigger&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">createAndTrigger</a>( <a class="hl" name="130" href="#130">130</a> <span class="s">&apos;HTML_SECEDIT_BUTTON&apos;</span>, <a class="l" name="131" href="#131">131</a> $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>, <a class="l" name="132" href="#132">132</a> <span class="s">&apos;html_secedit_get_button&apos;</span> <a class="l" name="133" href="#133">133</a> ); <a class="l" name="134" href="#134">134</a>} <a class="l" name="135" href="#135">135</a> <a class="l" name="136" href="#136">136</a><span class="c">/**</span> <a class="l" name="137" href="#137">137</a><span class="c"> * prints a section editing button</span> <a class="l" name="138" href="#138">138</a><span class="c"> * used as default action form HTML_SECEDIT_BUTTON</span> <a class="l" name="139" href="#139">139</a><span class="c"> *</span> <a class="hl" name="140" href="#140">140</a><span class="c"> * <strong>@author</strong> Adrian Lang &lt;lang@cosmocode.de&gt;</span> <a class="l" name="141" href="#141">141</a><span class="c"> *</span> <a class="l" name="142" href="#142">142</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a> name, section id and target</span> <a class="l" name="143" href="#143">143</a><span class="c"> * <strong>@return</strong> <b>string</b> html</span> <a class="l" name="144" href="#144">144</a><span class="c"> */</span> <a class="l" name="145" href="#145">145</a><b>function</b> <a href="/s?defs=html_secedit_get_button&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_secedit_get_button</a>($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>) <a class="l" name="146" href="#146">146</a>{ <a class="l" name="147" href="#147">147</a> <b>global</b> $<a href="/s?defs=ID&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ID</a>; <a class="l" name="148" href="#148">148</a> <b>global</b> $<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>; <a class="l" name="149" href="#149">149</a> <a class="hl" name="150" href="#150">150</a> <b>if</b> (!<b>isset</b>($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;name&apos;</span>]) || $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;name&apos;</span>] === <span class="s">&apos;&apos;</span>) <b>return</b> <span class="s">&apos;&apos;</span>; <a class="l" name="151" href="#151">151</a> <a class="l" name="152" href="#152">152</a> $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a> = $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;name&apos;</span>]; <a class="l" name="153" href="#153">153</a> <b>unset</b>($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;name&apos;</span>]); <a class="l" name="154" href="#154">154</a> <a class="l" name="155" href="#155">155</a> $<a href="/s?defs=secid&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">secid</a> = $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;secid&apos;</span>]; <a class="l" name="156" href="#156">156</a> <b>unset</b>($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;secid&apos;</span>]); <a class="l" name="157" href="#157">157</a> <a class="l" name="158" href="#158">158</a> $<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a> = <a href="/s?defs=array_merge&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">array_merge</a>( <a class="l" name="159" href="#159">159</a> [<span class="s">&apos;do&apos;</span> =&gt; <span class="s">&apos;edit&apos;</span>, <span class="s">&apos;rev&apos;</span> =&gt; $<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>[<span class="s">&apos;lastmod&apos;</span>], <span class="s">&apos;summary&apos;</span> =&gt; <span class="s">&apos;[&apos;</span> . $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a> . <span class="s">&apos;] &apos;</span>], <a class="hl" name="160" href="#160">160</a> $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a> <a class="l" name="161" href="#161">161</a> ); <a class="l" name="162" href="#162">162</a> <a class="l" name="163" href="#163">163</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> = <span class="s">&apos;&lt;div class=&quot;secedit editbutton_&apos;</span> . $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>[<span class="s">&apos;target&apos;</span>] . <span class="s">&apos; editbutton_&apos;</span> . $<a href="/s?defs=secid&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">secid</a> . <span class="s">&apos;&quot;&gt;&apos;</span>; <a class="l" name="164" href="#164">164</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <a href="/s?defs=html_btn&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_btn</a>(<span class="s">&apos;secedit&apos;</span>, $<a href="/s?defs=ID&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ID</a>, <span class="s">&apos;&apos;</span>, $<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a>, <span class="s">&apos;post&apos;</span>, $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>); <a class="l" name="165" href="#165">165</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;/div&gt;&apos;</span>; <a class="l" name="166" href="#166">166</a> <b>return</b> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a>; <a class="l" name="167" href="#167">167</a>} <a class="l" name="168" href="#168">168</a> <a class="l" name="169" href="#169">169</a><span class="c">/**</span> <a class="hl" name="170" href="#170">170</a><span class="c"> * Just the back to top button (in its own form)</span> <a class="l" name="171" href="#171">171</a><span class="c"> *</span> <a class="l" name="172" href="#172">172</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="173" href="#173">173</a><span class="c"> *</span> <a class="l" name="174" href="#174">174</a><span class="c"> * <strong>@return</strong> <b>string</b> html</span> <a class="l" name="175" href="#175">175</a><span class="c"> */</span> <a class="l" name="176" href="#176">176</a><b>function</b> <a href="/s?defs=html_topbtn&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_topbtn</a>() <a class="l" name="177" href="#177">177</a>{ <a class="l" name="178" href="#178">178</a> <b>global</b> $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>; <a class="l" name="179" href="#179">179</a> <a class="hl" name="180" href="#180">180</a> <b>return</b> <span class="s">&apos;&lt;a class=&quot;nolink&quot; href=&quot;#dokuwiki__top&quot;&gt;&apos;</span> <a class="l" name="181" href="#181">181</a> . <span class="s">&apos;&lt;button class=&quot;button&quot; onclick=&quot;window.scrollTo(0, 0)&quot; title=&quot;&apos;</span> . $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>[<span class="s">&apos;btn_top&apos;</span>] . <span class="s">&apos;&quot;&gt;&apos;</span> <a class="l" name="182" href="#182">182</a> . $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>[<span class="s">&apos;btn_top&apos;</span>] <a class="l" name="183" href="#183">183</a> . <span class="s">&apos;&lt;/button&gt;&lt;/a&gt;&apos;</span>; <a class="l" name="184" href="#184">184</a>} <a class="l" name="185" href="#185">185</a> <a class="l" name="186" href="#186">186</a><span class="c">/**</span> <a class="l" name="187" href="#187">187</a><span class="c"> * Displays a button (using its own form)</span> <a class="l" name="188" href="#188">188</a><span class="c"> * If tooltip exists, the access key tooltip is replaced.</span> <a class="l" name="189" href="#189">189</a><span class="c"> *</span> <a class="hl" name="190" href="#190">190</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="191" href="#191">191</a><span class="c"> *</span> <a class="l" name="192" href="#192">192</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a></span> <a class="l" name="193" href="#193">193</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a></span> <a class="l" name="194" href="#194">194</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=akey&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">akey</a> access key</span> <a class="l" name="195" href="#195">195</a><span class="c"> * <strong>@param</strong> <b>string</b>[]<a href="/s?defs=&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file"></a> $<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a> key-value pairs added as hidden inputs</span> <a class="l" name="196" href="#196">196</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=method&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">method</a></span> <a class="l" name="197" href="#197">197</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=tooltip&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tooltip</a></span> <a class="l" name="198" href="#198">198</a><span class="c"> * <strong>@param</strong> <b>bool</b>|<b>string</b> $<a href="/s?defs=label&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">label</a> label text, false: lookup btn_$name in localization</span> <a class="l" name="199" href="#199">199</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=svg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">svg</a> (optional) svg code, inserted into the button</span> <a class="hl" name="200" href="#200">200</a><span class="c"> * <strong>@return</strong> <b>string</b></span> <a class="l" name="201" href="#201">201</a><span class="c"> */</span> <a class="l" name="202" href="#202">202</a><b>function</b> <a href="/s?defs=html_btn&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_btn</a>($<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>, $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a>, $<a href="/s?defs=akey&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">akey</a>, $<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a>, $<a href="/s?defs=method&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">method</a> = <span class="s">&apos;get&apos;</span>, $<a href="/s?defs=tooltip&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tooltip</a> = <span class="s">&apos;&apos;</span>, $<a href="/s?defs=label&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">label</a> = <a href="/s?defs=false&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">false</a>, $<a href="/s?defs=svg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">svg</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>) <a class="l" name="203" href="#203">203</a>{ <a class="l" name="204" href="#204">204</a> <b>global</b> $<a href="/s?defs=conf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">conf</a>; <a class="l" name="205" href="#205">205</a> <b>global</b> $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>; <a class="l" name="206" href="#206">206</a> <a class="l" name="207" href="#207">207</a> <b>if</b> (!$<a href="/s?defs=label&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">label</a>) <a class="l" name="208" href="#208">208</a> $<a href="/s?defs=label&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">label</a> = $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>[<span class="s">&apos;btn_&apos;</span> . $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>]; <a class="l" name="209" href="#209">209</a> <a class="hl" name="210" href="#210">210</a> <span class="c">//filter id (without urlencoding)</span> <a class="l" name="211" href="#211">211</a> $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a> = <a href="/s?defs=idfilter&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">idfilter</a>($<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a>, <a href="/s?defs=false&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">false</a>); <a class="l" name="212" href="#212">212</a> <a class="l" name="213" href="#213">213</a> <span class="c">//make nice URLs even for buttons</span> <a class="l" name="214" href="#214">214</a> <b>if</b> ($<a href="/s?defs=conf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">conf</a>[<span class="s">&apos;userewrite&apos;</span>] == <span class="n">2</span>) { <a class="l" name="215" href="#215">215</a> $<a href="/s?defs=script&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">script</a> = <a href="/s?defs=DOKU_BASE&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_BASE</a> . <a href="/s?defs=DOKU_SCRIPT&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_SCRIPT</a> . <span class="s">&apos;/&apos;</span> . $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a>; <a class="l" name="216" href="#216">216</a> } <b>elseif</b> ($<a href="/s?defs=conf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">conf</a>[<span class="s">&apos;userewrite&apos;</span>]) { <a class="l" name="217" href="#217">217</a> $<a href="/s?defs=script&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">script</a> = <a href="/s?defs=DOKU_BASE&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_BASE</a> . $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a>; <a class="l" name="218" href="#218">218</a> } <b>else</b> { <a class="l" name="219" href="#219">219</a> $<a href="/s?defs=script&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">script</a> = <a href="/s?defs=DOKU_BASE&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_BASE</a> . <a href="/s?defs=DOKU_SCRIPT&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_SCRIPT</a>; <a class="hl" name="220" href="#220">220</a> $<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a>[<span class="s">&apos;id&apos;</span>] = $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a>; <a class="l" name="221" href="#221">221</a> } <a class="l" name="222" href="#222">222</a> <a class="l" name="223" href="#223">223</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> = <span class="s">&apos;&lt;form class=&quot;button btn_&apos;</span> . $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a> . <span class="s">&apos;&quot; method=&quot;&apos;</span> . $<a href="/s?defs=method&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">method</a> . <span class="s">&apos;&quot; action=&quot;&apos;</span> . $<a href="/s?defs=script&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">script</a> . <span class="s">&apos;&quot;&gt;&lt;div class=&quot;no&quot;&gt;&apos;</span>; <a class="l" name="224" href="#224">224</a> <a class="l" name="225" href="#225">225</a> <b>if</b> (<a href="/s?defs=is_array&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">is_array</a>($<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a>)) { <a class="l" name="226" href="#226">226</a> <b>foreach</b> ($<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a> <b>as</b> $<a href="/s?defs=key&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">key</a> =&gt; $<a href="/s?defs=val&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">val</a>) { <a class="l" name="227" href="#227">227</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;input type=&quot;hidden&quot; name=&quot;&apos;</span> . $<a href="/s?defs=key&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">key</a> . <span class="s">&apos;&quot; value=&quot;&apos;</span> . <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=val&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">val</a>) . <span class="s">&apos;&quot; /&gt;&apos;</span>; <a class="l" name="228" href="#228">228</a> } <a class="l" name="229" href="#229">229</a> } <a class="hl" name="230" href="#230">230</a> <a class="l" name="231" href="#231">231</a> $<a href="/s?defs=tip&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tip</a> = <b>empty</b>($<a href="/s?defs=tooltip&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tooltip</a>) ? <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=label&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">label</a>) : <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=tooltip&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tooltip</a>); <a class="l" name="232" href="#232">232</a> <a class="l" name="233" href="#233">233</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;button type=&quot;submit&quot; &apos;</span>; <a class="l" name="234" href="#234">234</a> <b>if</b> ($<a href="/s?defs=akey&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">akey</a>) { <a class="l" name="235" href="#235">235</a> $<a href="/s?defs=tip&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tip</a> .= <span class="s">&apos; [&apos;</span> . <a href="/s?defs=strtoupper&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">strtoupper</a>($<a href="/s?defs=akey&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">akey</a>) . <span class="s">&apos;]&apos;</span>; <a class="l" name="236" href="#236">236</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;accesskey=&quot;&apos;</span> . $<a href="/s?defs=akey&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">akey</a> . <span class="s">&apos;&quot; &apos;</span>; <a class="l" name="237" href="#237">237</a> } <a class="l" name="238" href="#238">238</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;title=&quot;&apos;</span> . $<a href="/s?defs=tip&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tip</a> . <span class="s">&apos;&quot;&gt;&apos;</span>; <a class="l" name="239" href="#239">239</a> <b>if</b> ($<a href="/s?defs=svg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">svg</a>) { <a class="hl" name="240" href="#240">240</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;span&gt;&apos;</span> . <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=label&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">label</a>) . <span class="s">&apos;&lt;/span&gt;&apos;</span> . <a href="/s?defs=inlineSVG&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">inlineSVG</a>($<a href="/s?defs=svg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">svg</a>); <a class="l" name="241" href="#241">241</a> } <b>else</b> { <a class="l" name="242" href="#242">242</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=label&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">label</a>); <a class="l" name="243" href="#243">243</a> } <a class="l" name="244" href="#244">244</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;/button&gt;&apos;</span>; <a class="l" name="245" href="#245">245</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;/div&gt;&lt;/form&gt;&apos;</span>; <a class="l" name="246" href="#246">246</a> <a class="l" name="247" href="#247">247</a> <b>return</b> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a>; <a class="l" name="248" href="#248">248</a>} <a class="l" name="249" href="#249">249</a><span class="c">/**</span> <a class="hl" name="250" href="#250">250</a><span class="c"> * show a revision warning</span> <a class="l" name="251" href="#251">251</a><span class="c"> *</span> <a class="l" name="252" href="#252">252</a><span class="c"> * <strong>@author</strong> Szymon Olewniczak &lt;dokuwiki@imz.re&gt;</span> <a class="l" name="253" href="#253">253</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="254" href="#254">254</a><span class="c"> */</span> <a class="l" name="255" href="#255">255</a><b>function</b> <a href="/s?defs=html_showrev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_showrev</a>() <a class="l" name="256" href="#256">256</a>{ <a class="l" name="257" href="#257">257</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=PageView&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageView</a>::<b>class</b> . <span class="s">&apos;::showrev()&apos;</span>); <a class="l" name="258" href="#258">258</a>} <a class="l" name="259" href="#259">259</a> <a class="hl" name="260" href="#260">260</a><span class="c">/**</span> <a class="l" name="261" href="#261">261</a><span class="c"> * Show a wiki page</span> <a class="l" name="262" href="#262">262</a><span class="c"> *</span> <a class="l" name="263" href="#263">263</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="264" href="#264">264</a><span class="c"> *</span> <a class="l" name="265" href="#265">265</a><span class="c"> * <strong>@param</strong> <b>null</b>|<b>string</b> $<a href="/s?defs=txt&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">txt</a> wiki text or null for showing $ID</span> <a class="l" name="266" href="#266">266</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="267" href="#267">267</a><span class="c"> */</span> <a class="l" name="268" href="#268">268</a><b>function</b> <a href="/s?defs=html_show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_show</a>($<a href="/s?defs=txt&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">txt</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>) <a class="l" name="269" href="#269">269</a>{ <a class="hl" name="270" href="#270">270</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=PageView&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageView</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="271" href="#271">271</a> (<b>new</b> <a href="/s?defs=PageView&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageView</a>($<a href="/s?defs=txt&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">txt</a>))-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="272" href="#272">272</a>} <a class="l" name="273" href="#273">273</a> <a class="l" name="274" href="#274">274</a><span class="c">/**</span> <a class="l" name="275" href="#275">275</a><span class="c"> * ask the user about how to handle an exisiting draft</span> <a class="l" name="276" href="#276">276</a><span class="c"> *</span> <a class="l" name="277" href="#277">277</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="278" href="#278">278</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="279" href="#279">279</a><span class="c"> */</span> <a class="hl" name="280" href="#280">280</a><b>function</b> <a href="/s?defs=html_draft&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_draft</a>() <a class="l" name="281" href="#281">281</a>{ <a class="l" name="282" href="#282">282</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=PageDraft&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDraft</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="283" href="#283">283</a> (<b>new</b> <a href="/s?defs=PageDraft&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDraft</a>())-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="284" href="#284">284</a>} <a class="l" name="285" href="#285">285</a> <a class="l" name="286" href="#286">286</a><span class="c">/**</span> <a class="l" name="287" href="#287">287</a><span class="c"> * Highlights searchqueries in HTML code</span> <a class="l" name="288" href="#288">288</a><span class="c"> *</span> <a class="l" name="289" href="#289">289</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="hl" name="290" href="#290">290</a><span class="c"> * <strong>@author</strong> Harry Fuecks &lt;hfuecks@gmail.com&gt;</span> <a class="l" name="291" href="#291">291</a><span class="c"> *</span> <a class="l" name="292" href="#292">292</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a></span> <a class="l" name="293" href="#293">293</a><span class="c"> * <strong>@param</strong> <b>array</b>|<b>string</b> $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a></span> <a class="l" name="294" href="#294">294</a><span class="c"> * <strong>@return</strong> <b>string</b> html</span> <a class="l" name="295" href="#295">295</a><span class="c"> */</span> <a class="l" name="296" href="#296">296</a><b>function</b> <a href="/s?defs=html_hilight&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_hilight</a>($<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a>, $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a>) <a class="l" name="297" href="#297">297</a>{ <a class="l" name="298" href="#298">298</a> $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a> = (<em>array</em>) $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a>; <a class="l" name="299" href="#299">299</a> $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a> = <a href="/s?defs=array_map&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">array_map</a>(<span class="s">&apos;preg_quote_cb&apos;</span>, $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a>); <a class="hl" name="300" href="#300">300</a> $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a> = <a href="/s?defs=array_map&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">array_map</a>(<span class="s">&apos;ft_snippet_re_preprocess&apos;</span>, $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a>); <a class="l" name="301" href="#301">301</a> $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a> = <a href="/s?defs=array_filter&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">array_filter</a>($<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a>); <a class="l" name="302" href="#302">302</a> <a class="l" name="303" href="#303">303</a> $<a href="/s?defs=regex&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">regex</a> = <a href="/s?defs=implode&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">implode</a>(<span class="s">&apos;|&apos;</span>, $<a href="/s?defs=phrases&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phrases</a>); <a class="l" name="304" href="#304">304</a> <a class="l" name="305" href="#305">305</a> <b>if</b> ($<a href="/s?defs=regex&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">regex</a> === <span class="s">&apos;&apos;</span>) <b>return</b> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a>; <a class="l" name="306" href="#306">306</a> <b>if</b> (!<a href="/s?defs=Clean&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Clean</a>::<a href="/s?defs=isUtf8&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">isUtf8</a>($<a href="/s?defs=regex&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">regex</a>)) <b>return</b> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a>; <a class="l" name="307" href="#307">307</a> <a class="l" name="308" href="#308">308</a> <b>return</b> @<a href="/s?defs=preg_replace_callback&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">preg_replace_callback</a>(<span class="s">&quot;/((&lt;[^&gt;]*)|</span>$<a href="/s?defs=regex&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">regex</a><span class="s">)/ui&quot;</span>, <b>function</b> ($<a href="/s?defs=match&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">match</a>) { <a class="l" name="309" href="#309">309</a> $<a href="/s?defs=hlight&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hlight</a> = <a href="/s?defs=unslash&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">unslash</a>($<a href="/s?defs=match&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">match</a>[<span class="n">0</span>]); <a class="hl" name="310" href="#310">310</a> <b>if</b> (!<b>isset</b>($<a href="/s?defs=match&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">match</a>[<span class="n">2</span>])) { <a class="l" name="311" href="#311">311</a> $<a href="/s?defs=hlight&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hlight</a> = <span class="s">&apos;&lt;span class=&quot;search_hit&quot;&gt;&apos;</span> . $<a href="/s?defs=hlight&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hlight</a> . <span class="s">&apos;&lt;/span&gt;&apos;</span>; <a class="l" name="312" href="#312">312</a> } <a class="l" name="313" href="#313">313</a> <b>return</b> $<a href="/s?defs=hlight&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hlight</a>; <a class="l" name="314" href="#314">314</a> }, $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a>); <a class="l" name="315" href="#315">315</a>} <a class="l" name="316" href="#316">316</a> <a class="l" name="317" href="#317">317</a><span class="c">/**</span> <a class="l" name="318" href="#318">318</a><span class="c"> * Display error on locked pages</span> <a class="l" name="319" href="#319">319</a><span class="c"> *</span> <a class="hl" name="320" href="#320">320</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="321" href="#321">321</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18 not called anymore, see <a href="/s?path=inc/&amp;project=dokuwiki">inc</a>/<a href="/s?path=inc/Action/&amp;project=dokuwiki">Action</a>/<a href="/s?path=inc/Action/Locked&amp;project=dokuwiki">Locked</a>::tplContent()</span> <a class="l" name="322" href="#322">322</a><span class="c"> */</span> <a class="l" name="323" href="#323">323</a><b>function</b> <a href="/s?defs=html_locked&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_locked</a>() <a class="l" name="324" href="#324">324</a>{ <a class="l" name="325" href="#325">325</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Locked&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Locked</a>::<b>class</b> . <span class="s">&apos;::showBanner()&apos;</span>); <a class="l" name="326" href="#326">326</a> (<b>new</b> <a href="/s?defs=Locked&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Locked</a>())-&gt;<a href="/s?defs=showBanner&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">showBanner</a>(); <a class="l" name="327" href="#327">327</a>} <a class="l" name="328" href="#328">328</a> <a class="l" name="329" href="#329">329</a><span class="c">/**</span> <a class="hl" name="330" href="#330">330</a><span class="c"> * list old revisions</span> <a class="l" name="331" href="#331">331</a><span class="c"> *</span> <a class="l" name="332" href="#332">332</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="333" href="#333">333</a><span class="c"> * <strong>@author</strong> Ben Coburn &lt;btcoburn@silicodon.net&gt;</span> <a class="l" name="334" href="#334">334</a><span class="c"> * <strong>@author</strong> Kate Arzamastseva &lt;pshns@ukr.net&gt;</span> <a class="l" name="335" href="#335">335</a><span class="c"> *</span> <a class="l" name="336" href="#336">336</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=first&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">first</a> skip the first n changelog lines</span> <a class="l" name="337" href="#337">337</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=media_id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">media_id</a> id of media, or empty for current page</span> <a class="l" name="338" href="#338">338</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="339" href="#339">339</a><span class="c"> */</span> <a class="hl" name="340" href="#340">340</a><b>function</b> <a href="/s?defs=html_revisions&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_revisions</a>($<a href="/s?defs=first&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">first</a> = <span class="n">-1</span>, $<a href="/s?defs=media_id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">media_id</a> = <span class="s">&apos;&apos;</span>) <a class="l" name="341" href="#341">341</a>{ <a class="l" name="342" href="#342">342</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=PageRevisions&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageRevisions</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="343" href="#343">343</a> <b>if</b> ($<a href="/s?defs=media_id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">media_id</a>) { <a class="l" name="344" href="#344">344</a> (<b>new</b> <a href="/s?defs=MediaRevisions&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">MediaRevisions</a>($<a href="/s?defs=media_id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">media_id</a>))-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>($<a href="/s?defs=first&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">first</a>); <a class="l" name="345" href="#345">345</a> } <b>else</b> { <a class="l" name="346" href="#346">346</a> <b>global</b> $<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>; <a class="l" name="347" href="#347">347</a> (<b>new</b> <a href="/s?defs=PageRevisions&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageRevisions</a>($<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>[<span class="s">&apos;id&apos;</span>]))-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>($<a href="/s?defs=first&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">first</a>); <a class="l" name="348" href="#348">348</a> } <a class="l" name="349" href="#349">349</a>} <a class="hl" name="350" href="#350">350</a> <a class="l" name="351" href="#351">351</a><span class="c">/**</span> <a class="l" name="352" href="#352">352</a><span class="c"> * display recent changes</span> <a class="l" name="353" href="#353">353</a><span class="c"> *</span> <a class="l" name="354" href="#354">354</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="355" href="#355">355</a><span class="c"> * <strong>@author</strong> Matthias Grimm &lt;matthiasgrimm@users.sourceforge.net&gt;</span> <a class="l" name="356" href="#356">356</a><span class="c"> * <strong>@author</strong> Ben Coburn &lt;btcoburn@silicodon.net&gt;</span> <a class="l" name="357" href="#357">357</a><span class="c"> * <strong>@author</strong> Kate Arzamastseva &lt;pshns@ukr.net&gt;</span> <a class="l" name="358" href="#358">358</a><span class="c"> *</span> <a class="l" name="359" href="#359">359</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=first&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">first</a></span> <a class="hl" name="360" href="#360">360</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=show_changes&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show_changes</a></span> <a class="l" name="361" href="#361">361</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="362" href="#362">362</a><span class="c"> */</span> <a class="l" name="363" href="#363">363</a><b>function</b> <a href="/s?defs=html_recent&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_recent</a>($<a href="/s?defs=first&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">first</a> = <span class="n">0</span>, $<a href="/s?defs=show_changes&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show_changes</a> = <span class="s">&apos;both&apos;</span>) <a class="l" name="364" href="#364">364</a>{ <a class="l" name="365" href="#365">365</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Recent&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Recent</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="366" href="#366">366</a> (<b>new</b> <a href="/s?defs=Recent&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Recent</a>($<a href="/s?defs=first&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">first</a>, $<a href="/s?defs=show_changes&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show_changes</a>))-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="367" href="#367">367</a>} <a class="l" name="368" href="#368">368</a> <a class="l" name="369" href="#369">369</a><span class="c">/**</span> <a class="hl" name="370" href="#370">370</a><span class="c"> * Display page index</span> <a class="l" name="371" href="#371">371</a><span class="c"> *</span> <a class="l" name="372" href="#372">372</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="373" href="#373">373</a><span class="c"> *</span> <a class="l" name="374" href="#374">374</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=ns&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ns</a></span> <a class="l" name="375" href="#375">375</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="376" href="#376">376</a><span class="c"> */</span> <a class="l" name="377" href="#377">377</a><b>function</b> <a href="/s?defs=html_index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_index</a>($<a href="/s?defs=ns&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ns</a>) <a class="l" name="378" href="#378">378</a>{ <a class="l" name="379" href="#379">379</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="hl" name="380" href="#380">380</a> (<b>new</b> <a href="/s?defs=Index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>($<a href="/s?defs=ns&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ns</a>))-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="381" href="#381">381</a>} <a class="l" name="382" href="#382">382</a> <a class="l" name="383" href="#383">383</a><span class="c">/**</span> <a class="l" name="384" href="#384">384</a><span class="c"> * Index tree item formatter for html_buildlist()</span> <a class="l" name="385" href="#385">385</a><span class="c"> *</span> <a class="l" name="386" href="#386">386</a><span class="c"> * User function for html_buildlist()</span> <a class="l" name="387" href="#387">387</a><span class="c"> *</span> <a class="l" name="388" href="#388">388</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="389" href="#389">389</a><span class="c"> *</span> <a class="hl" name="390" href="#390">390</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a></span> <a class="l" name="391" href="#391">391</a><span class="c"> * <strong>@return</strong> <b>string</b></span> <a class="l" name="392" href="#392">392</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="393" href="#393">393</a><span class="c"> */</span> <a class="l" name="394" href="#394">394</a><b>function</b> <a href="/s?defs=html_list_index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_list_index</a>($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>) <a class="l" name="395" href="#395">395</a>{ <a class="l" name="396" href="#396">396</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>::<b>class</b> . <span class="s">&apos;::formatListItem()&apos;</span>); <a class="l" name="397" href="#397">397</a> <b>return</b> (<b>new</b> <a href="/s?defs=Index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>())-&gt;<a href="/s?defs=formatListItem&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">formatListItem</a>($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>); <a class="l" name="398" href="#398">398</a>} <a class="l" name="399" href="#399">399</a> <a class="hl" name="400" href="#400">400</a><span class="c">/**</span> <a class="l" name="401" href="#401">401</a><span class="c"> * Index list item formatter for html_buildlist()</span> <a class="l" name="402" href="#402">402</a><span class="c"> *</span> <a class="l" name="403" href="#403">403</a><span class="c"> * This user function is used in html_buildlist to build the</span> <a class="l" name="404" href="#404">404</a><span class="c"> * &lt;li&gt; tags for namespaces when displaying the page index</span> <a class="l" name="405" href="#405">405</a><span class="c"> * it gives different classes to opened or closed &quot;folders&quot;</span> <a class="l" name="406" href="#406">406</a><span class="c"> *</span> <a class="l" name="407" href="#407">407</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="408" href="#408">408</a><span class="c"> *</span> <a class="l" name="409" href="#409">409</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a></span> <a class="hl" name="410" href="#410">410</a><span class="c"> * <strong>@return</strong> <b>string</b> html</span> <a class="l" name="411" href="#411">411</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="412" href="#412">412</a><span class="c"> */</span> <a class="l" name="413" href="#413">413</a><b>function</b> <a href="/s?defs=html_li_index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_li_index</a>($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>) <a class="l" name="414" href="#414">414</a>{ <a class="l" name="415" href="#415">415</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>::<b>class</b> . <span class="s">&apos;::tagListItem()&apos;</span>); <a class="l" name="416" href="#416">416</a> <b>return</b> (<b>new</b> <a href="/s?defs=Index&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Index</a>())-&gt;<a href="/s?defs=tagListItem&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tagListItem</a>($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>); <a class="l" name="417" href="#417">417</a>} <a class="l" name="418" href="#418">418</a> <a class="l" name="419" href="#419">419</a><span class="c">/**</span> <a class="hl" name="420" href="#420">420</a><span class="c"> * Default list item formatter for html_buildlist()</span> <a class="l" name="421" href="#421">421</a><span class="c"> *</span> <a class="l" name="422" href="#422">422</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="423" href="#423">423</a><span class="c"> *</span> <a class="l" name="424" href="#424">424</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a></span> <a class="l" name="425" href="#425">425</a><span class="c"> * <strong>@return</strong> <b>string</b> html</span> <a class="l" name="426" href="#426">426</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="427" href="#427">427</a><span class="c"> */</span> <a class="l" name="428" href="#428">428</a><b>function</b> <a href="/s?defs=html_li_default&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_li_default</a>($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>) <a class="l" name="429" href="#429">429</a>{ <a class="hl" name="430" href="#430">430</a> <b>return</b> <span class="s">&apos;&lt;li class=&quot;level&apos;</span> . $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;level&apos;</span>] . <span class="s">&apos;&quot;&gt;&apos;</span>; <a class="l" name="431" href="#431">431</a>} <a class="l" name="432" href="#432">432</a> <a class="l" name="433" href="#433">433</a><span class="c">/**</span> <a class="l" name="434" href="#434">434</a><span class="c"> * Build an unordered list</span> <a class="l" name="435" href="#435">435</a><span class="c"> *</span> <a class="l" name="436" href="#436">436</a><span class="c"> * Build an unordered list from the given $data array</span> <a class="l" name="437" href="#437">437</a><span class="c"> * Each item in the array has to have a &apos;level&apos; property</span> <a class="l" name="438" href="#438">438</a><span class="c"> * the item itself gets printed by the given $func user</span> <a class="l" name="439" href="#439">439</a><span class="c"> * function. The second and optional function is used to</span> <a class="hl" name="440" href="#440">440</a><span class="c"> * print the &lt;li&gt; tag. Both user function need to accept</span> <a class="l" name="441" href="#441">441</a><span class="c"> * a single item.</span> <a class="l" name="442" href="#442">442</a><span class="c"> *</span> <a class="l" name="443" href="#443">443</a><span class="c"> * Both user functions can be given as array to point to</span> <a class="l" name="444" href="#444">444</a><span class="c"> * a member of an object.</span> <a class="l" name="445" href="#445">445</a><span class="c"> *</span> <a class="l" name="446" href="#446">446</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="447" href="#447">447</a><span class="c"> *</span> <a class="l" name="448" href="#448">448</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a> array with item arrays</span> <a class="l" name="449" href="#449">449</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=class&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">class</a> class of ul wrapper</span> <a class="hl" name="450" href="#450">450</a><span class="c"> * <strong>@param</strong> <b>callable</b> $<a href="/s?defs=func&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">func</a> callback to print an list item</span> <a class="l" name="451" href="#451">451</a><span class="c"> * <strong>@param</strong> <b>callable</b> $<a href="/s?defs=lifunc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lifunc</a> (optional) callback to the opening li tag</span> <a class="l" name="452" href="#452">452</a><span class="c"> * <strong>@param</strong> <b>bool</b> $<a href="/s?defs=forcewrapper&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">forcewrapper</a> (optional) Trigger building a wrapper ul if the first level is</span> <a class="l" name="453" href="#453">453</a><span class="c"> * 0 (we have a root object) or 1 (just the root content)</span> <a class="l" name="454" href="#454">454</a><span class="c"> * <strong>@return</strong> <b>string</b> html of an unordered list</span> <a class="l" name="455" href="#455">455</a><span class="c"> */</span> <a class="l" name="456" href="#456">456</a><b>function</b> <a href="/s?defs=html_buildlist&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_buildlist</a>($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>, $<a href="/s?defs=class&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">class</a>, $<a href="/s?defs=func&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">func</a>, $<a href="/s?defs=lifunc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lifunc</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>, $<a href="/s?defs=forcewrapper&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">forcewrapper</a> = <a href="/s?defs=false&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">false</a>) <a class="l" name="457" href="#457">457</a>{ <a class="l" name="458" href="#458">458</a> <b>if</b> ($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a> === []) { <a class="l" name="459" href="#459">459</a> <b>return</b> <span class="s">&apos;&apos;</span>; <a class="hl" name="460" href="#460">460</a> } <a class="l" name="461" href="#461">461</a> <a class="l" name="462" href="#462">462</a> $<a href="/s?defs=firstElement&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">firstElement</a> = <a href="/s?defs=reset&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">reset</a>($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a>); <a class="l" name="463" href="#463">463</a> $<a href="/s?defs=start_level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">start_level</a> = $<a href="/s?defs=firstElement&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">firstElement</a>[<span class="s">&apos;level&apos;</span>]; <a class="l" name="464" href="#464">464</a> $<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a> = $<a href="/s?defs=start_level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">start_level</a>; <a class="l" name="465" href="#465">465</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> = <span class="s">&apos;&apos;</span>; <a class="l" name="466" href="#466">466</a> $<a href="/s?defs=open&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">open</a> = <span class="n">0</span>; <a class="l" name="467" href="#467">467</a> <a class="l" name="468" href="#468">468</a> <span class="c">// set callback function to build the &lt;li&gt; tag, formerly defined as html_li_default()</span> <a class="l" name="469" href="#469">469</a> <b>if</b> (!<a href="/s?defs=is_callable&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">is_callable</a>($<a href="/s?defs=lifunc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lifunc</a>)) { <a class="hl" name="470" href="#470">470</a> $<a href="/s?defs=lifunc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lifunc</a> = <b>static</b> <a href="/s?defs=fn&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">fn</a>($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>) =&gt; <span class="s">&apos;&lt;li class=&quot;level&apos;</span> . $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;level&apos;</span>] . <span class="s">&apos;&quot;&gt;&apos;</span>; <a class="l" name="471" href="#471">471</a> } <a class="l" name="472" href="#472">472</a> <a class="l" name="473" href="#473">473</a> <b>foreach</b> ($<a href="/s?defs=data&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">data</a> <b>as</b> $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>) { <a class="l" name="474" href="#474">474</a> <b>if</b> ($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;level&apos;</span>] &gt; $<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a>) { <a class="l" name="475" href="#475">475</a> <span class="c">//open new list</span> <a class="l" name="476" href="#476">476</a> <b>for</b> ($<a href="/s?defs=i&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> = <span class="n">0</span>; $<a href="/s?defs=i&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a> &lt; ($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;level&apos;</span>] - $<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a>); $<a href="/s?defs=i&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>++) { <a class="l" name="477" href="#477">477</a> <b>if</b> ($<a href="/s?defs=i&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">i</a>) $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;li class=&quot;clear&quot;&gt;&apos;</span>; <a class="l" name="478" href="#478">478</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&quot;<strong>\n</strong>&quot;</span> . <span class="s">&apos;&lt;ul class=&quot;&apos;</span> . $<a href="/s?defs=class&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">class</a> . <span class="s">&apos;&quot;&gt;&apos;</span> . <span class="s">&quot;<strong>\n</strong>&quot;</span>; <a class="l" name="479" href="#479">479</a> $<a href="/s?defs=open&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">open</a>++; <a class="hl" name="480" href="#480">480</a> } <a class="l" name="481" href="#481">481</a> $<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a> = $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;level&apos;</span>]; <a class="l" name="482" href="#482">482</a> } <b>elseif</b> ($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;level&apos;</span>] &lt; $<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a>) { <a class="l" name="483" href="#483">483</a> <span class="c">//close last item</span> <a class="l" name="484" href="#484">484</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;/li&gt;&apos;</span> . <span class="s">&quot;<strong>\n</strong>&quot;</span>; <a class="l" name="485" href="#485">485</a> <b>while</b> ($<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a> &gt; $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;level&apos;</span>] &amp;&amp; $<a href="/s?defs=open&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">open</a> &gt; <span class="n">0</span>) { <a class="l" name="486" href="#486">486</a> <span class="c">//close higher lists</span> <a class="l" name="487" href="#487">487</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;/ul&gt;&apos;</span> . <span class="s">&quot;<strong>\n</strong>&quot;</span> . <span class="s">&apos;&lt;/li&gt;&apos;</span> . <span class="s">&quot;<strong>\n</strong>&quot;</span>; <a class="l" name="488" href="#488">488</a> $<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a>--; <a class="l" name="489" href="#489">489</a> $<a href="/s?defs=open&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">open</a>--; <a class="hl" name="490" href="#490">490</a> } <a class="l" name="491" href="#491">491</a> } <b>elseif</b> ($<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> !== <span class="s">&apos;&apos;</span>) { <a class="l" name="492" href="#492">492</a> <span class="c">//close previous item</span> <a class="l" name="493" href="#493">493</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;/li&gt;&apos;</span> . <span class="s">&quot;<strong>\n</strong>&quot;</span>; <a class="l" name="494" href="#494">494</a> } <a class="l" name="495" href="#495">495</a> <a class="l" name="496" href="#496">496</a> <span class="c">//print item</span> <a class="l" name="497" href="#497">497</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <a href="/s?defs=call_user_func&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">call_user_func</a>($<a href="/s?defs=lifunc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lifunc</a>, $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>); <a class="l" name="498" href="#498">498</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;div class=&quot;li&quot;&gt;&apos;</span>; <a class="l" name="499" href="#499">499</a> <a class="hl" name="500" href="#500">500</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <a href="/s?defs=call_user_func&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">call_user_func</a>($<a href="/s?defs=func&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">func</a>, $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>); <a class="l" name="501" href="#501">501</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;/div&gt;&apos;</span>; <a class="l" name="502" href="#502">502</a> } <a class="l" name="503" href="#503">503</a> <a class="l" name="504" href="#504">504</a> <span class="c">//close remaining items and lists</span> <a class="l" name="505" href="#505">505</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;/li&gt;&apos;</span> . <span class="s">&quot;<strong>\n</strong>&quot;</span>; <a class="l" name="506" href="#506">506</a> <b>while</b> ($<a href="/s?defs=open&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">open</a>-- &gt; <span class="n">0</span>) { <a class="l" name="507" href="#507">507</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> .= <span class="s">&apos;&lt;/ul&gt;&lt;/li&gt;&apos;</span> . <span class="s">&quot;<strong>\n</strong>&quot;</span>; <a class="l" name="508" href="#508">508</a> } <a class="l" name="509" href="#509">509</a> <a class="hl" name="510" href="#510">510</a> <b>if</b> ($<a href="/s?defs=forcewrapper&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">forcewrapper</a> || $<a href="/s?defs=start_level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">start_level</a> &lt; <span class="n">2</span>) { <a class="l" name="511" href="#511">511</a> <span class="c">// Trigger building a wrapper ul if the first level is</span> <a class="l" name="512" href="#512">512</a> <span class="c">// 0 (we have a root object) or 1 (just the root content)</span> <a class="l" name="513" href="#513">513</a> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> = <span class="s">&quot;<strong>\n</strong>&quot;</span> . <span class="s">&apos;&lt;ul class=&quot;&apos;</span> . $<a href="/s?defs=class&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">class</a> . <span class="s">&apos;&quot;&gt;&apos;</span> . <span class="s">&quot;<strong>\n</strong>&quot;</span> . $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a> . <span class="s">&apos;&lt;/ul&gt;&apos;</span> . <span class="s">&quot;<strong>\n</strong>&quot;</span>; <a class="l" name="514" href="#514">514</a> } <a class="l" name="515" href="#515">515</a> <a class="l" name="516" href="#516">516</a> <b>return</b> $<a href="/s?defs=html&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html</a>; <a class="l" name="517" href="#517">517</a>} <a class="l" name="518" href="#518">518</a> <a class="l" name="519" href="#519">519</a><span class="c">/**</span> <a class="hl" name="520" href="#520">520</a><span class="c"> * display backlinks</span> <a class="l" name="521" href="#521">521</a><span class="c"> *</span> <a class="l" name="522" href="#522">522</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="523" href="#523">523</a><span class="c"> * <strong>@author</strong> Michael Klier &lt;chi@chimeric.de&gt;</span> <a class="l" name="524" href="#524">524</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="525" href="#525">525</a><span class="c"> */</span> <a class="l" name="526" href="#526">526</a><b>function</b> <a href="/s?defs=html_backlinks&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_backlinks</a>() <a class="l" name="527" href="#527">527</a>{ <a class="l" name="528" href="#528">528</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Backlinks&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Backlinks</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="529" href="#529">529</a> (<b>new</b> <a href="/s?defs=Backlinks&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Backlinks</a>())-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="hl" name="530" href="#530">530</a>} <a class="l" name="531" href="#531">531</a> <a class="l" name="532" href="#532">532</a><span class="c">/**</span> <a class="l" name="533" href="#533">533</a><span class="c"> * Get header of diff HTML</span> <a class="l" name="534" href="#534">534</a><span class="c"> *</span> <a class="l" name="535" href="#535">535</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=l_rev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">l_rev</a> Left revisions</span> <a class="l" name="536" href="#536">536</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=r_rev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">r_rev</a> Right revision</span> <a class="l" name="537" href="#537">537</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a> Page id, if null $ID is used</span> <a class="l" name="538" href="#538">538</a><span class="c"> * <strong>@param</strong> <b>bool</b> $<a href="/s?defs=media&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">media</a> If it is for media files</span> <a class="l" name="539" href="#539">539</a><span class="c"> * <strong>@param</strong> <b>bool</b> $<a href="/s?defs=inline&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">inline</a> Return the header on a single line</span> <a class="hl" name="540" href="#540">540</a><span class="c"> * <strong>@return</strong> <b>string</b>[]<a href="/s?defs=&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file"></a> HTML snippets for diff header</span> <a class="l" name="541" href="#541">541</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="542" href="#542">542</a><span class="c"> */</span> <a class="l" name="543" href="#543">543</a><b>function</b> <a href="/s?defs=html_diff_head&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_diff_head</a>($<a href="/s?defs=l_rev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">l_rev</a>, $<a href="/s?defs=r_rev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">r_rev</a>, $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>, $<a href="/s?defs=media&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">media</a> = <a href="/s?defs=false&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">false</a>, $<a href="/s?defs=inline&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">inline</a> = <a href="/s?defs=false&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">false</a>) <a class="l" name="544" href="#544">544</a>{ <a class="l" name="545" href="#545">545</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<span class="s">&apos;see &apos;</span> . <a href="/s?defs=PageDiff&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDiff</a>::<b>class</b> . <span class="s">&apos;::buildDiffHead()&apos;</span>); <a class="l" name="546" href="#546">546</a> <b>return</b> [<span class="s">&apos;&apos;</span>, <span class="s">&apos;&apos;</span>, <span class="s">&apos;&apos;</span>, <span class="s">&apos;&apos;</span>]; <a class="l" name="547" href="#547">547</a>} <a class="l" name="548" href="#548">548</a> <a class="l" name="549" href="#549">549</a><span class="c">/**</span> <a class="hl" name="550" href="#550">550</a><span class="c"> * Show diff</span> <a class="l" name="551" href="#551">551</a><span class="c"> * between current page version and provided $text</span> <a class="l" name="552" href="#552">552</a><span class="c"> * or between the revisions provided via GET or POST</span> <a class="l" name="553" href="#553">553</a><span class="c"> *</span> <a class="l" name="554" href="#554">554</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="555" href="#555">555</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a> when non-empty: compare with this text with most current version</span> <a class="l" name="556" href="#556">556</a><span class="c"> * <strong>@param</strong> <b>bool</b> $<a href="/s?defs=intro&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">intro</a> display the intro text</span> <a class="l" name="557" href="#557">557</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=type&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">type</a> type of the diff (inline or sidebyside)</span> <a class="l" name="558" href="#558">558</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="559" href="#559">559</a><span class="c"> */</span> <a class="hl" name="560" href="#560">560</a><b>function</b> <a href="/s?defs=html_diff&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_diff</a>($<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a> = <span class="s">&apos;&apos;</span>, $<a href="/s?defs=intro&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">intro</a> = <a href="/s?defs=true&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">true</a>, $<a href="/s?defs=type&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">type</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>) <a class="l" name="561" href="#561">561</a>{ <a class="l" name="562" href="#562">562</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=PageDiff&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDiff</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="563" href="#563">563</a> <b>global</b> $<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>; <a class="l" name="564" href="#564">564</a> (<b>new</b> <a href="/s?defs=PageDiff&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDiff</a>($<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>[<span class="s">&apos;id&apos;</span>]))-&gt;<a href="/s?defs=compareWith&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">compareWith</a>($<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a>)-&gt;<a href="/s?defs=preference&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">preference</a>([ <a class="l" name="565" href="#565">565</a> <span class="s">&apos;showIntro&apos;</span> =&gt; $<a href="/s?defs=intro&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">intro</a>, <a class="l" name="566" href="#566">566</a> <span class="s">&apos;difftype&apos;</span> =&gt; $<a href="/s?defs=type&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">type</a>, <a class="l" name="567" href="#567">567</a> ])-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="568" href="#568">568</a>} <a class="l" name="569" href="#569">569</a> <a class="hl" name="570" href="#570">570</a><span class="c">/**</span> <a class="l" name="571" href="#571">571</a><span class="c"> * Create html for revision navigation</span> <a class="l" name="572" href="#572">572</a><span class="c"> *</span> <a class="l" name="573" href="#573">573</a><span class="c"> * <strong>@param</strong> <a href="/s?defs=PageChangeLog&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageChangeLog</a> $<a href="/s?defs=pagelog&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">pagelog</a> changelog object of current page</span> <a class="l" name="574" href="#574">574</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=type&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">type</a> inline vs sidebyside</span> <a class="l" name="575" href="#575">575</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=l_rev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">l_rev</a> left revision timestamp</span> <a class="l" name="576" href="#576">576</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=r_rev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">r_rev</a> right revision timestamp</span> <a class="l" name="577" href="#577">577</a><span class="c"> * <strong>@return</strong> <b>string</b>[]<a href="/s?defs=&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file"></a> html of left and right navigation elements</span> <a class="l" name="578" href="#578">578</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="579" href="#579">579</a><span class="c"> */</span> <a class="hl" name="580" href="#580">580</a><b>function</b> <a href="/s?defs=html_diff_navigation&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_diff_navigation</a>($<a href="/s?defs=pagelog&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">pagelog</a>, $<a href="/s?defs=type&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">type</a>, $<a href="/s?defs=l_rev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">l_rev</a>, $<a href="/s?defs=r_rev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">r_rev</a>) <a class="l" name="581" href="#581">581</a>{ <a class="l" name="582" href="#582">582</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<span class="s">&apos;see &apos;</span> . <a href="/s?defs=PageDiff&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDiff</a>::<b>class</b> . <span class="s">&apos;::buildRevisionsNavigation()&apos;</span>); <a class="l" name="583" href="#583">583</a> <b>return</b> [<span class="s">&apos;&apos;</span>, <span class="s">&apos;&apos;</span>]; <a class="l" name="584" href="#584">584</a>} <a class="l" name="585" href="#585">585</a> <a class="l" name="586" href="#586">586</a><span class="c">/**</span> <a class="l" name="587" href="#587">587</a><span class="c"> * Create html link to a diff defined by two revisions</span> <a class="l" name="588" href="#588">588</a><span class="c"> *</span> <a class="l" name="589" href="#589">589</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=difftype&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">difftype</a> display type</span> <a class="hl" name="590" href="#590">590</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=linktype&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">linktype</a></span> <a class="l" name="591" href="#591">591</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=lrev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lrev</a> oldest revision</span> <a class="l" name="592" href="#592">592</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=rrev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rrev</a> newest revision or null for diff with current revision</span> <a class="l" name="593" href="#593">593</a><span class="c"> * <strong>@return</strong> <b>string</b> html of link to a diff</span> <a class="l" name="594" href="#594">594</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="595" href="#595">595</a><span class="c"> */</span> <a class="l" name="596" href="#596">596</a><b>function</b> <a href="/s?defs=html_diff_navigationlink&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_diff_navigationlink</a>($<a href="/s?defs=difftype&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">difftype</a>, $<a href="/s?defs=linktype&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">linktype</a>, $<a href="/s?defs=lrev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lrev</a>, $<a href="/s?defs=rrev&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">rrev</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>) <a class="l" name="597" href="#597">597</a>{ <a class="l" name="598" href="#598">598</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<span class="s">&apos;see &apos;</span> . <a href="/s?defs=PageDiff&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDiff</a>::<b>class</b> . <span class="s">&apos;::diffViewlink()&apos;</span>); <a class="l" name="599" href="#599">599</a> <b>return</b> <span class="s">&apos;&apos;</span>; <a class="hl" name="600" href="#600">600</a>} <a class="l" name="601" href="#601">601</a> <a class="l" name="602" href="#602">602</a><span class="c">/**</span> <a class="l" name="603" href="#603">603</a><span class="c"> * Insert soft breaks in diff html</span> <a class="l" name="604" href="#604">604</a><span class="c"> *</span> <a class="l" name="605" href="#605">605</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=diffhtml&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">diffhtml</a></span> <a class="l" name="606" href="#606">606</a><span class="c"> * <strong>@return</strong> <b>string</b></span> <a class="l" name="607" href="#607">607</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="608" href="#608">608</a><span class="c"> */</span> <a class="l" name="609" href="#609">609</a><b>function</b> <a href="/s?defs=html_insert_softbreaks&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_insert_softbreaks</a>($<a href="/s?defs=diffhtml&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">diffhtml</a>) <a class="hl" name="610" href="#610">610</a>{ <a class="l" name="611" href="#611">611</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=PageDiff&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDiff</a>::<b>class</b> . <span class="s">&apos;::insertSoftbreaks()&apos;</span>); <a class="l" name="612" href="#612">612</a> <b>return</b> (<b>new</b> <a href="/s?defs=PageDiff&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageDiff</a>())-&gt;<a href="/s?defs=insertSoftbreaks&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">insertSoftbreaks</a>($<a href="/s?defs=diffhtml&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">diffhtml</a>); <a class="l" name="613" href="#613">613</a>} <a class="l" name="614" href="#614">614</a> <a class="l" name="615" href="#615">615</a><span class="c">/**</span> <a class="l" name="616" href="#616">616</a><span class="c"> * show warning on conflict detection</span> <a class="l" name="617" href="#617">617</a><span class="c"> *</span> <a class="l" name="618" href="#618">618</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="619" href="#619">619</a><span class="c"> *</span> <a class="hl" name="620" href="#620">620</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a></span> <a class="l" name="621" href="#621">621</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=summary&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">summary</a></span> <a class="l" name="622" href="#622">622</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="623" href="#623">623</a><span class="c"> */</span> <a class="l" name="624" href="#624">624</a><b>function</b> <a href="/s?defs=html_conflict&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_conflict</a>($<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a>, $<a href="/s?defs=summary&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">summary</a>) <a class="l" name="625" href="#625">625</a>{ <a class="l" name="626" href="#626">626</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=PageConflict&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageConflict</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="627" href="#627">627</a> (<b>new</b> <a href="/s?defs=PageConflict&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">PageConflict</a>($<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a>, $<a href="/s?defs=summary&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">summary</a>))-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="628" href="#628">628</a>} <a class="l" name="629" href="#629">629</a> <a class="hl" name="630" href="#630">630</a><span class="c">/**</span> <a class="l" name="631" href="#631">631</a><span class="c"> * Prints the global message array</span> <a class="l" name="632" href="#632">632</a><span class="c"> *</span> <a class="l" name="633" href="#633">633</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="634" href="#634">634</a><span class="c"> */</span> <a class="l" name="635" href="#635">635</a><b>function</b> <a href="/s?defs=html_msgarea&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_msgarea</a>() <a class="l" name="636" href="#636">636</a>{ <a class="l" name="637" href="#637">637</a> <b>global</b> $<a href="/s?defs=MSG&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">MSG</a>, $<a href="/s?defs=MSG_shown&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">MSG_shown</a>; <a class="l" name="638" href="#638">638</a> <span class="c">/** <strong>@var</strong> <b>array</b> $MSG */</span> <a class="l" name="639" href="#639">639</a> <span class="c">// store if the global $MSG has already been shown and thus HTML output has been started</span> <a class="hl" name="640" href="#640">640</a> $<a href="/s?defs=MSG_shown&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">MSG_shown</a> = <a href="/s?defs=true&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">true</a>; <a class="l" name="641" href="#641">641</a> <a class="l" name="642" href="#642">642</a> <b>if</b> (!<b>isset</b>($<a href="/s?defs=MSG&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">MSG</a>)) <b>return</b>; <a class="l" name="643" href="#643">643</a> <a class="l" name="644" href="#644">644</a> $<a href="/s?defs=shown&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">shown</a> = []; <a class="l" name="645" href="#645">645</a> <b>foreach</b> ($<a href="/s?defs=MSG&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">MSG</a> <b>as</b> $<a href="/s?defs=msg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">msg</a>) { <a class="l" name="646" href="#646">646</a> $<a href="/s?defs=hash&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hash</a> = <a href="/s?defs=md5&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">md5</a>($<a href="/s?defs=msg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">msg</a>[<span class="s">&apos;msg&apos;</span>]); <a class="l" name="647" href="#647">647</a> <b>if</b> (<b>isset</b>($<a href="/s?defs=shown&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">shown</a>[$<a href="/s?defs=hash&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hash</a>])) <b>continue</b>; <span class="c">// skip double messages</span> <a class="l" name="648" href="#648">648</a> <b>if</b> (<a href="/s?defs=info_msg_allowed&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">info_msg_allowed</a>($<a href="/s?defs=msg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">msg</a>)) { <a class="l" name="649" href="#649">649</a> <b>echo</b> <span class="s">&apos;&lt;div class=&quot;&apos;</span> . $<a href="/s?defs=msg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">msg</a>[<span class="s">&apos;lvl&apos;</span>] . <span class="s">&apos;&quot;&gt;&apos;</span>; <a class="hl" name="650" href="#650">650</a> <b>echo</b> $<a href="/s?defs=msg&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">msg</a>[<span class="s">&apos;msg&apos;</span>]; <a class="l" name="651" href="#651">651</a> <b>echo</b> <span class="s">&apos;&lt;/div&gt;&apos;</span>; <a class="l" name="652" href="#652">652</a> } <a class="l" name="653" href="#653">653</a> $<a href="/s?defs=shown&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">shown</a>[$<a href="/s?defs=hash&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hash</a>] = <span class="n">1</span>; <a class="l" name="654" href="#654">654</a> } <a class="l" name="655" href="#655">655</a> <a class="l" name="656" href="#656">656</a> <b>unset</b>($<a href="/s?defs=GLOBALS&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">GLOBALS</a>[<span class="s">&apos;MSG&apos;</span>]); <a class="l" name="657" href="#657">657</a>} <a class="l" name="658" href="#658">658</a> <a class="l" name="659" href="#659">659</a><span class="c">/**</span> <a class="hl" name="660" href="#660">660</a><span class="c"> * Prints the registration form</span> <a class="l" name="661" href="#661">661</a><span class="c"> *</span> <a class="l" name="662" href="#662">662</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="663" href="#663">663</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="664" href="#664">664</a><span class="c"> */</span> <a class="l" name="665" href="#665">665</a><b>function</b> <a href="/s?defs=html_register&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_register</a>() <a class="l" name="666" href="#666">666</a>{ <a class="l" name="667" href="#667">667</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=UserRegister&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UserRegister</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="668" href="#668">668</a> (<b>new</b> <a href="/s?defs=UserRegister&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UserRegister</a>())-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="669" href="#669">669</a>} <a class="hl" name="670" href="#670">670</a> <a class="l" name="671" href="#671">671</a><span class="c">/**</span> <a class="l" name="672" href="#672">672</a><span class="c"> * Print the update profile form</span> <a class="l" name="673" href="#673">673</a><span class="c"> *</span> <a class="l" name="674" href="#674">674</a><span class="c"> * <strong>@author</strong> Christopher Smith &lt;chris@jalakai.co.uk&gt;</span> <a class="l" name="675" href="#675">675</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="676" href="#676">676</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="677" href="#677">677</a><span class="c"> */</span> <a class="l" name="678" href="#678">678</a><b>function</b> <a href="/s?defs=html_updateprofile&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_updateprofile</a>() <a class="l" name="679" href="#679">679</a>{ <a class="hl" name="680" href="#680">680</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=UserProfile&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UserProfile</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="681" href="#681">681</a> (<b>new</b> <a href="/s?defs=UserProfile&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UserProfile</a>())-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="682" href="#682">682</a>} <a class="l" name="683" href="#683">683</a> <a class="l" name="684" href="#684">684</a><span class="c">/**</span> <a class="l" name="685" href="#685">685</a><span class="c"> * Preprocess edit form data</span> <a class="l" name="686" href="#686">686</a><span class="c"> *</span> <a class="l" name="687" href="#687">687</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="688" href="#688">688</a><span class="c"> *</span> <a class="l" name="689" href="#689">689</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="hl" name="690" href="#690">690</a><span class="c"> */</span> <a class="l" name="691" href="#691">691</a><b>function</b> <a href="/s?defs=html_edit&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_edit</a>() <a class="l" name="692" href="#692">692</a>{ <a class="l" name="693" href="#693">693</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Editor&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Editor</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="l" name="694" href="#694">694</a> (<b>new</b> <a href="/s?defs=Editor&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Editor</a>())-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="695" href="#695">695</a>} <a class="l" name="696" href="#696">696</a> <a class="l" name="697" href="#697">697</a><span class="c">/**</span> <a class="l" name="698" href="#698">698</a><span class="c"> * Display the default edit form</span> <a class="l" name="699" href="#699">699</a><span class="c"> *</span> <a class="hl" name="700" href="#700">700</a><span class="c"> * Is the default action for HTML_EDIT_FORMSELECTION.</span> <a class="l" name="701" href="#701">701</a><span class="c"> *</span> <a class="l" name="702" href="#702">702</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=param&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">param</a></span> <a class="l" name="703" href="#703">703</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="704" href="#704">704</a><span class="c"> */</span> <a class="l" name="705" href="#705">705</a><b>function</b> <a href="/s?defs=html_edit_form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_edit_form</a>($<a href="/s?defs=param&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">param</a>) <a class="l" name="706" href="#706">706</a>{ <a class="l" name="707" href="#707">707</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=Editor&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Editor</a>::<b>class</b> . <span class="s">&apos;::addTextarea()&apos;</span>); <a class="l" name="708" href="#708">708</a> (<b>new</b> <a href="/s?defs=Editor&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Editor</a>())-&gt;<a href="/s?defs=addTextarea&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">addTextarea</a>($<a href="/s?defs=param&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">param</a>); <a class="l" name="709" href="#709">709</a>} <a class="hl" name="710" href="#710">710</a> <a class="l" name="711" href="#711">711</a><span class="c">/**</span> <a class="l" name="712" href="#712">712</a><span class="c"> * prints some debug info</span> <a class="l" name="713" href="#713">713</a><span class="c"> *</span> <a class="l" name="714" href="#714">714</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="715" href="#715">715</a><span class="c"> */</span> <a class="l" name="716" href="#716">716</a><b>function</b> <a href="/s?defs=html_debug&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_debug</a>() <a class="l" name="717" href="#717">717</a>{ <a class="l" name="718" href="#718">718</a> <b>global</b> $<a href="/s?defs=conf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">conf</a>; <a class="l" name="719" href="#719">719</a> <b>global</b> $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>; <a class="hl" name="720" href="#720">720</a> <span class="c">/** <strong>@var</strong> <a href="/s?defs=AuthPlugin&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AuthPlugin</a> $auth */</span> <a class="l" name="721" href="#721">721</a> <b>global</b> $<a href="/s?defs=auth&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">auth</a>; <a class="l" name="722" href="#722">722</a> <b>global</b> $<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>; <a class="l" name="723" href="#723">723</a> <a class="l" name="724" href="#724">724</a> <span class="c">//remove sensitive data</span> <a class="l" name="725" href="#725">725</a> $<a href="/s?defs=cnf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">cnf</a> = $<a href="/s?defs=conf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">conf</a>; <a class="l" name="726" href="#726">726</a> <a href="/s?defs=debug_guard&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">debug_guard</a>($<a href="/s?defs=cnf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">cnf</a>); <a class="l" name="727" href="#727">727</a> $<a href="/s?defs=nfo&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">nfo</a> = $<a href="/s?defs=INFO&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">INFO</a>; <a class="l" name="728" href="#728">728</a> <a href="/s?defs=debug_guard&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">debug_guard</a>($<a href="/s?defs=nfo&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">nfo</a>); <a class="l" name="729" href="#729">729</a> $<a href="/s?defs=ses&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ses</a> = $<a href="/s?defs=_SESSION&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">_SESSION</a>; <a class="hl" name="730" href="#730">730</a> <a href="/s?defs=debug_guard&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">debug_guard</a>($<a href="/s?defs=ses&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ses</a>); <a class="l" name="731" href="#731">731</a> <a class="l" name="732" href="#732">732</a> <b>echo</b> <span class="s">&apos;&lt;html&gt;&lt;body&gt;&apos;</span>; <a class="l" name="733" href="#733">733</a> <a class="l" name="734" href="#734">734</a> <b>echo</b> <span class="s">&apos;&lt;p&gt;When reporting bugs please send all the following &apos;</span>; <a class="l" name="735" href="#735">735</a> <b>echo</b> <span class="s">&apos;output as a mail to andi@splitbrain.org &apos;</span>; <a class="l" name="736" href="#736">736</a> <b>echo</b> <span class="s">&apos;The best way to do this is to save this page in your browser&lt;/p&gt;&apos;</span>; <a class="l" name="737" href="#737">737</a> <a class="l" name="738" href="#738">738</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;$INFO:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="739" href="#739">739</a> <a href="/s?defs=print_r&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">print_r</a>($<a href="/s?defs=nfo&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">nfo</a>); <a class="hl" name="740" href="#740">740</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="741" href="#741">741</a> <a class="l" name="742" href="#742">742</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;$_SERVER:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="743" href="#743">743</a> <a href="/s?defs=print_r&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">print_r</a>($<a href="/s?defs=_SERVER&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">_SERVER</a>); <a class="l" name="744" href="#744">744</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="745" href="#745">745</a> <a class="l" name="746" href="#746">746</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;$conf:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="747" href="#747">747</a> <a href="/s?defs=print_r&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">print_r</a>($<a href="/s?defs=cnf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">cnf</a>); <a class="l" name="748" href="#748">748</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="749" href="#749">749</a> <a class="hl" name="750" href="#750">750</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;DOKU_BASE:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="751" href="#751">751</a> <b>echo</b> <a href="/s?defs=DOKU_BASE&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_BASE</a>; <a class="l" name="752" href="#752">752</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="753" href="#753">753</a> <a class="l" name="754" href="#754">754</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;abs DOKU_BASE:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="755" href="#755">755</a> <b>echo</b> <a href="/s?defs=DOKU_URL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_URL</a>; <a class="l" name="756" href="#756">756</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="757" href="#757">757</a> <a class="l" name="758" href="#758">758</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;rel DOKU_BASE:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="759" href="#759">759</a> <b>echo</b> <a href="/s?defs=dirname&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dirname</a>($<a href="/s?defs=_SERVER&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">_SERVER</a>[<span class="s">&apos;PHP_SELF&apos;</span>]) . <span class="s">&apos;/&apos;</span>; <a class="hl" name="760" href="#760">760</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="761" href="#761">761</a> <a class="l" name="762" href="#762">762</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;PHP Version:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="763" href="#763">763</a> <b>echo</b> <a href="/s?defs=phpversion&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">phpversion</a>(); <a class="l" name="764" href="#764">764</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="765" href="#765">765</a> <a class="l" name="766" href="#766">766</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;locale:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="767" href="#767">767</a> <b>echo</b> <a href="/s?defs=setlocale&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">setlocale</a>(<a href="/s?defs=LC_ALL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">LC_ALL</a>, <span class="n">0</span>); <a class="l" name="768" href="#768">768</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="769" href="#769">769</a> <a class="hl" name="770" href="#770">770</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;encoding:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="771" href="#771">771</a> <b>echo</b> $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>[<span class="s">&apos;encoding&apos;</span>]; <a class="l" name="772" href="#772">772</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="773" href="#773">773</a> <a class="l" name="774" href="#774">774</a> <b>if</b> ($<a href="/s?defs=auth&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">auth</a> <b>instanceof</b> <a href="/s?defs=AuthPlugin&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">AuthPlugin</a>) { <a class="l" name="775" href="#775">775</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;Auth backend capabilities:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="776" href="#776">776</a> <b>foreach</b> ($<a href="/s?defs=auth&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">auth</a>-&gt;<a href="/s?defs=getCapabilities&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">getCapabilities</a>() <b>as</b> $<a href="/s?defs=cando&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">cando</a>) { <a class="l" name="777" href="#777">777</a> <b>echo</b> <span class="s">&apos; &apos;</span> . <a href="/s?defs=str_pad&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">str_pad</a>($<a href="/s?defs=cando&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">cando</a>, <span class="n">16</span>) . <span class="s">&apos; =&gt; &apos;</span> . (<em>int</em>)$<a href="/s?defs=auth&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">auth</a>-&gt;<a href="/s?defs=canDo&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">canDo</a>($<a href="/s?defs=cando&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">cando</a>) . <a href="/s?defs=DOKU_LF&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_LF</a>; <a class="l" name="778" href="#778">778</a> } <a class="l" name="779" href="#779">779</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="hl" name="780" href="#780">780</a> } <a class="l" name="781" href="#781">781</a> <a class="l" name="782" href="#782">782</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;$_SESSION:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="783" href="#783">783</a> <a href="/s?defs=print_r&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">print_r</a>($<a href="/s?defs=ses&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ses</a>); <a class="l" name="784" href="#784">784</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="785" href="#785">785</a> <a class="l" name="786" href="#786">786</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;Environment:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="787" href="#787">787</a> <a href="/s?defs=print_r&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">print_r</a>($<a href="/s?defs=_ENV&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">_ENV</a>); <a class="l" name="788" href="#788">788</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="789" href="#789">789</a> <a class="hl" name="790" href="#790">790</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;PHP settings:&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="791" href="#791">791</a> $<a href="/s?defs=inis&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">inis</a> = <a href="/s?defs=ini_get_all&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ini_get_all</a>(); <a class="l" name="792" href="#792">792</a> <a href="/s?defs=print_r&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">print_r</a>($<a href="/s?defs=inis&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">inis</a>); <a class="l" name="793" href="#793">793</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="794" href="#794">794</a> <a class="l" name="795" href="#795">795</a> <b>if</b> (<a href="/s?defs=function_exists&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">function_exists</a>(<span class="s">&apos;apache_get_version&apos;</span>)) { <a class="l" name="796" href="#796">796</a> $<a href="/s?defs=apache&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">apache</a> = []; <a class="l" name="797" href="#797">797</a> $<a href="/s?defs=apache&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">apache</a>[<span class="s">&apos;version&apos;</span>] = <a href="/s?defs=apache_get_version&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">apache_get_version</a>(); <a class="l" name="798" href="#798">798</a> <a class="l" name="799" href="#799">799</a> <b>if</b> (<a href="/s?defs=function_exists&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">function_exists</a>(<span class="s">&apos;apache_get_modules&apos;</span>)) { <a class="hl" name="800" href="#800">800</a> $<a href="/s?defs=apache&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">apache</a>[<span class="s">&apos;modules&apos;</span>] = <a href="/s?defs=apache_get_modules&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">apache_get_modules</a>(); <a class="l" name="801" href="#801">801</a> } <a class="l" name="802" href="#802">802</a> <b>echo</b> <span class="s">&apos;&lt;b&gt;Apache&lt;/b&gt;&lt;pre&gt;&apos;</span>; <a class="l" name="803" href="#803">803</a> <a href="/s?defs=print_r&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">print_r</a>($<a href="/s?defs=apache&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">apache</a>); <a class="l" name="804" href="#804">804</a> <b>echo</b> <span class="s">&apos;&lt;/pre&gt;&apos;</span>; <a class="l" name="805" href="#805">805</a> } <a class="l" name="806" href="#806">806</a> <a class="l" name="807" href="#807">807</a> <b>echo</b> <span class="s">&apos;&lt;/body&gt;&lt;/html&gt;&apos;</span>; <a class="l" name="808" href="#808">808</a>} <a class="l" name="809" href="#809">809</a> <a class="hl" name="810" href="#810">810</a><span class="c">/**</span> <a class="l" name="811" href="#811">811</a><span class="c"> * Form to request a new password for an existing account</span> <a class="l" name="812" href="#812">812</a><span class="c"> *</span> <a class="l" name="813" href="#813">813</a><span class="c"> * <strong>@author</strong> Benoit Chesneau &lt;benoit@bchesneau.info&gt;</span> <a class="l" name="814" href="#814">814</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;gohr@cosmocode.de&gt;</span> <a class="l" name="815" href="#815">815</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="816" href="#816">816</a><span class="c"> */</span> <a class="l" name="817" href="#817">817</a><b>function</b> <a href="/s?defs=html_resendpwd&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_resendpwd</a>() <a class="l" name="818" href="#818">818</a>{ <a class="l" name="819" href="#819">819</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<a href="/s?defs=UserResendPwd&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UserResendPwd</a>::<b>class</b> . <span class="s">&apos;::show()&apos;</span>); <a class="hl" name="820" href="#820">820</a> (<b>new</b> <a href="/s?defs=UserResendPwd&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">UserResendPwd</a>())-&gt;<a href="/s?defs=show&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">show</a>(); <a class="l" name="821" href="#821">821</a>} <a class="l" name="822" href="#822">822</a> <a class="l" name="823" href="#823">823</a><span class="c">/**</span> <a class="l" name="824" href="#824">824</a><span class="c"> * Return the TOC rendered to XHTML</span> <a class="l" name="825" href="#825">825</a><span class="c"> *</span> <a class="l" name="826" href="#826">826</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="l" name="827" href="#827">827</a><span class="c"> *</span> <a class="l" name="828" href="#828">828</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=toc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">toc</a></span> <a class="l" name="829" href="#829">829</a><span class="c"> * <strong>@return</strong> <b>string</b> html</span> <a class="hl" name="830" href="#830">830</a><span class="c"> */</span> <a class="l" name="831" href="#831">831</a><b>function</b> <a href="/s?defs=html_TOC&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_TOC</a>($<a href="/s?defs=toc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">toc</a>) <a class="l" name="832" href="#832">832</a>{ <a class="l" name="833" href="#833">833</a> <b>if</b> ($<a href="/s?defs=toc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">toc</a> === []) <b>return</b> <span class="s">&apos;&apos;</span>; <a class="l" name="834" href="#834">834</a> <b>global</b> $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>; <a class="l" name="835" href="#835">835</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> = <span class="s">&apos;&lt;!-- TOC START --&gt;&apos;</span> . <a href="/s?defs=DOKU_LF&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_LF</a>; <a class="l" name="836" href="#836">836</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;div id=&quot;dw__toc&quot; class=&quot;dw__toc&quot;&gt;&apos;</span> . <a href="/s?defs=DOKU_LF&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_LF</a>; <a class="l" name="837" href="#837">837</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;h3 class=&quot;toggle&quot;&gt;&apos;</span>; <a class="l" name="838" href="#838">838</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>[<span class="s">&apos;toc&apos;</span>]; <a class="l" name="839" href="#839">839</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;/h3&gt;&apos;</span> . <a href="/s?defs=DOKU_LF&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_LF</a>; <a class="hl" name="840" href="#840">840</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;div&gt;&apos;</span> . <a href="/s?defs=DOKU_LF&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_LF</a>; <a class="l" name="841" href="#841">841</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <a href="/s?defs=html_buildlist&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_buildlist</a>($<a href="/s?defs=toc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">toc</a>, <span class="s">&apos;toc&apos;</span>, <span class="s">&apos;html_list_toc&apos;</span>, <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>, <a href="/s?defs=true&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">true</a>); <a class="l" name="842" href="#842">842</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;/div&gt;&apos;</span> . <a href="/s?defs=DOKU_LF&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_LF</a> . <span class="s">&apos;&lt;/div&gt;&apos;</span> . <a href="/s?defs=DOKU_LF&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_LF</a>; <a class="l" name="843" href="#843">843</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;!-- TOC END --&gt;&apos;</span> . <a href="/s?defs=DOKU_LF&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">DOKU_LF</a>; <a class="l" name="844" href="#844">844</a> <b>return</b> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a>; <a class="l" name="845" href="#845">845</a>} <a class="l" name="846" href="#846">846</a> <a class="l" name="847" href="#847">847</a><span class="c">/**</span> <a class="l" name="848" href="#848">848</a><span class="c"> * Callback for html_buildlist</span> <a class="l" name="849" href="#849">849</a><span class="c"> *</span> <a class="hl" name="850" href="#850">850</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a></span> <a class="l" name="851" href="#851">851</a><span class="c"> * <strong>@return</strong> <b>string</b> html</span> <a class="l" name="852" href="#852">852</a><span class="c"> */</span> <a class="l" name="853" href="#853">853</a><b>function</b> <a href="/s?defs=html_list_toc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_list_toc</a>($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>) <a class="l" name="854" href="#854">854</a>{ <a class="l" name="855" href="#855">855</a> <b>if</b> (<b>isset</b>($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;hid&apos;</span>])) { <a class="l" name="856" href="#856">856</a> $<a href="/s?defs=link&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">link</a> = <span class="s">&apos;#&apos;</span> . $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;hid&apos;</span>]; <a class="l" name="857" href="#857">857</a> } <b>else</b> { <a class="l" name="858" href="#858">858</a> $<a href="/s?defs=link&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">link</a> = $<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;link&apos;</span>]; <a class="l" name="859" href="#859">859</a> } <a class="hl" name="860" href="#860">860</a> <a class="l" name="861" href="#861">861</a> <b>return</b> <span class="s">&apos;&lt;a href=&quot;&apos;</span> . $<a href="/s?defs=link&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">link</a> . <span class="s">&apos;&quot;&gt;&apos;</span> . <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=item&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">item</a>[<span class="s">&apos;title&apos;</span>]) . <span class="s">&apos;&lt;/a&gt;&apos;</span>; <a class="l" name="862" href="#862">862</a>} <a class="l" name="863" href="#863">863</a> <a class="l" name="864" href="#864">864</a><span class="c">/**</span> <a class="l" name="865" href="#865">865</a><span class="c"> * Helper function to build TOC items</span> <a class="l" name="866" href="#866">866</a><span class="c"> *</span> <a class="l" name="867" href="#867">867</a><span class="c"> * Returns an array ready to be added to a TOC array</span> <a class="l" name="868" href="#868">868</a><span class="c"> *</span> <a class="l" name="869" href="#869">869</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=link&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">link</a> - where to link (if $hash set to &apos;#&apos; it&apos;s a local anchor)</span> <a class="hl" name="870" href="#870">870</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a> - what to display in the TOC</span> <a class="l" name="871" href="#871">871</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a> - nesting level</span> <a class="l" name="872" href="#872">872</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=hash&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hash</a> - is prepended to the given $link, set blank if you want full links</span> <a class="l" name="873" href="#873">873</a><span class="c"> * <strong>@return</strong> <b>array</b> the toc item</span> <a class="l" name="874" href="#874">874</a><span class="c"> */</span> <a class="l" name="875" href="#875">875</a><b>function</b> <a href="/s?defs=html_mktocitem&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_mktocitem</a>($<a href="/s?defs=link&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">link</a>, $<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a>, $<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a>, $<a href="/s?defs=hash&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hash</a> = <span class="s">&apos;#&apos;</span>) <a class="l" name="876" href="#876">876</a>{ <a class="l" name="877" href="#877">877</a> <b>return</b> [ <a class="l" name="878" href="#878">878</a> <span class="s">&apos;link&apos;</span> =&gt; $<a href="/s?defs=hash&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hash</a> . $<a href="/s?defs=link&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">link</a>, <a class="l" name="879" href="#879">879</a> <span class="s">&apos;title&apos;</span> =&gt; $<a href="/s?defs=text&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">text</a>, <a class="hl" name="880" href="#880">880</a> <span class="s">&apos;type&apos;</span> =&gt; <span class="s">&apos;ul&apos;</span>, <a class="l" name="881" href="#881">881</a> <span class="s">&apos;level&apos;</span> =&gt; $<a href="/s?defs=level&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">level</a> <a class="l" name="882" href="#882">882</a> ]; <a class="l" name="883" href="#883">883</a>} <a class="l" name="884" href="#884">884</a> <a class="l" name="885" href="#885">885</a><span class="c">/**</span> <a class="l" name="886" href="#886">886</a><span class="c"> * Output a Doku_Form object.</span> <a class="l" name="887" href="#887">887</a><span class="c"> * Triggers an event with the form name: HTML_{$name}FORM_OUTPUT</span> <a class="l" name="888" href="#888">888</a><span class="c"> *</span> <a class="l" name="889" href="#889">889</a><span class="c"> * <strong>@author</strong> Tom N Harris &lt;tnharris@whoopdedo.org&gt;</span> <a class="hl" name="890" href="#890">890</a><span class="c"> *</span> <a class="l" name="891" href="#891">891</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a> The name of the form</span> <a class="l" name="892" href="#892">892</a><span class="c"> * <strong>@param</strong> <a href="/s?defs=Doku_Form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Doku_Form</a> $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a> The form</span> <a class="l" name="893" href="#893">893</a><span class="c"> * <strong>@return</strong> <b>void</b></span> <a class="l" name="894" href="#894">894</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="895" href="#895">895</a><span class="c"> */</span> <a class="l" name="896" href="#896">896</a><b>function</b> <a href="/s?defs=html_form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_form</a>($<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>, $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a>) <a class="l" name="897" href="#897">897</a>{ <a class="l" name="898" href="#898">898</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<span class="s">&apos;use dokuwiki\Form\Form instead of Doku_Form&apos;</span>); <a class="l" name="899" href="#899">899</a> <span class="c">// Safety check in case the caller forgets.</span> <a class="hl" name="900" href="#900">900</a> $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a>-&gt;<a href="/s?defs=endFieldset&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">endFieldset</a>(); <a class="l" name="901" href="#901">901</a> <a href="/s?defs=Event&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Event</a>::<a href="/s?defs=createAndTrigger&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">createAndTrigger</a>(<span class="s">&apos;HTML_&apos;</span> . <a href="/s?defs=strtoupper&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">strtoupper</a>($<a href="/s?defs=name&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">name</a>) . <span class="s">&apos;FORM_OUTPUT&apos;</span>, $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a>, <span class="s">&apos;html_form_output&apos;</span>, <a href="/s?defs=false&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">false</a>); <a class="l" name="902" href="#902">902</a>} <a class="l" name="903" href="#903">903</a> <a class="l" name="904" href="#904">904</a><span class="c">/**</span> <a class="l" name="905" href="#905">905</a><span class="c"> * Form print function.</span> <a class="l" name="906" href="#906">906</a><span class="c"> * Just calls printForm() on the form object.</span> <a class="l" name="907" href="#907">907</a><span class="c"> *</span> <a class="l" name="908" href="#908">908</a><span class="c"> * <strong>@param</strong> <a href="/s?defs=Doku_Form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Doku_Form</a> $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a> The form</span> <a class="l" name="909" href="#909">909</a><span class="c"> * <strong>@return</strong> <b>void</b></span> <a class="hl" name="910" href="#910">910</a><span class="c"> * <strong>@deprecated</strong> 2020-07-18</span> <a class="l" name="911" href="#911">911</a><span class="c"> */</span> <a class="l" name="912" href="#912">912</a><b>function</b> <a href="/s?defs=html_form_output&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_form_output</a>($<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a>) <a class="l" name="913" href="#913">913</a>{ <a class="l" name="914" href="#914">914</a> <a href="/s?defs=dbg_deprecated&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">dbg_deprecated</a>(<span class="s">&apos;use &apos;</span> . <a href="/s?defs=Form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Form</a>::<b>class</b> . <span class="s">&apos;::toHTML()&apos;</span>); <a class="l" name="915" href="#915">915</a> $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a>-&gt;<a href="/s?defs=printForm&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">printForm</a>(); <a class="l" name="916" href="#916">916</a>} <a class="l" name="917" href="#917">917</a> <a class="l" name="918" href="#918">918</a><span class="c">/**</span> <a class="l" name="919" href="#919">919</a><span class="c"> * Embed a flash object in HTML</span> <a class="hl" name="920" href="#920">920</a><span class="c"> *</span> <a class="l" name="921" href="#921">921</a><span class="c"> * This will create the needed HTML to embed a flash movie in a cross browser</span> <a class="l" name="922" href="#922">922</a><span class="c"> * compatble way using valid XHTML</span> <a class="l" name="923" href="#923">923</a><span class="c"> *</span> <a class="l" name="924" href="#924">924</a><span class="c"> * The parameters $params, $flashvars and $atts need to be associative arrays.</span> <a class="l" name="925" href="#925">925</a><span class="c"> * No escaping needs to be done for them. The alternative content *has* to be</span> <a class="l" name="926" href="#926">926</a><span class="c"> * escaped because it is used as is. If no alternative content is given</span> <a class="l" name="927" href="#927">927</a><span class="c"> * $lang[&apos;noflash&apos;] is used.</span> <a class="l" name="928" href="#928">928</a><span class="c"> *</span> <a class="l" name="929" href="#929">929</a><span class="c"> * <strong>@author</strong> Andreas Gohr &lt;andi@splitbrain.org&gt;</span> <a class="hl" name="930" href="#930">930</a><span class="c"> * <strong>@link</strong> <a href="http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml">http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml</a></span> <a class="l" name="931" href="#931">931</a><span class="c"> *</span> <a class="l" name="932" href="#932">932</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=swf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">swf</a> - the SWF movie to embed</span> <a class="l" name="933" href="#933">933</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=width&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">width</a> - width of the flash movie in pixels</span> <a class="l" name="934" href="#934">934</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=height&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">height</a> - height of the flash movie in pixels</span> <a class="l" name="935" href="#935">935</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a> - additional parameters (&lt;param&gt;)</span> <a class="l" name="936" href="#936">936</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=flashvars&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">flashvars</a> - parameters to be passed in the flashvar parameter</span> <a class="l" name="937" href="#937">937</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a> - additional attributes for the &lt;object&gt; tag</span> <a class="l" name="938" href="#938">938</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=alt&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">alt</a> - alternative content (is NOT automatically escaped!)</span> <a class="l" name="939" href="#939">939</a><span class="c"> * <strong>@return</strong> <b>string</b> - the XHTML markup</span> <a class="hl" name="940" href="#940">940</a><span class="c"> */</span> <a class="l" name="941" href="#941">941</a><b>function</b> <a href="/s?defs=html_flashobject&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_flashobject</a>($<a href="/s?defs=swf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">swf</a>, $<a href="/s?defs=width&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">width</a>, $<a href="/s?defs=height&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">height</a>, $<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>, $<a href="/s?defs=flashvars&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">flashvars</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>, $<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>, $<a href="/s?defs=alt&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">alt</a> = <span class="s">&apos;&apos;</span>) <a class="l" name="942" href="#942">942</a>{ <a class="l" name="943" href="#943">943</a> <b>global</b> $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>; <a class="l" name="944" href="#944">944</a> <a class="l" name="945" href="#945">945</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> = <span class="s">&apos;&apos;</span>; <a class="l" name="946" href="#946">946</a> <a class="l" name="947" href="#947">947</a> <span class="c">// prepare the object attributes</span> <a class="l" name="948" href="#948">948</a> <b>if</b> (<a href="/s?defs=is_null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">is_null</a>($<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a>)) $<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a> = []; <a class="l" name="949" href="#949">949</a> $<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a>[<span class="s">&apos;width&apos;</span>] = (<em>int</em>) $<a href="/s?defs=width&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">width</a>; <a class="hl" name="950" href="#950">950</a> $<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a>[<span class="s">&apos;height&apos;</span>] = (<em>int</em>) $<a href="/s?defs=height&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">height</a>; <a class="l" name="951" href="#951">951</a> <b>if</b> (!$<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a>[<span class="s">&apos;width&apos;</span>]) $<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a>[<span class="s">&apos;width&apos;</span>] = <span class="n">425</span>; <a class="l" name="952" href="#952">952</a> <b>if</b> (!$<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a>[<span class="s">&apos;height&apos;</span>]) $<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a>[<span class="s">&apos;height&apos;</span>] = <span class="n">350</span>; <a class="l" name="953" href="#953">953</a> <a class="l" name="954" href="#954">954</a> <span class="c">// add object attributes for standard compliant browsers</span> <a class="l" name="955" href="#955">955</a> $<a href="/s?defs=std&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">std</a> = $<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a>; <a class="l" name="956" href="#956">956</a> $<a href="/s?defs=std&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">std</a>[<span class="s">&apos;type&apos;</span>] = <span class="s">&apos;<a href="/s?path=application/&amp;project=dokuwiki">application</a>/<a href="/s?path=application/x-shockwave-flash&amp;project=dokuwiki">x-shockwave-flash</a>&apos;</span>; <a class="l" name="957" href="#957">957</a> $<a href="/s?defs=std&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">std</a>[<span class="s">&apos;data&apos;</span>] = $<a href="/s?defs=swf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">swf</a>; <a class="l" name="958" href="#958">958</a> <a class="l" name="959" href="#959">959</a> <span class="c">// add object attributes for IE</span> <a class="hl" name="960" href="#960">960</a> $<a href="/s?defs=ie&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ie</a> = $<a href="/s?defs=atts&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">atts</a>; <a class="l" name="961" href="#961">961</a> $<a href="/s?defs=ie&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ie</a>[<span class="s">&apos;classid&apos;</span>] = <span class="s">&apos;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&apos;</span>; <a class="l" name="962" href="#962">962</a> <a class="l" name="963" href="#963">963</a> <span class="c">// open object (with conditional comments)</span> <a class="l" name="964" href="#964">964</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;!--[if !IE]&gt; --&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="965" href="#965">965</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;object &apos;</span> . <a href="/s?defs=buildAttributes&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">buildAttributes</a>($<a href="/s?defs=std&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">std</a>) . <span class="s">&apos;&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="966" href="#966">966</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;!-- &lt;![endif]--&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="967" href="#967">967</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;!--[if IE]&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="968" href="#968">968</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;object &apos;</span> . <a href="/s?defs=buildAttributes&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">buildAttributes</a>($<a href="/s?defs=ie&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">ie</a>) . <span class="s">&apos;&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="969" href="#969">969</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos; &lt;param name=&quot;movie&quot; value=&quot;&apos;</span> . <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=swf&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">swf</a>) . <span class="s">&apos;&quot; /&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="hl" name="970" href="#970">970</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;!--&gt;&lt;!-- --&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="971" href="#971">971</a> <a class="l" name="972" href="#972">972</a> <span class="c">// print params</span> <a class="l" name="973" href="#973">973</a> <b>if</b> (<a href="/s?defs=is_array&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">is_array</a>($<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a>)) <b>foreach</b> ($<a href="/s?defs=params&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">params</a> <b>as</b> $<a href="/s?defs=key&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">key</a> =&gt; $<a href="/s?defs=val&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">val</a>) { <a class="l" name="974" href="#974">974</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos; &lt;param name=&quot;&apos;</span> . <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=key&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">key</a>) . <span class="s">&apos;&quot; value=&quot;&apos;</span> . <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=val&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">val</a>) . <span class="s">&apos;&quot; /&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="975" href="#975">975</a> } <a class="l" name="976" href="#976">976</a> <a class="l" name="977" href="#977">977</a> <span class="c">// add flashvars</span> <a class="l" name="978" href="#978">978</a> <b>if</b> (<a href="/s?defs=is_array&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">is_array</a>($<a href="/s?defs=flashvars&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">flashvars</a>)) { <a class="l" name="979" href="#979">979</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos; &lt;param name=&quot;FlashVars&quot; value=&quot;&apos;</span> . <a href="/s?defs=buildURLparams&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">buildURLparams</a>($<a href="/s?defs=flashvars&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">flashvars</a>) . <span class="s">&apos;&quot; /&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="hl" name="980" href="#980">980</a> } <a class="l" name="981" href="#981">981</a> <a class="l" name="982" href="#982">982</a> <span class="c">// alternative content</span> <a class="l" name="983" href="#983">983</a> <b>if</b> ($<a href="/s?defs=alt&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">alt</a>) { <a class="l" name="984" href="#984">984</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= $<a href="/s?defs=alt&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">alt</a> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="985" href="#985">985</a> } <b>else</b> { <a class="l" name="986" href="#986">986</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= $<a href="/s?defs=lang&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">lang</a>[<span class="s">&apos;noflash&apos;</span>] . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="987" href="#987">987</a> } <a class="l" name="988" href="#988">988</a> <a class="l" name="989" href="#989">989</a> <span class="c">// finish</span> <a class="hl" name="990" href="#990">990</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;/object&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="991" href="#991">991</a> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a> .= <span class="s">&apos;&lt;!-- &lt;![endif]--&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="992" href="#992">992</a> <a class="l" name="993" href="#993">993</a> <b>return</b> $<a href="/s?defs=out&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">out</a>; <a class="l" name="994" href="#994">994</a>} <a class="l" name="995" href="#995">995</a> <a class="l" name="996" href="#996">996</a><span class="c">/**</span> <a class="l" name="997" href="#997">997</a><span class="c"> * Prints HTML code for the given tab structure</span> <a class="l" name="998" href="#998">998</a><span class="c"> *</span> <a class="l" name="999" href="#999">999</a><span class="c"> * <strong>@param</strong> <b>array</b> $<a href="/s?defs=tabs&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tabs</a> tab structure</span> <a class="hl" name="1000" href="#1000">1000</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=current_tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">current_tab</a> the current tab id</span> <a class="l" name="1001" href="#1001">1001</a><span class="c"> * <strong>@return</strong> <b>void</b></span> <a class="l" name="1002" href="#1002">1002</a><span class="c"> */</span> <a class="l" name="1003" href="#1003">1003</a><b>function</b> <a href="/s?defs=html_tabs&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_tabs</a>($<a href="/s?defs=tabs&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tabs</a>, $<a href="/s?defs=current_tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">current_tab</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>) <a class="l" name="1004" href="#1004">1004</a>{ <a class="l" name="1005" href="#1005">1005</a> <b>echo</b> <span class="s">&apos;&lt;ul class=&quot;tabs&quot;&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="1006" href="#1006">1006</a> <a class="l" name="1007" href="#1007">1007</a> <b>foreach</b> ($<a href="/s?defs=tabs&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tabs</a> <b>as</b> $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a> =&gt; $<a href="/s?defs=tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tab</a>) { <a class="l" name="1008" href="#1008">1008</a> <a href="/s?defs=html_tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_tab</a>($<a href="/s?defs=tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tab</a>[<span class="s">&apos;href&apos;</span>], $<a href="/s?defs=tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tab</a>[<span class="s">&apos;caption&apos;</span>], $<a href="/s?defs=id&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">id</a> === $<a href="/s?defs=current_tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">current_tab</a>); <a class="l" name="1009" href="#1009">1009</a> } <a class="hl" name="1010" href="#1010">1010</a> <a class="l" name="1011" href="#1011">1011</a> <b>echo</b> <span class="s">&apos;&lt;/ul&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="1012" href="#1012">1012</a>} <a class="l" name="1013" href="#1013">1013</a> <a class="l" name="1014" href="#1014">1014</a><span class="c">/**</span> <a class="l" name="1015" href="#1015">1015</a><span class="c"> * Prints a single tab</span> <a class="l" name="1016" href="#1016">1016</a><span class="c"> *</span> <a class="l" name="1017" href="#1017">1017</a><span class="c"> * <strong>@author</strong> Kate Arzamastseva &lt;pshns@ukr.net&gt;</span> <a class="l" name="1018" href="#1018">1018</a><span class="c"> * <strong>@author</strong> Adrian Lang &lt;mail@adrianlang.de&gt;</span> <a class="l" name="1019" href="#1019">1019</a><span class="c"> *</span> <a class="hl" name="1020" href="#1020">1020</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=href&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">href</a> - tab href</span> <a class="l" name="1021" href="#1021">1021</a><span class="c"> * <strong>@param</strong> <b>string</b> $<a href="/s?defs=caption&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">caption</a> - tab caption</span> <a class="l" name="1022" href="#1022">1022</a><span class="c"> * <strong>@param</strong> <b>boolean</b> $<a href="/s?defs=selected&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">selected</a> - is tab selected</span> <a class="l" name="1023" href="#1023">1023</a><span class="c"> * <strong>@return</strong> <b>void</b></span> <a class="l" name="1024" href="#1024">1024</a><span class="c"> */</span> <a class="l" name="1025" href="#1025">1025</a> <a class="l" name="1026" href="#1026">1026</a><b>function</b> <a href="/s?defs=html_tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_tab</a>($<a href="/s?defs=href&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">href</a>, $<a href="/s?defs=caption&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">caption</a>, $<a href="/s?defs=selected&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">selected</a> = <a href="/s?defs=false&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">false</a>) <a class="l" name="1027" href="#1027">1027</a>{ <a class="l" name="1028" href="#1028">1028</a> $<a href="/s?defs=tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tab</a> = <span class="s">&apos;&lt;li&gt;&apos;</span>; <a class="l" name="1029" href="#1029">1029</a> <b>if</b> ($<a href="/s?defs=selected&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">selected</a>) { <a class="hl" name="1030" href="#1030">1030</a> $<a href="/s?defs=tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tab</a> .= <span class="s">&apos;&lt;strong&gt;&apos;</span>; <a class="l" name="1031" href="#1031">1031</a> } <b>else</b> { <a class="l" name="1032" href="#1032">1032</a> $<a href="/s?defs=tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tab</a> .= <span class="s">&apos;&lt;a href=&quot;&apos;</span> . <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=href&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">href</a>) . <span class="s">&apos;&quot;&gt;&apos;</span>; <a class="l" name="1033" href="#1033">1033</a> } <a class="l" name="1034" href="#1034">1034</a> $<a href="/s?defs=tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tab</a> .= <a href="/s?defs=hsc&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">hsc</a>($<a href="/s?defs=caption&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">caption</a>) <a class="l" name="1035" href="#1035">1035</a> . <span class="s">&apos;&lt;/&apos;</span> . ($<a href="/s?defs=selected&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">selected</a> ? <span class="s">&apos;strong&apos;</span> : <span class="s">&apos;a&apos;</span>) . <span class="s">&apos;&gt;&apos;</span> <a class="l" name="1036" href="#1036">1036</a> . <span class="s">&apos;&lt;/li&gt;&apos;</span> . <a href="/s?defs=NL&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">NL</a>; <a class="l" name="1037" href="#1037">1037</a> <b>echo</b> $<a href="/s?defs=tab&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">tab</a>; <a class="l" name="1038" href="#1038">1038</a>} <a class="l" name="1039" href="#1039">1039</a> <a class="hl" name="1040" href="#1040">1040</a><span class="c">/**</span> <a class="l" name="1041" href="#1041">1041</a><span class="c"> * Display size change</span> <a class="l" name="1042" href="#1042">1042</a><span class="c"> *</span> <a class="l" name="1043" href="#1043">1043</a><span class="c"> * <strong>@param</strong> <b>int</b> $<a href="/s?defs=sizechange&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sizechange</a> - size of change in Bytes</span> <a class="l" name="1044" href="#1044">1044</a><span class="c"> * <strong>@param</strong> <a href="/s?defs=Doku_Form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">Doku_Form</a> $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a> - (optional) form to add elements to</span> <a class="l" name="1045" href="#1045">1045</a><span class="c"> * <strong>@return</strong> <b>void</b>|<b>string</b></span> <a class="l" name="1046" href="#1046">1046</a><span class="c"> */</span> <a class="l" name="1047" href="#1047">1047</a><b>function</b> <a href="/s?defs=html_sizechange&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">html_sizechange</a>($<a href="/s?defs=sizechange&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sizechange</a>, $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a> = <a href="/s?defs=null&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">null</a>) <a class="l" name="1048" href="#1048">1048</a>{ <a class="l" name="1049" href="#1049">1049</a> <b>if</b> (<b>isset</b>($<a href="/s?defs=sizechange&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sizechange</a>)) { <a class="hl" name="1050" href="#1050">1050</a> $<a href="/s?defs=class&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">class</a> = <span class="s">&apos;sizechange&apos;</span>; <a class="l" name="1051" href="#1051">1051</a> $<a href="/s?defs=value&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">value</a> = <a href="/s?defs=filesize_h&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">filesize_h</a>(<a href="/s?defs=abs&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">abs</a>($<a href="/s?defs=sizechange&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sizechange</a>)); <a class="l" name="1052" href="#1052">1052</a> <b>if</b> ($<a href="/s?defs=sizechange&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sizechange</a> &gt; <span class="n">0</span>) { <a class="l" name="1053" href="#1053">1053</a> $<a href="/s?defs=class&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">class</a> .= <span class="s">&apos; positive&apos;</span>; <a class="l" name="1054" href="#1054">1054</a> $<a href="/s?defs=value&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">value</a> = <span class="s">&apos;+&apos;</span> . $<a href="/s?defs=value&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">value</a>; <a class="l" name="1055" href="#1055">1055</a> } <b>elseif</b> ($<a href="/s?defs=sizechange&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">sizechange</a> &lt; <span class="n">0</span>) { <a class="l" name="1056" href="#1056">1056</a> $<a href="/s?defs=class&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">class</a> .= <span class="s">&apos; negative&apos;</span>; <a class="l" name="1057" href="#1057">1057</a> $<a href="/s?defs=value&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">value</a> = <span class="s">&apos;-&apos;</span> . $<a href="/s?defs=value&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">value</a>; <a class="l" name="1058" href="#1058">1058</a> } <b>else</b> { <a class="l" name="1059" href="#1059">1059</a> $<a href="/s?defs=value&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">value</a> = <span class="s">&apos;&#177;&apos;</span> . $<a href="/s?defs=value&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">value</a>; <a class="hl" name="1060" href="#1060">1060</a> } <a class="l" name="1061" href="#1061">1061</a> <b>if</b> (!<b>isset</b>($<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a>)) { <a class="l" name="1062" href="#1062">1062</a> <b>return</b> <span class="s">&apos;&lt;span class=&quot;&apos;</span> . $<a href="/s?defs=class&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">class</a> . <span class="s">&apos;&quot;&gt;&apos;</span> . $<a href="/s?defs=value&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">value</a> . <span class="s">&apos;&lt;/span&gt;&apos;</span>; <a class="l" name="1063" href="#1063">1063</a> } <b>else</b> { <span class="c">// Doku_Form</span> <a class="l" name="1064" href="#1064">1064</a> $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a>-&gt;<a href="/s?defs=addElement&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">addElement</a>(<a href="/s?defs=form_makeOpenTag&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form_makeOpenTag</a>(<span class="s">&apos;span&apos;</span>, [<span class="s">&apos;class&apos;</span> =&gt; $<a href="/s?defs=class&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">class</a>])); <a class="l" name="1065" href="#1065">1065</a> $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a>-&gt;<a href="/s?defs=addElement&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">addElement</a>($<a href="/s?defs=value&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">value</a>); <a class="l" name="1066" href="#1066">1066</a> $<a href="/s?defs=form&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form</a>-&gt;<a href="/s?defs=addElement&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">addElement</a>(<a href="/s?defs=form_makeCloseTag&amp;project=dokuwiki" class="intelliWindow-symbol" data-definition-place="undefined-in-file">form_makeCloseTag</a>(<span class="s">&apos;span&apos;</span>)); <a class="l" name="1067" href="#1067">1067</a> } <a class="l" name="1068" href="#1068">1068</a> } <a class="l" name="1069" href="#1069">1069</a>} <a class="hl" name="1070" href="#1070">1070</a></pre> </div><footer id="footer"> <p><a href="https://oracle.github.io/opengrok/" class="link-no-decoration" title="Served by OpenGrok (1.7.31 - 6333fd7)"> <span id="served-by">served&nbsp;by&nbsp;</span><span class="logo logo-gray-color">{</span><span class="logo logo-blue-color">Open</span><span class="logo logo-gray-color">Grok</span> </a></p> <p>Last Index Update: Thu Jul 13 10:31:41 UTC 2023</p> <!-- Include for DokuWiki site wide top bar --> <style type="text/css"> @media screen { body { padding-top: 30px; } #global__header { position: absolute; top: 0; left: 0; text-align: left; vertical-align: middle; line-height: 1.5; background-color: #333; box-shadow: 0 0 8px rgba(0,0,0,0.5); width: 100%; margin: 0; padding: 5px 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; white-space: nowrap; overflow: hidden; } #global__header h2 { position: absolute; left: -99999em; top: 0; overflow: hidden; display: inline; } #global__header ul, #global__header li { margin: 0; padding: 0; list-style: none; display: inline; line-height: 1.5; } #global__header a { color: #bbb; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: normal; } #global__header a:hover, #global__header a:active, #global__header a:focus { color: #fff; text-decoration: underline; } #global__header form { float: right; margin: 0 0 0 20px; } #global__header input { background-color: #333; background-image: none; border: 1px solid #bbb; color: #fff; box-shadow: none; border-radius: 2px; margin: 0; line-height: normal; padding: 1px 0 1px 0; height: auto; } #global__header input.button { border: none; color: #bbb; } #global__header input.button:hover, #global__header input.button:active, #global__header input.button:focus { color: #fff; text-decoration: underline; } } /* /@media */ @media only screen and (min-width: 601px) { /* changes specific for www.dokuwiki.org */ #dokuwiki__header { padding-top: 3em; } #dokuwiki__usertools { top: 3em; } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } /* /@media */ @media only screen and (max-width: 600px) { body { padding-top: 0; } #global__header { position: static; white-space: normal; overflow: auto; } #global__header form { float: none; display: block; margin: 0 0 .4em; } } /* /@media */ @media print { #global__header { display: none; } } /* /@media */ </style> <div id="global__header"> <h2>Global DokuWiki Links</h2> <form method="get" action="https://search.dokuwiki.org/" target="_top"> <input type="text" name="q" title="Search all DokuWiki sites at once" class="input" /> <input type="submit" title="Search all DokuWiki sites at once" value="Search" class="button" /> </form> <ul> <li><a href="https://download.dokuwiki.org" title="Download the latest release" target="_top">Download</a></li> <li><a href="https://www.dokuwiki.org" title="Read the DokuWiki documentation" target="_top">Wiki</a></li> <li><a href="https://forum.dokuwiki.org" title="Ask questions in the DokuWiki forum" target="_top">Forum</a></li> <li><a href="https://irc.dokuwiki.org" title="Check IRC chat logs or join the chat" target="_top">IRC</a></li> <li><a href="https://github.com/splitbrain/dokuwiki/issues" title="Report and track bugs" target="_top">Bugs</a></li> <li><a href="https://translate.dokuwiki.org/" title="Help translating the DokuWiki interface" target="_top">Translate</a></li> <li><a href="https://github.com/splitbrain/dokuwiki" title="Access the most recent git commits" target="_top">Git</a></li> <li><a href="https://xref.dokuwiki.org/reference/dokuwiki/" title="Cross-Reference of the DokuWiki source code" target="_top">XRef</a></li> <li><a href="https://codesearch.dokuwiki.org/" title="Search through the sources of DokuWiki, plugins and templates" target="_top">Code Search</a></li> </ul> </div> <!-- end of DokuWiki top bar include --> </div></footer> </div> <script type="text/javascript" src="/webjars/jquery/3.6.0/jquery.min.js" data-priority="10"></script> <script type="text/javascript" src="/js/jquery-ui-1.12.1-custom.min.js" data-priority="11"></script> <script type="text/javascript" src="/webjars/tablesorter/2.31.3/dist/js/jquery.tablesorter.min.js" data-priority="12"></script> <script type="text/javascript" src="/js/tablesorter-parsers-0.0.3.min.js" data-priority="13"></script> <script type="text/javascript" src="/js/searchable-option-list-2.0.15.min.js" data-priority="14"></script> <script type="text/javascript" src="/js/utils-0.0.45.min.js" data-priority="15"></script> <script type="text/javascript" src="/js/jquery.caret-1.5.2.min.js" data-priority="25"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10