示例#1
0
function thesis_get_sidebar($sidebar = 1)
{
    echo '			<div id="sidebar_' . $sidebar . '" class="sidebar">' . "\n";
    echo '				<ul class="sidebar_list">' . "\n";
    if ($sidebar == 1) {
        thesis_sidebar_1();
    } elseif ($sidebar == 2) {
        thesis_sidebar_2();
    }
    echo '				</ul>' . "\n";
    echo '			</div>' . "\n";
}
示例#2
0
function thesis_get_sidebar($sidebar = 1)
{
    echo "\t\t\t<div id=\"sidebar_{$sidebar}\" class=\"sidebar\">\n";
    echo "\t\t\t\t<ul class=\"sidebar_list\">\n";
    if ($sidebar == 1) {
        thesis_sidebar_1();
    } elseif ($sidebar == 2) {
        thesis_sidebar_2();
    }
    echo "\t\t\t\t</ul>\n";
    echo "\t\t\t</div>\n";
}