Rev 741 Rev 743
Line 103... Line 103...
103   103  
104   104  
105 echo "<table>\n"; 105 echo "<table>\n";
106   106  
107 if ($lang == "en") { 107 if ($lang == "en") {
108 echo "<tr><td>Preview</td><td>Name</td><td>PDF</td><td>XML</td><td>WebSVN</td></tr>\n"; 108 echo "<tr><td>Preview</td><td>Name</td><td>PDF</td><td>XML</td><td>WebSVN</td><td>Info</td></tr>\n";
109 } else { 109 } else {
110 echo "<tr><td>Náhled</td><td>Název</td><td>PDF</td><td>XML</td><td>WebSVN</td></tr>\n"; 110 echo "<tr><td>Náhled</td><td>Název</td><td>PDF</td><td>XML</td><td>WebSVN</td><td>Info</td></tr>\n";
111 } 111 }
112   112  
113 $adresar = opendir($path.$folder); 113 $adresar = opendir($path.$folder);
114 while ($soubor = readdir($adresar)){ 114 while ($soubor = readdir($adresar)){
115 if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".") && (substr($soubor,0,1) <> "!")) { 115 if ((Is_Dir($path.$folder."/".$soubor)) && (substr($soubor,0,1) <> ".") && (substr($soubor,0,1) <> "!")) {
Line 128... Line 128...
128 if (file_exists($path.$folder.'/'.$soubor."/".$info)) { 128 if (file_exists($path.$folder.'/'.$soubor."/".$info)) {
129 echo "<td><A HREF=".$www.$folder.'/'.$soubor."/".$info.">XML</A>\n"; 129 echo "<td><A HREF=".$www.$folder.'/'.$soubor."/".$info.">XML</A>\n";
130 } else { echo "\n<td>-</td>\n"; } 130 } else { echo "\n<td>-</td>\n"; }
131 echo "<td><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/\">WebSVN</a></td>\n"; 131 echo "<td><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/\">WebSVN</a></td>\n";
132 echo "</tr>\n\n"; 132 echo "</tr>\n\n";
-   133  
-   134  
133 } else { 135 } else {
-   136  
-   137  
134 echo "<tr>\n"; 138 echo "<tr>\n";
135 $adresar1 = opendir($path.$folder."/".$soubor); 139 $adresar1 = opendir($path.$folder."/".$soubor);
136 while ($soubor1 = readdir($adresar1)){ 140 while ($soubor1 = readdir($adresar1)){
137 if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) { 141 if ((Is_Dir($path.$folder."/".$soubor."/".$soubor1)) && (substr($soubor1,0,1) <> ".") && (substr($soubor1,0,1) <> "!")) {
138 $img = $soubor1."_Small.jpg"; 142 $img = $soubor1."_Small.jpg";