]> git.wh0rd.org - nano-editor.git/blobdiff - top.php
put the <title> tag inside the <head> section of each page
[nano-editor.git] / top.php
diff --git a/top.php b/top.php
index 3fffb1b7e98483f9ab6b189df345d9e9251fd257..e65903563aa0e070cb6b995447db70b95f55fb6e 100644 (file)
--- a/top.php
+++ b/top.php
@@ -1,32 +1,36 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
+<html lang="en">
+
 <head>
 <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">
+   <title><?= $title ?></title>
+   <link rel="icon" href="/favicon.ico">
+   <link rel="stylesheet" href="style-dark.css" media="(prefers-color-scheme: dark)"/>
+   <link rel="stylesheet" href="style-light.css" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"/>
 </head>
 </head>
-<body text="#440077" bgcolor="#FFFFFF" link="#440077" vlink="#51188E" alink="#FF0000">
+
+<body>
 
 <table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="8%">
 <tr><td>
 
 
 <table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="8%">
 <tr><td>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" BGCOLOR="#440077">
+<table BORDER=0 CELLSPACING=0 WIDTH="100%" CLASS="inverted">
 <tr>
 
 <td>
 <tr>
 
 <td>
-<A HREF="/"><font color="#FFFFFF">The GNU nano homepage</font></A>
+&nbsp;Latest version:
+<?php include "last-version"; ?>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </td>
 
 </td>
 
-<td>
-<center><font color="#FFFFFF">Latest Version =
-<?php include "last-version"; ?>
-</font></center>
+<td align="center">
+<a href="/">The GNU nano homepage</a>
 </td>
 
 </td>
 
-<td>
-<div align=right><font color="#FFFFFF">Modified:
+<td align="right">
+Modified:
 <?php include "last-modified"; ?>
 <?php include "last-modified"; ?>
-</font></div>
+&nbsp;
 </td>
 
 </tr>
 </td>
 
 </tr>