';
foreach($primary_links as $link_name => $link) {
echo "{$link['attributes']['title']}";
}
if (!empty($content)) {
echo '' . l(t('Details'), '', array('fragment' => 'front_content')) . '';
}
echo '';
} // if (!empty($primary_links))
// TODO: Display the search form
?>
} // if ($is_front)
// Show the secondary links if they exist
if (!empty($secondary_links)) {
$links = '';
foreach($secondary_links as $link_name => $link) {
$links .= "{$link['attributes']['title']}";
// Don't display the secondary links if you're already looking at one.
if ($_GET['q'] == $link['href']) {
$links = '';
break;
}
}
if (!empty($content) && !empty($links)) {
$links .= '' . l(t('Details'), '', array('fragment' => $is_front ? 'front_content' : $_GET['q'])) . '';
}
if (!empty($links)) {
echo '';
}
} // if (!empty($secondary_links)
// Display main content
?>
=$content ?>