Merged silc_1_0_branch to trunk.
[silc.git] / scripts / silcdoc / gen_detail.php
index 1ab755bf914af622bf80d887350cd63f7e3012a3..f17fbbb92f9e91476ea44284e980a19a4eeb1a22 100644 (file)
@@ -7,8 +7,7 @@
 
   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
-  the Free Software Foundation; either version 2 of the License, or
-  (at your option) any later version.
+  the Free Software Foundation; version 2 of the License.
 
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -35,7 +34,7 @@ require "$page";
 </font>
 </td>
 
-<td>
+<td bgcolor="#dddddd">
 <table bgcolor="#dddddd" cellpadding=4 cellspacing=0 border=0 
 width="99%" align=center>
 <tr><td>
@@ -43,9 +42,9 @@ width="99%" align=center>
 
 <?php
 /* Get the index for this page */
-$len = strcspn($page, "_");
+$len = strcspn($page, "__");
 $fname = substr($page, 0, $len);
-require "$fname"."_index.tmpl";
+require "$fname"."__index.tmpl";
 ?>
 
 </font>