OSDN Git Service

Fix some lint warnings
[shogi-server/shogi-server.git] / mk_html
diff --git a/mk_html b/mk_html
index 8712149..6dfd3b1 100755 (executable)
--- a/mk_html
+++ b/mk_html
@@ -1,11 +1,11 @@
-#!/usr/bin/ruby1.9.1
+#!/usr/bin/ruby
 # $Id$
 #
 # Author:: Daigo Moriwaki
 # Homepage:: http://sourceforge.jp/projects/shogi-server/
 #
 #--
-# Copyright (C) 2006-2008 Daigo Moriwaki <daigo at debian dot org>
+# Copyright (C) 2006-2012 Daigo Moriwaki <daigo at debian dot org>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -41,9 +41,9 @@
 #
 # == Prerequire
 #
-# * Ruby 1.9.3 or 1.8.7
+# * Ruby 2.0.0 or later
 #
-#   $ sudo aptitude install ruby ruby1.9.1
+#   $ sudo aptitude install ruby ruby
 #
 # == Example
 #
@@ -172,7 +172,7 @@ def main
   %>
   <tr class="<%=player_decoration%>">
     <td class="name">
-        <a id="popup<%=popup_id+=1%>" href="http://wdoor.c.u-tokyo.ac.jp/shogi/tools/view/show-player.cgi?event=LATEST&amp;filter=floodgate&amp;show_self_play=1&amp;user=<%=u key%>"><%= h yaml[key]['name'] %></a>
+        <a id="popup<%=popup_id+=1%>" href="/shogi/view/show-player.cgi?event=LATEST&amp;filter=floodgate&amp;show_self_play=1&amp;user=<%=u key%>"><%= h yaml[key]['name'] %></a>
         <script type="text/javascript">
           var tooltip<%=popup_id%> = new YAHOO.widget.Tooltip("myTooltip", {
             context:"popup<%=popup_id%>",