mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 07:27:59 -08:00
Convert the bgplg html pages to HTML5.
From Clemens Gößnitzer (clemens (at) goessnitzer.info) Looks good to bentley@
This commit is contained in:
parent
ddbc4864f1
commit
b11663eac4
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: bgplg.c,v 1.19 2018/03/05 10:53:37 denis Exp $ */
|
||||
/* $OpenBSD: bgplg.c,v 1.20 2024/02/09 12:56:53 claudio Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org>
|
||||
@ -260,17 +260,15 @@ main(void)
|
||||
|
||||
printf("Content-Type: %s\n"
|
||||
"Cache-Control: no-cache\n\n"
|
||||
"<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"
|
||||
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" "
|
||||
"\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n"
|
||||
"<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
|
||||
"<!doctype html>\n"
|
||||
"<html>\n"
|
||||
"<head>\n"
|
||||
"<title>%s</title>\n",
|
||||
CONTENT_TYPE, myname);
|
||||
if (stat(INC_STYLE, &st) == 0) {
|
||||
printf("<style type='text/css'><!--\n");
|
||||
printf("<style>\n");
|
||||
lg_incl(INC_STYLE);
|
||||
printf("--></style>\n");
|
||||
printf("</style>\n");
|
||||
}
|
||||
if (stat(INC_HEAD, &st) != 0 || lg_incl(INC_HEAD) != 0) {
|
||||
printf("</head>\n"
|
||||
@ -308,8 +306,8 @@ main(void)
|
||||
}
|
||||
|
||||
printf("</select>\n"
|
||||
"<input type='text' value='%s' name='req'/>\n"
|
||||
"<input type='submit' value='submit'/>\n"
|
||||
"<input type='text' value='%s' name='req'>\n"
|
||||
"<input type='submit' value='submit'>\n"
|
||||
"</div>\n"
|
||||
"</form>\n"
|
||||
"<pre>\n", req ? req : "");
|
||||
|
@ -1,2 +1,2 @@
|
||||
</div>
|
||||
<hr/>
|
||||
<hr>
|
||||
|
@ -2,5 +2,5 @@
|
||||
<body style="text-align: center">
|
||||
<div style="margin: 0px auto; text-align: left; width: 800px;">
|
||||
<a href="http://www.openbgp.org/">
|
||||
<img src="/bgplg/openbgpd.gif" alt="OpenBGPD"/>
|
||||
<img src="/bgplg/openbgpd.gif" alt="OpenBGPD">
|
||||
</a>
|
||||
|
@ -1,9 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!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">
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>bgplg...</title>
|
||||
<meta http-equiv="refresh" content="1; URL=/cgi-bin/bgplg"/>
|
||||
<meta http-equiv="refresh" content="1; URL=/cgi-bin/bgplg">
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="/cgi-bin/bgplg">bgplg...</a></h1>
|
||||
|
Loading…
Reference in New Issue
Block a user