• R/O
  • HTTP
  • SSH
  • HTTPS

jm: Commit

翻訳ドキュメント管理用


Commit MetaInfo

Révisionf970d451222a08247d43c1b8fb70e48f4dd793bf (tree)
l'heure2022-09-10 04:55:44
AuteurIIJIMA Hiromitsu <delmonta@denn...>
CommiterIIJIMA Hiromitsu

Message de Log

se enter the commit message for your changes. Lines starting
* Fixed security warning issue when you post a 'man on WWW' query from 'https'://linuxjm.osdn.jp/.
* Mobile device support (<meta name=viewport ...> and CSS fix).
* Commented out '_PLUG' and '_MIRROR_LIST' macros; they are not used anymore and the URLs are all dead.
* Some minor fixes.

Change Summary

Modification

--- a/www/contrib.css
+++ b/www/contrib.css
@@ -5,7 +5,7 @@ div.mirror-navigator {
55
66 div.copyright {
77 text-align: right;
8- font-family: helvetica, sans-serif;
8+ font-family: Helvetica, Arial, sans-serif;
99 font-size: smaller;
1010 color: rgb(40%,40%,40%)
1111 }
@@ -55,7 +55,7 @@ ul li {
5555 padding-bottom: 0.3em;
5656 }
5757
58-/* as of now, @import has not impremented in NN4 nor IE3-4 */
58+/* Local configs for browsing locally downloaded files */
5959 @import url(local.css)
6060
6161 /* EOF */
--- a/www/jm.css
+++ b/www/jm.css
@@ -5,7 +5,7 @@ div.mirror-navigator {
55
66 div.copyright {
77 text-align: right;
8- font-family: helvetica, sans-serif;
8+ font-family: Helvetica, Arial, sans-serif;
99 font-size: smaller;
1010 color: rgb(40%,40%,40%)
1111 }
@@ -31,6 +31,11 @@ div#googlesearch {
3131 width: 30em;
3232 }
3333
34+/* for narrower devices */
35+@media (max-width:30em) {
36+ div#googlesearch { width: 100%;}
37+}
38+
3439 body {
3540 background: lightcyan; /* BEIGE; */
3641 color: black;
@@ -95,8 +100,7 @@ pre {
95100 padding: 0em !important;
96101 }
97102
98-/* as of now, @import has not implemented in NN4 nor IE3-4 */
103+/* Local configs for browsing locally downloaded files */
99104 @import url(local.css)
100105
101106 /* EOF */
102-
--- a/www/jm_www.m4
+++ b/www/jm_www.m4
@@ -47,9 +47,15 @@ m4_define(`_EDIT_WARNING',`
4747 ====================================================================
4848 -->')
4949
50+m4_dnl -------------------------
51+m4_dnl URLを //linuxjm.osdn.jp/cgi-bin/man.cgi などとするとドコモの
52+m4_dnl ガラケーが正しく認識してくれない。少なくともガラケーのサポート期限
53+m4_dnl (ドコモ2026年3月末、ソフトバンク2024年1月半ば)まではこの形で
54+m4_dnl 維持すべきかと。
55+m4_dnl -------------------------
5056
51-m4_define(`_MANCGI',`http://linuxjm.osdn.jp/cgi-bin/man.cgi')
52-m4_define(`_NAMAZU',`http://linuxjm.osdn.jp/cgi-bin/namazu.cgi')
57+m4_define(`_MANCGI',`/cgi-bin/man.cgi')
58+m4_define(`_NAMAZU',`/cgi-bin/namazu.cgi')
5359
5460 m4_define(`_EMAIL_ADDRESS',linuxjm-discuss@lists.osdn.me)
5561
@@ -112,25 +118,26 @@ m4_define(`_LABEL',<A NAME="$1"><H2>$1</H2></A>)
112118
113119 m4_define(`_LINK_TO_LABEL', _LOCALLINK($1,$1))
114120
115-m4_define(`_PLUG',
116- _LINK(http://www.ssc.com/linux/,
117- _IMAGE(_HOMEPAGE/powered.gif,196,49))<BR>
118-`If you are wondering, Linux is a free, non-commercial
119-operating system for computers. It happens to be a hobby of
120-mine and might well interest other hackers. Click on the logo
121-to learn more...')
121+m4_dnl m4_define(`_PLUG',
122+m4_dnl _LINK(http://www.ssc.com/linux/,
123+m4_dnl _IMAGE(_HOMEPAGE/powered.gif,196,49))<BR>
124+m4_dnl `If you are wondering, Linux is a free, non-commercial
125+m4_dnl operating system for computers. It happens to be a hobby of
126+m4_dnl mine and might well interest other hackers. Click on the logo
127+m4_dnl to learn more...')
122128
123129 m4_define(`_HEADER', `
124130 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
125131 "http://www.w3.org/TR/REC-html40/loose.dtd">
126132 <HTML LANG="ja" DIR="LTR">
127133 <HEAD>
134+ <META NAME="viewport" CONTENT="width=device-width">
128135 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
129136 <TITLE>$1 (Japanese)</TITLE>
130137 <META NAME="DESCRIPTION" CONTENT="JM: $1">
131- <META NAME="author" LANG="en" CONTENT="JM Project Members">
132- <META NAME="copyright" CONTENT="(C) 1999 JM Project.">
133- <META NAME="keywords" CONTENT="JM, Linux, Japanese, Manual">
138+ <META NAME="author" CONTENT="JM Project Members" LANG="en">
139+ <META NAME="copyright" CONTENT="(C) 1999 JM Project.">
140+ <META NAME="keywords" CONTENT="JM, Linux, Japanese, Manual">
134141 <LINK REV="made" HREF="mailto:linuxjm-discuss@lists.osdn.me">
135142 <LINK REL="stylesheet" TYPE="text/css" HREF="_CSS">
136143 </HEAD>
@@ -140,13 +147,13 @@ m4_define(`_HEADER', `
140147 <H1>$1</H1>
141148 ')
142149
143-m4_define(`_MIRROR_LIST',`
144- <DIV CLASS="mirror-navigator">mirror server: [
145- <A HREF="http://www.linux.or.jp/JM/$1">primary</A> |
146- <A HREF="http://ktarn.www.linux.or.jp/JM/$1">ktarn</A> |
147- <A HREF="http://osaka-sandai.www.linux.or.jp/JM/$1">osaka-sandai</A>
148- ]</DIV>
149-')
150+m4_dnl m4_define(`_MIRROR_LIST',`
151+m4_dnl <DIV CLASS="mirror-navigator">mirror server: [
152+m4_dnl <A HREF="http://www.linux.or.jp/JM/$1">primary</A> |
153+m4_dnl <A HREF="http://ktarn.www.linux.or.jp/JM/$1">ktarn</A> |
154+m4_dnl <A HREF="http://osaka-sandai.www.linux.or.jp/JM/$1">osaka-sandai</A>
155+m4_dnl ]</DIV>
156+m4_dnl ')
150157
151158 m4_define(`_CREDITS',`
152159 <HR><!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
--- a/www/jmpod.css
+++ b/www/jmpod.css
@@ -54,7 +54,7 @@ ul li {
5454 padding-bottom: 0.3em;
5555 }
5656
57-/* as of now, @import has not impremented in NN4 nor IE3-4 */
57+/* Local configs for browsing locally downloaded files */
5858 @import url(local.css)
5959
6060 /* EOF */
Afficher sur ancien navigateur de dépôt.