';
foreach ($nav as $item) {
echo '
';
html_link($item[0], $item[1], $item[2], $item[3]);
echo ' |
'; }
// Finish off the table
echo '';
}
} //End function html_verticalnavigation()
/*
Site navigation presented horizontally
*/
function html_horizontalnavigation($nav = '') {
debug_msg ("FUNCTION: ".__FUNCTION__,3);
if ($nav !== ''){
// Start the table
echo '';
foreach ($nav as $item) {
echo '';
html_link($item[0], $item[1], $item[2], $item[3]);
echo ' | ';
}
// Finish off the table
echo '
';
}
} //End function html_horizontalnavigation()
/*
Function to create an HTML link
*/
function html_link($href, $text = '', $status = '', $target = ''){
debug_msg ("FUNCTION: ".__FUNCTION__,3);
// Start the link
echo '';
if ($text == ''){
echo $href;
}else{
echo $text;
}
// Finish off the link
echo '';
} // end function html_link($href, $text = $href, $status = '', $target = '')
/*
HTML Page header
*/
function html_header($title = '', $description = '', $keywords = '', $javascript='') {
debug_msg ("FUNCTION: ".__FUNCTION__,3);
header ("Content-Type: text/html; charset=utf-8");
debug_msg (" Title: ".$title,4);
debug_msg ("Description: ".$description,4);
debug_msg (" Keywords: ".$keywords,4);
debug_msg (" JavaScript: ".$javascript,4);
?>
'."\n";
echo ''."\n";
}
?>
|
A tool to assist with the configuration & management of Serendipty Installations
|
|
|
© 2006 Chris Lander
All logos and trademarks in this site are property of their respective owner.
This application is licenced under the GNU General Public Licence
|
|