From: <var...@us...> - 2016-07-28 15:21:26
|
Revision: 9922 http://sourceforge.net/p/phpwiki/code/9922 Author: vargenau Date: 2016-07-28 15:21:24 +0000 (Thu, 28 Jul 2016) Log Message: ----------- WikiPollPlugin: move syntax from source code to help page Modified Paths: -------------- trunk/lib/plugin/WikiPoll.php trunk/pgsrc/Help%2FWikiPollPlugin Modified: trunk/lib/plugin/WikiPoll.php =================================================================== --- trunk/lib/plugin/WikiPoll.php 2016-07-28 15:13:14 UTC (rev 9921) +++ trunk/lib/plugin/WikiPoll.php 2016-07-28 15:21:24 UTC (rev 9922) @@ -20,30 +20,10 @@ * with PhpWiki; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + /** * This plugin provides configurable polls. * - * Usage: -<<WikiPoll require_all=0 require_least=2 -question[1]="Do you like PhpWiki?" -answer[1][1]="Yes" answer[1][2]="Do not know" answer[1][3]="No" -question[2]="Do you have PhpWiki installed by your own?" -answer[2][1]="Yes" answer[2][2]="No" -question[3]="Did you install any other wiki engine?" -answer[3][1]="Yes" answer[3][2]="No" -question[4]="What wiki engine do you like most?" -answer[4][1]="c2Wiki" answer[4][2]="MoinMoin" answer[4][3]="PhpWiki" -answer[4][4]="usemod" answer[4][5]="Twiki" answer[4][5]="guiki" -answer[4][6]="Mediawiki" answer[4][7]="Other" -question[5]="Which PhpWiki version do you use?" -answer[5][1]="1.2.x" answer[5][2]="1.3.1-12" answer[5][3]="1.3.13" -answer[5][4]="1.3.14" ->> - * - * Administration: - * <<WikiPoll page=PhpWikiPoll admin=1 >> - * and protect this page properly (e.g. PhpWikiPoll/Admin) - * * TODO: * admin page (view and reset statistics) * for now only radio, support checkboxes (multiple selections) also? Modified: trunk/pgsrc/Help%2FWikiPollPlugin =================================================================== --- trunk/pgsrc/Help%2FWikiPollPlugin 2016-07-28 15:13:14 UTC (rev 9921) +++ trunk/pgsrc/Help%2FWikiPollPlugin 2016-07-28 15:21:24 UTC (rev 9922) @@ -1,4 +1,4 @@ -Date: Thu, 10 Dec 2015 18:48:03 +0000 +Date: Thu, 28 Jul 2016 17:20:10 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.5) Content-Type: application/x-phpwiki; pagename=Help%2FWikiPollPlugin; @@ -9,12 +9,25 @@ The **~WikiPoll** [[Help:WikiPlugin|plugin]] provides configurable polls. == Usage == + {{{ <<WikiPoll arguments - questions + questions and possible answers >> }}} +Syntax: +{{{ +question[1]="Do you like PhpWiki?" +answer[1][1]="Yes" answer[1][2]="Do not know" answer[1][3]="No" +}}} + +Administration: +{{{ +<<WikiPoll page=PhpWikiPoll admin=1>> +}}} +and protect this page properly (e.g. ~PhpWikiPoll/Admin) + == Arguments == {| class="bordered" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |