示例#1
0
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * OpenMediaVault is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.
 */
require_once "openmediavault/env.inc";
require_once "openmediavault/product.inc";
$prd = new OMVProduct();
$title = sprintf("%s - %s", $prd->getName(), gettext("Web administration interface"));
?>
<!DOCTYPE html>
<html>
	<head>
		<title><?php 
echo $title;
?>
</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="shortcut icon" type="image/x-icon" href="favicon.ico"/>
		<link rel="stylesheet" type="text/css" href="css/omv.css"/>
	</head>
	<body class="shutdown-page">
		<a href='/'><div class="shutdown-icon"></div></a>
		<a title='<?php 
示例#2
0
文件: 404.php 项目: svn2github/omv2
 * along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.
 */
require_once "openmediavault/env.inc";
require_once "openmediavault/product.inc";
$prd = new OMVProduct();
?>
<!DOCTYPE html>
<html>
	<head>
		<title>Page not found</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="shortcut icon" type="image/x-icon" href="favicon.ico"/>
		<link rel="stylesheet" type="text/css" href="css/omv.css"/>
	</head>
	<body class="error-page">
		<div class="error-icon"></div>
		<center>
            <h1>Error 404</h1>
            <p>Sorry, the page you requested was not found.</p>
        </center>
        <hr>
		<a title='<?php 
echo $prd->getName();
?>
' href='<?php 
echo $prd->getURL();
?>
' target='_blank'><div class="product-logo"></div></a>
	</body>
</html>