XPressME Integration Kit

Trac

source: trunk/extras/my_themes/sidebar-footer.php @ 812

Last change on this file since 812 was 646, checked in by toemon, 14 years ago

role属性がW3C Validationで警告になるバグ修正 Fixes #364

File size: 737 bytes
RevLine 
[642]1<?php
2/**
3 * The Footer widget areas.
4 *
5 */
6        $side_bar_num = get_option('xpress_footer_sidebars_count');
7        if (empty($side_bar_num)) return;
[646]8//      echo "<div id=\"footer-widget-area\" role=\"complementary\">\n";
9        echo "<div id=\"footer-widget-area\">\n";
[642]10        for($i=1;$i <= $side_bar_num;$i++){
11                $sidebar_id = 'footer-widget-area-'.$i;
12                echo "\t<div class=\"widget-area-type{$side_bar_num}\">\n";
13                echo "\t\t<div id=\"{$sidebar_id}\" class=\"widget-area\">\n";
14                echo "\t\t\t<ul class=\"xoxo\">\n";
15                dynamic_sidebar( $sidebar_id );
16                echo "\t\t\t\n</ul>\n";
17                echo "\t\t</div><!-- #{$sidebar_id} -->\n";
18                echo "\t</div><!-- .widget-area-type{$side_bar_num} -->\n";
19        }
20        echo "</div><!-- #footer-widget-area -->\n";
21?>
Note: See TracBrowser for help on using the repository browser.