$level, 'message' => $message]; } /** * Add an error message to be displayed at the top of the page * * @param string $message The message to be displayed */ function add_error(string $message): void { add_message('ERROR', $message); } /** * Add an error message to be displayed at the top of the page * * @param string $message The message to be displayed */ function add_info(string $message): void { add_message('INFO', $message); } /** * Render the page title * @param string $title The title of the page being displayed */ function page_head(string $title): void { ?> <?=$title?> | Feed Reader Central
Feed Reader Central
Add Feed'; if ($_REQUEST[Key::USER_EMAIL] != 'solouser@example.com') echo " | {$_REQUEST[Key::USER_EMAIL]}"; } ?>
{$msg['level']}
"?>