/[suikacvs]/webroot/swe/lib/SWE/Lang.pm
Suika

Contents of /webroot/swe/lib/SWE/Lang.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Sep 14 02:13:13 2009 UTC (15 years, 7 months ago) by wakaba
Branch: MAIN
++ swe/lib/SWE/ChangeLog	14 Sep 2009 02:12:58 -0000
2009-09-14  Wakaba  <wakaba@suika.fam.cx>

	* Lang.pm: New module.

++ swe/lib/suikawiki/ChangeLog	14 Sep 2009 02:12:48 -0000
	* main.pl: Moved media type list to an external module.

2009-09-14  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1 package SWE::Lang;
2     use strict;
3     use warnings;
4     use Exporter::Lite;
5    
6     our @EXPORT_OK = qw(@ContentMediaType %ContentMediaType);
7    
8     our @ContentMediaType =
9     (
10     {type => 'text/x-suikawiki', module => 'SWE::Lang::SWML',
11     label => 'SWML'},
12     {type => 'text/x.suikawiki.image', module => 'SWE::Lang::SWML'},
13     {type => 'application/x.suikawiki.config'},
14     {type => 'text/plain', label => 'Plain text'},
15     {type => 'image/x-canvas-instructions+text',
16     module => 'SWE::Lang::CanvasInstructions',
17     label => 'Drawing'},
18     {type => 'text/css', label => 'CSS'},
19     );
20     our %ContentMediaType = map { $_->{type} => $_ } @ContentMediaType;
21    
22     1;

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24