/** * lilina_nice_die() - {{@internal Missing Short Description}}} * * {{@internal Missing Long Description}}} */ function lilina_nice_die($message, $title = 'Whoops!', $class = false) { if ($title == 'Whoops!' && function_exists('_r')) { $title = _r('Whoops!'); } $guessurl = guess_baseurl(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title><?php echo $title; ?> — Lilina News Aggregator</title> <link rel="stylesheet" type="text/css" href="<?php echo $guessurl; ?> admin/resources/reset.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $guessurl; ?> install.css" /> </head> <body<?php if ($class !== false) { echo ' class="' . $class . '"'; } ?> > <div id="content"> <h1 id="title"><?php echo $title; ?> </h1> <?php echo $message; ?> </div> <div id="footer"> <p>Powered by <a href="http://getlilina.org/">Lilina</a> <span class="version"><?php echo LILINA_CORE_VERSION; ?> </span>. Read the <a href="http://codex.getlilina.org/">documentation</a> or get help on the <a href="http://getlilina.org/forums/">forums</a></p> </div> </body> </html> <?php die; }
/** * lilina_nice_die() - {{@internal Missing Short Description}}} * * {{@internal Missing Long Description}}} */ function lilina_nice_die($message, $title = 'Whoops!', $class = false) { $guessurl = guess_baseurl(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><?php echo $title; ?> — Lilina News Aggregator</title> <style type="text/css"> @import "<?php echo $guessurl; ?> install.css"; </style> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> </head> <body<?php if ($class !== false) { echo ' class="' . $class . '"'; } ?> > <div id="container"> <h1><?php echo $title; ?> </h1> <?php echo $message; ?> <img id="logo" src="<?php echo $guessurl; ?> admin/logo-small.png" alt="Lilina Logo" /> </div> </body> </html> <?php die; }