/[suikacvs]/test/html-whatpm/table.cgi
Suika

Contents of /test/html-whatpm/table.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Feb 10 02:30:14 2008 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.4: +3 -3 lines
++ ChangeLog	10 Feb 2008 02:28:48 -0000
	* table-interface.en.html: Typo fixed.

	* cc.cgi: Use |$input->{id_prefix}| as the prefix for the
	identifiers in report sections.  Don't add headings
	if the |$input->{nested}| flag is set.

	* table-script.js (tableToCanvas): Now it aceepts third
	argument, |idPrefix|, for setting ID prefix.

	* table.cgi: Set the third argument to |tableToCanvas| as an
	empty string.

2008-02-10  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1 #!/usr/bin/perl
2     use strict;
3    
4     use lib qw[/home/httpd/html/www/markup/html/whatpm
5     /home/wakaba/public_html/-temp/wiki/lib];
6     use CGI::Carp qw[fatalsToBrowser];
7    
8     use SuikaWiki::Input::HTTP; ## TODO: Use some better CGI module
9    
10     my $http = SuikaWiki::Input::HTTP->new;
11    
12     ## TODO: _charset_
13    
14     my $mode = $http->meta_variable ('PATH_INFO');
15     ## TODO: decode unreserved characters
16    
17     if ($mode eq '/table') {
18     require Encode;
19     require Whatpm::HTML;
20     require Whatpm::NanoDOM;
21    
22     my $s = $http->parameter ('s');
23