+ \$().ready(function() {
+ \$('#${id}').multiselect2side({ ${vars} });
+ });
+
+EOCODE
+
+ return $code;
+}
+
+sub online_help_tag {
+ my ($self, $tag, @slurp) = @_;
+ my %params = _hashify(@slurp);
+ my $cc = $::myconfig{countrycode};
+ my $file = "doc/online/$cc/$tag.html";
+ my $text = $params{text} || $::locale->text('Help');
+
+ die 'malformed help tag' unless $tag =~ /^[a-zA-Z0-9_]+$/;
+ return unless -f $file;
+ return $self->html_tag('a', $text, href => $file, target => '_blank');
+}
+
+sub dump {
+ my $self = shift;
+ require Data::Dumper;
+ return '' . Data::Dumper::Dumper(@_) . '
';
+}
+
1;
__END__
@@ -470,6 +545,13 @@ tag for each file name parameter passed. Each file name will be
postfixed with '.js' if it isn't already and prefixed with 'js/' if it
doesn't contain a slash.
+=item C
+
+Creates a HTML 'Elink rel="text/stylesheet" href="..."E' tag
+for each file name parameter passed. Each file name will be postfixed
+with '.css' if it isn't already and prefixed with 'css/' if it doesn't
+contain a slash.
+
=item C $align_code, %attributes>
Creates a date input field, with an attached javascript that will open a
@@ -491,6 +573,40 @@ C. Example:
An optional attribute is C, which accepts the ordinal of a tab which
should be selected by default.
+=item C
+
+Creates a generic input tag or textarea tag, depending on content size. The
+mount of desired rows must be given with C parameter, Accpeted parameters
+include C for rendering a minimum of rows if a textarea is displayed.
+
+You can force input by setting rows to 1, and you can force textarea by setting
+rows to anything >1.
+
+=item C
+
+Creates a JavaScript snippet calling the jQuery function
+C on the select control with the ID C<$id>. The
+select itself is not created. C<%params> can contain the following
+entries:
+
+=over 2
+
+=item C
+
+The label of the list of available options. Defaults to the
+translation of 'Available'.
+
+=item C
+
+The label of the list of selected options. Defaults to the
+translation of 'Selected'.
+
+=back
+
+=item C
+
+Dumps the Argument using L into a EpreE block.
+
=back
=head2 CONVERSION FUNCTIONS
@@ -539,6 +655,10 @@ C) will be used as the first element. The title to display for
this element can be set with the option C and defaults to
an empty string.
+The option C can be either a scalar or an array reference
+containing the values of the options which should be set to be
+selected.
+
=item C
Creates a tab for C. The description will be used as displayed name.