';
if ( isset($url['page'] ) )
{
$html .= '
'. strtoupper(translate('home')) . '';
}
else
{
$html .= ''. strtoupper(translate('home')) . '';
}
foreach ($link as $key => $value)
{
if ( isset($url['page']) && $url['page'] == $key)
{
$value = translate(strtolower($key));
$html .= '' . strtoupper($value). '';
}
else
{
$value = translate(strtolower($key));
$html .= '' . strtoupper($value). '';
}
}
$html .= '';
return $html;
}
/***
* Sublinks used in the administratoristration interface
*
* @param show_sublink();
* @param control link visibility/availability.
*/
function show_sublinks()
{
//-----------/* Initialize Link Array */
$link = array();
$link['entries'] = ucfirst(translate('entries'));
$link['pages'] = ucfirst(translate('pages'));
$link['categories'] = ucfirst(translate('categories'));
$link['links'] = ucfirst(translate('links'));
$link['users'] = ucfirst(translate('users'));
//-----------/* Sanitize URL variables */
if ( sanitize_url_var('page') )
{
$url['page'] = $_GET['page'];
}
//-----------/* Build html links */
$html = '';
$html .= '
';
$html .= '
';
return $html;
}
?>