use strict;
package SuikaWiki::Plugin::Registry;


our %Info;
$Info{q#WikiFormAsLink#}->{Name} = q#WikiFormAsLink#;
$Info{q#WikiFormAsLink#}->{q#Version#} = q#2004.0831.0328#;
$Info{q#WikiFormAsLink#}->{q#InterfaceVersion#} = q#2.9.1#;
$Info{q#WikiFormAsLink#}->{q#mkpluginVersion#} = q#2.1.19#;
$Info{q#WikiFormAsLink#}->{q#module_name#} = q#SuikaWiki::Plugin::plugin::WikiFormAsLink1040731032807BJo0#;
$Info{q#WikiFormAsLink#}->{RequiredModule} = [q#WikiFormCore#];
$Info{q#WikiFormAsLink#}->{Description} = [[q#This plugin module provides some styles of forms
can be used as hyperlink.#, q#en#, q##]];
$Info{q#WikiFormAsLink#}->{License} = [[q#%%GPL%%#, q##, q##]];
$Info{q#WikiFormAsLink#}->{Author} = [[[], [q##], [q##]]];

package SuikaWiki::Plugin::plugin::WikiFormAsLink1040731032807BJo0;

$SuikaWiki::Plugin::Rule{form_input}->{wfl__link_to_wikipage} = {q#Parameter#, {q#content#, {q#Type#, q#format#, q#Default#, q#""#, q#Description#, [[q#Form content.#, q#en#, q##]]}}, q#Description#, [[q#Linking to a WikiPage, as a form#, q#en#, q##]], q#main#, sub {my ($f, $rule_name, $p, $o, %opt) = @_;

#line 1 "(WikiPlugin module source link.wp2, block FormattingRule[name()='[q#form-input#]/wfl__link_to_wikipage']/Formatting)"
$p->{q#content#} = do { my $r = $f->parse_attr ($p=>q#content#, $o, -non_parsed_to_node => 1, %opt); ref $r?$r->inner_text:$r};
SuikaWiki::Plugin->module_package ('WikiFormCore')
->make_form_in_html
($p->{-parent}, $p->{content},
wiki => $o->{wiki},
o => $o,
index => -1,
output => {
http_method => 'get',
},);}}
#line 1 "(WikiPlugin module WikiFormAsLink, chunk 1)"
;

$SuikaWiki::Plugin::Rule{form_input}->{wfl__hidden_mode} = {q#Parameter#, {q#mode#, {q#Type#, q#mode#, q#Default#, q#"default"#, q#Description#, [[q##, q##, q##]]}}, q#Description#, [[q#Specifying mode, to be used with wfl--link-to-wikipage.#, q#en#, q##]], q#main#, sub {my ($f, $rule_name, $p, $o, %opt) = @_;

#line 1 "(WikiPlugin module source link.wp2, block FormattingRule[name()='[q#form-input#]/wfl__hidden_mode']/Formatting)"
for ($p->{-parent}->append_new_node
(type => '#element',
namespace_uri => q#http://www.w3.org/1999/xhtml#,
local_name => 'input')) {
$_->set_attribute (type => 'hidden');
$_->set_attribute (name => 'mode');
$p->{q#mode#} = do { my $r = $f->parse_attr ($p=>q#mode#, $o, -non_parsed_to_node => 1, %opt); ref $r?$r->inner_text:$r};
$_->set_attribute (value => $p->{mode} || 'default');
$_->option (use_EmptyElemTag => 1);
}}}
#line 1 "(WikiPlugin module WikiFormAsLink, chunk 3)"
;
package SuikaWiki::Plugin::Registry;

$Info{q#WikiFormAsLink#}->{provide} = {q#rule#, {q#form_input#, [q#wfl__link_to_wikipage#, q#wfl__hidden_mode#]}};

1;
