[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debian JP master SVN www commits (rev.121)



=======================================================
Repository: /org/svn.debian.or.jp/repos
  Revision: 121
  Commiter: kmuto
      Date: 2007-01-05 00:46:55 +0900 (金, 05  1月 2007)
=======================================================
Log:

head/foot link as absolute path

=======================================================
Changed:

U   www/trunk/blosxom/data/flavours/foot.html
U   www/trunk/blosxom/data/flavours/head.html
U   www/trunk/blosxom/data/flavours/maketemplate.pl

Modified: www/trunk/blosxom/data/flavours/foot.html
===================================================================
--- www/trunk/blosxom/data/flavours/foot.html	2007-01-04 14:59:48 UTC (rev 120)
+++ www/trunk/blosxom/data/flavours/foot.html	2007-01-04 15:46:55 UTC (rev 121)
@@ -5,18 +5,18 @@
 <div class="footer">
 	<p>
 	このページに関するご感想・ご質問は
-	<a href="../project/index.html#webadmin">webadmin at debian.or.jp</a>
+	<a href="/project/index.html#webadmin">webadmin at debian.or.jp</a>
 	までお送りください。</p>
 	<p>
 	<span class="copyright">Copyright &copy;</span>
 	Debian JP Project / 
-	<a href="../project/license.html">ライセンス条項</a>を見る。</p>
+	<a href="/project/license.html">ライセンス条項</a>を見る。</p>
 	<p>
-	<a href="http://www.debian.org/";><img src="../image/debian.gif" width="80" height="15" title="Debian" alt="powered by Debian"></a>
+	<a href="http://www.debian.org/";><img src="/image/debian.gif" width="80" height="15" title="Debian" alt="powered by Debian"></a>
 	<a href="http://validator.w3.org/check?uri=referer";>
-	<img src="../image/slogo_html401.png" width="80" height="15" title="HTML 4.01" alt="Valid HTML 4.01!"></a>
+	<img src="/image/slogo_html401.png" width="80" height="15" title="HTML 4.01" alt="Valid HTML 4.01!"></a>
 	<a href="http://jigsaw.w3.org/css-validator/";>
-	<img src="../image/w3c_validcssb.png" width="80" height="15" title="CSS" alt="Valid CSS!"></a></p>
+	<img src="/image/w3c_validcssb.png" width="80" height="15" title="CSS" alt="Valid CSS!"></a></p>
 </div>
 </body>
 </html>
\ No newline at end of file

Modified: www/trunk/blosxom/data/flavours/head.html
===================================================================
--- www/trunk/blosxom/data/flavours/head.html	2007-01-04 14:59:48 UTC (rev 120)
+++ www/trunk/blosxom/data/flavours/head.html	2007-01-04 15:46:55 UTC (rev 121)
@@ -4,10 +4,10 @@
  <meta http-equiv="Keywords" content="Debian JP Project">
  <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
  <meta http-equiv="Content-Style-Type" content="text/css">
- <link rel="INDEX" href="../index.html">
- <link rel="Debian-JP icon" href="../favicon.ico">
+ <link rel="INDEX" href="/index.html">
+ <link rel="Debian-JP icon" href="/favicon.ico">
 <link rel="alternate" type="application/rss+xml" title="RSS" href="$url/index.rss" />
- <link rel="stylesheet" type="text/css" href="../css/debianjp.css" media="all">
+ <link rel="stylesheet" type="text/css" href="/css/debianjp.css" media="all">
 
  <link rev="made" href="webadmin at debian.or.jp">
  <title>Debian JP Project - 最近の話題</title>
@@ -15,7 +15,7 @@
 <body>
 <div class="header">
 <H1>
-<a href="../."><img src="../image/JPLogo2.1.jpg" width="222" height="79" alt="Debian JP Project"></a>
+<a href="/."><img src="/image/JPLogo2.1.jpg" width="222" height="79" alt="Debian JP Project"></a>
 </H1>
 
 <p style="font-size: 80%">(for vocal browsers: <a href="#TOC">toc</a>, <a href="#MAIN">main</a>)
@@ -40,13 +40,13 @@
 </div>
 
 <div class="menu">
-[ <a href="../index.html">トップ</a>
+[ <a href="/index.html">トップ</a>
  | 
-  <a href="../using/">導入と利用</a>
+  <a href="/using/">導入と利用</a>
  | 
-  <a href="../community/">コミュニティ</a>
+  <a href="/community/">コミュニティ</a>
  | 
-  <a href="../project/">Debian JP Project</a>
+  <a href="/project/">Debian JP Project</a>
  ]
 </div>
 <hr>
@@ -54,37 +54,37 @@
  <div class="section">
  <h2>おしらせ</h2>
  <ul>
-<li><a href="../blog/">最近の話題</a></li>
+<li><a href="/blog/">最近の話題</a></li>
   <li><a href="http://www.jp.debian.org/News/weekly/";>Debian ウィークリーニュース</a></li>
  </ul>
 
  <h2>Debian の導入と利用</h2>
  <ul>
-<li><a href="../using/">始めの一歩</a></li>
-  <li><a href="../using/release.html">リリース情報</a></li>
-  <li><a href="../using/book.html">書籍情報</a></li>
-  <li><a href="../using/">&raquo;</a></li>
+<li><a href="/using/">始めの一歩</a></li>
+  <li><a href="/using/release.html">リリース情報</a></li>
+  <li><a href="/using/book.html">書籍情報</a></li>
+  <li><a href="/using/">&raquo;</a></li>
  </ul>
 
  <h2>コミュニティ</h2>
  <ul>
-<li><a href="../community/">概要</a></li>
-  <li><a href="../community/ml/">メーリングリスト</a></li>
-  <li><a href="../community/irc.html">IRC</a></li>
-  <li><a href="../community/bugreport.html">バグ報告</a></li>
-  <li><a href="../community/events/">イベント</a></li>
-  <li><a href="../community/devel/">開発者のコーナー</a></li>
-  <li><a href="../community/translate/">執筆者/翻訳者のコーナー</a></li>
-  <li><a href="../community/">&raquo;</a></li>
+<li><a href="/community/">概要</a></li>
+  <li><a href="/community/ml/">メーリングリスト</a></li>
+  <li><a href="/community/irc.html">IRC</a></li>
+  <li><a href="/community/bugreport.html">バグ報告</a></li>
+  <li><a href="/community/events/">イベント</a></li>
+  <li><a href="/community/devel/">開発者のコーナー</a></li>
+  <li><a href="/community/translate/">執筆者/翻訳者のコーナー</a></li>
+  <li><a href="/community/">&raquo;</a></li>
  </ul>
 
  <h2>Debian JP Project</h2>
  <ul>
-<li><a href="../project/">Project について</a></li>
-  <li><a href="../project/organization.html">組織構成</a></li>
-  <li><a href="../project/join.html">参加しませんか?</a></li>
-  <li><a href="../project/donations.html">支援/スポンサー</a></li>
-  <li><a href="../project/">&raquo;</a></li>
+<li><a href="/project/">Project について</a></li>
+  <li><a href="/project/organization.html">組織構成</a></li>
+  <li><a href="/project/join.html">参加しませんか?</a></li>
+  <li><a href="/project/donations.html">支援/スポンサー</a></li>
+  <li><a href="/project/">&raquo;</a></li>
  </ul>
  </div>
 </div>

Modified: www/trunk/blosxom/data/flavours/maketemplate.pl
===================================================================
--- www/trunk/blosxom/data/flavours/maketemplate.pl	2007-01-04 14:59:48 UTC (rev 120)
+++ www/trunk/blosxom/data/flavours/maketemplate.pl	2007-01-04 15:46:55 UTC (rev 121)
@@ -6,7 +6,7 @@
 my($ref) = "/blog/dummy.html";
 my($flag) = 0;
 
-open(F, "../../ttreerc") || die "Can't open ttreerc: $!\n";
+open(F, "../../../ttreerc") || die "Can't open ttreerc: $!\n";
 while (<F>) {
     if (/^dest = (.*)/) {
 	$dest = $1 . $ref;
@@ -30,11 +30,15 @@
     }
 
     if ($flag == 0) {
+	s/\"\.\./\"\//g;
+	s/=\"\/\//=\"\//g;
 	print HEAD;
 	if (/<link rel="Debian-JP icon" /) {
 	    print HEAD "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"\$url/index.rss\" />";
 	}
     } elsif ($flag == 2) {
+	s/\"\.\./\"\//g;
+	s/=\"\/\//=\"\//g;
 	print FOOT;
     }
 }