5 |
@Description: |
@Description: |
6 |
@@@: Stylesheet support |
@@@: Stylesheet support |
7 |
@@lang:en |
@@lang:en |
8 |
@License: %%GPL%% |
@License: %%Perl%% |
9 |
@Author: |
@Author: |
10 |
@@Name: |
@@Name: |
11 |
@@@@: Wakaba |
@@@@: Wakaba |
12 |
@@@lang:ja |
@@@lang:ja |
13 |
@@@script:Latn |
@@@script:Latn |
14 |
@@Mail[list]: w@suika.fam.cx |
@@Mail[list]: w@suika.fam.cx |
15 |
@Date.RCS: $Date$ |
@Date.RCS: |
16 |
@RequiredModule[list]: |
$Date$ |
17 |
@RequiredPlugin[list]: |
@RequiredPlugin[list]: |
18 |
Error |
Error |
19 |
HTML |
HTML |
352 |
} |
} |
353 |
|
|
354 |
__ATTRTEXT:%expires__; |
__ATTRTEXT:%expires__; |
355 |
my $cookie_path = '/'; ## ISSUE: Need some mechanism |
my $cookie_path = $o->{wiki}->uri_reference->path; |
356 |
for ($div->append_new_node (type => '#element', |
for ($div->append_new_node (type => '#element', |
357 |
namespace_uri => $NS_XHTML1, |
namespace_uri => $NS_XHTML1, |
358 |
local_name => 'script')) { |
local_name => 'script')) { |
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; |
612 |
} |
} |
613 |
|
|
614 |
__ATTRTEXT:%expires__; |
__ATTRTEXT:%expires__; |
615 |
my $cookie_path = '/'; ## ISSUE: Need some mechanism |
my $cookie_path = $o->{wiki}->uri_reference->path; |
616 |
for ($div->append_new_node (type => '#element', |
for ($div->append_new_node (type => '#element', |
617 |
namespace_uri => $NS_XHTML1, |
namespace_uri => $NS_XHTML1, |
618 |
local_name => 'script')) { |
local_name => 'script')) { |
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 |
|
|