DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:random_page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
plugin:random_page [2022-12-01 18:18] goldseedplugin:random_page [2023-03-04 15:43] (current) Aleksandr
Line 42: Line 42:
 <code php> <code php>
 <?PHP <?PHP
-echo '<a href=/cgi-bin/anon-www.cgi/http://www.dokuwiki.org/"'. $conf['baseurl'] . $conf['basedir'] .'/doku.php?do=randompage" >'; +echo '<a href=/cgi-bin/anon-www.cgi/https://www.dokuwiki.org/"'. $conf['baseurl'] . $conf['basedir'] .'/doku.php?do=randompage" >'; 
-?><img src=/cgi-bin/anon-www.cgi/http://www.dokuwiki.org/"<?php echo DOKU_BASE?>lib/plugins/random_page/random.png" alt="Random"> A Random Page</a>+?><img src=/cgi-bin/anon-www.cgi/https://www.dokuwiki.org/"<?php echo DOKU_BASE?>lib/plugins/random_page/random.png" alt="Random"> A Random Page</a>
 </code> </code>
  
Line 223: Line 223:
  
 <code> <code>
-        <form class="button" method="get" action=/cgi-bin/anon-www.cgi/http://www.dokuwiki.org/"<?php wl($ID)?>">+        <form class="button" method="get" action=/cgi-bin/anon-www.cgi/https://www.dokuwiki.org/"<?php wl($ID)?>">
           <div class="no">           <div class="no">
             <input type="submit" value="Random Page" class="button" />             <input type="submit" value="Random Page" class="button" />
plugin/random_page.1669915081.txt.gz · Last modified: 2022-12-01 18:18 by goldseed

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki