]> git.wh0rd.org - nano-editor.git/blobdiff - top.php
add a line break
[nano-editor.git] / top.php
diff --git a/top.php b/top.php
index 33b1724f36a31421ba7237f1368419bd06738044..658d443413a317431f658b3c121608c7af9dc214 100644 (file)
--- a/top.php
+++ b/top.php
@@ -1,33 +1,32 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+
 <head>
-   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-   <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.4.0 i686) [Netscape]">
-   <link REL="SHORTCUT ICON" HREF="/favicon.ico">
+   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+   <meta name="viewport" content="width=device-width, initial-scale=1.0">
+   <title>nano &ndash; <?= $title ?></title>
+<?php if (isset($mainpage)): ?>
+   <meta name="description" content="GNU nano is a small editor for on the terminal. It supports syntax highlighting, spell checking, justifying, completion, undo/redo...">
+<?php endif; ?>
+   <link rel="icon" href="/favicon.ico">
+   <link rel="stylesheet" href="style.css">
 </head>
-<body text="#440077" bgcolor="#FFFFFF" link="#440077" vlink="#51188E" alink="#FF0000">
 
-<table BORDER=0 CELLSPACING=0 COLS=1 WIDTH="100%" HEIGHT="8%">
-<tr><td HEIGHT="8%">
+<body>
+
+<table border=0 width="100%">
+<tr><td>
 
-<table BORDER=0 CELLSPACING=0 COLS=3 WIDTH="100%" BGCOLOR="#440077">
+<table id="top" border=0 width="100%" class="inverted">
 <tr>
 
-<td>
-<A HREF="/"><font color="#FFFFFF">The GNU nano homepage</font></A>
-</td>
-
-<td>
-<center><font color="#FFFFFF">Latest Version =
-<?php include "last-version"; ?>
-</font></center>
-</td>
-
-<td>
-<div align=right><font color="#FFFFFF">Modified:
-<?php include "last-modified"; ?>
-</font></div>
-</td>
+<td>Latest version:
+<?php include "last-version"; ?></td>
+
+<td align="center"><a href="/">The GNU nano homepage</a></td>
+
+<td align="right">Modified:
+<?php include "last-modified"; ?></td>
 
 </tr>
 </table>