Regions in PHPTemplate
The PHPTemplate engine defines five default regions: left, right, content, header, and footer. To implement these regions, themes need only include $sidebar_left, $sidebar_right, $content, $header, and $footer_message variables in their page.tpl.php files, e.g., <?php print $header; ?>.
In this case, I am going to reuse the header region.
$header is a region, if it's printed, it's further be processed as blocks using block.tpl.php. Create a new template block-locale-0.tpl.phpto print out the language switch block:
<div id="langblock">
<div class="languages"><?php print $block->content; ?></div>
<div class="languages"><?php print $block->content; ?></div>
then css on $langblock
#langblock{
width: 970px;
margin:0px auto;
}
#langblock>ul>li{
float: right;
padding: 9px;
list-style: none;
}
width: 970px;
margin:0px auto;
}
#langblock>ul>li{
float: right;
padding: 9px;
list-style: none;
}