464 |
@Main: |
@Main: |
465 |
my (undef, %opt) = @_; |
my (undef, %opt) = @_; |
466 |
my $content; |
my $content; |
467 |
|
my $content_prop; |
468 |
if ($opt{wiki}->{db}) { |
if ($opt{wiki}->{db}) { |
469 |
try { |
try { |
470 |
$content = $opt{wiki}->{db}->get (content => $opt{page}); |
$content = $opt{wiki}->{db}->get (content => $opt{page}); |
471 |
|
$content_prop = $opt{wiki}->{db}->get (content_prop => $opt{page}); |
472 |
} catch SuikaWiki::DB::Util::Error with { |
} catch SuikaWiki::DB::Util::Error with { |
473 |
|
my $err = shift; |
474 |
|
$err->throw if $err->{-type} eq 'ERROR_REPORTED'; |
475 |
$content = undef; |
$content = undef; |
476 |
}; |
}; |
477 |
} |
} |
478 |
my $format = SuikaWiki::Plugin->module_package ('WikiFormat') |
my $format = SuikaWiki::Plugin->module_package ('WikiFormat') |
479 |
->handler (\$content, |
->handler (\$content, |
480 |
|
content_prop => $content_prop, |
481 |
o => $opt{o}, |
o => $opt{o}, |
482 |
wiki => $opt{o}->{wiki}); |
wiki => $opt{o}->{wiki}); |
483 |
my $cfg; |
my $cfg; |
711 |
@@@: |
@@@: |
712 |
Save style selection |
Save style selection |
713 |
@@lang: en |
@@lang: en |
714 |
|
@WikiFormat:MediaType:Description:IMT:text/css##: |
715 |
|
@@@: CSS (Cascading Style Sheets) |
716 |
|
@@lang: en |
717 |
|
@WikiFormat:MediaType:Label:IMT:text/css##: |
718 |
|
@@@: CSS |
719 |
|
@@lang: en |
720 |
|
|
721 |
|
|