Revision 5ebd8e7a
Von Hans Peter Schlaepfer vor etwa 4 Jahren hinzugefügt
SL/Layout/Split.pm | ||
---|---|---|
18 | 18 |
my $left = join '', map { $_->pre_content } @{ $_[0]->left || [] }; |
19 | 19 |
my $right = join '', map { $_->pre_content } @{ $_[0]->right || [] }; |
20 | 20 |
|
21 |
html_tag('div', $left, class => 'layout-split-left')
|
|
22 |
.'<div class="layout-split-right">' . $right;
|
|
21 |
html_tag('div', $left, id => 'layout-split-left')
|
|
22 |
.'<div id="layout-split-right">' . $right;
|
|
23 | 23 |
} |
24 | 24 |
|
25 | 25 |
sub post_content { |
26 | 26 |
my $left = join '', map { $_->post_content } @{ $_[0]->left || [] }; |
27 | 27 |
my $right = join '', map { $_->post_content } @{ $_[0]->right || [] }; |
28 | 28 |
|
29 |
$right . '</div>' |
|
29 |
$right . '</div><!-- /#layout-split-right -->'
|
|
30 | 30 |
. html_tag('div', $left, class => 't-layout-left'); |
31 | 31 |
} |
32 | 32 |
|
Auch abrufbar als: Unified diff
Design 4.0: Layout::Split: id statt class; Kommentar in css