Rev 744 Rev 747
Line 93... Line 93...
93 } 93 }
94 /* KONFIGURACE */ 94 /* KONFIGURACE */
95 $path = '/var/www/Web'; 95 $path = '/var/www/Web';
96 $www = 'http://www.mlab.cz'; 96 $www = 'http://www.mlab.cz';
97 $folder = '/../Modules'; 97 $folder = '/../Modules';
98 /*$img = 'preview.jpg';*/ 98 /*$img = 'preview.jpg';*/
-   99 $info = 'ProjectInfo.xml';
99 $info = 'info.$lang.txt'; 100 $info1 = 'info.$lang.txt';
100   101  
101 /* KONEC KONFIGURACE */ 102 /* KONEC KONFIGURACE */
102   103  
103   104  
104   105  
Line 124... Line 125...
124 } else { echo "<td><b>".$soubor."</b></td>\n"; } 125 } else { echo "<td><b>".$soubor."</b></td>\n"; }
125 if (file_exists($path.$folder."/".$soubor."/".$soubor1."/DOC/".$soubor1.".".$lang.".pdf")) { 126 if (file_exists($path.$folder."/".$soubor."/".$soubor1."/DOC/".$soubor1.".".$lang.".pdf")) {
126 echo "\n<td><a href=\"".$www.$folder."/".$soubor."/DOC/".$soubor.".".$lang.".pdf\">PDF</a></td>\n"; 127 echo "\n<td><a href=\"".$www.$folder."/".$soubor."/DOC/".$soubor.".".$lang.".pdf\">PDF</a></td>\n";
127 } else { echo "\n<td>-</td>\n"; } 128 } else { echo "\n<td>-</td>\n"; }
128 if (file_exists($path.$folder.'/'.$soubor."/".$info)) { 129 if (file_exists($path.$folder.'/'.$soubor."/".$info)) {
129 echo "<td><A HREF=".$www.$folder.'/'.$soubor."/".$info.">XML</A>\n"; 130 echo "<td><A HREF=".$www.$folder.'/'.$soubor."/".$info.">XML</A></td>\n";
130 } else { echo "\n<td>-</td>\n"; } 131 } 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"; 132 echo "<td><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/\">WebSVN</a></td>\n";
-   133 if (file_exists($path.$folder.'/'.$soubor."/".$info1)) {
-   134 echo "<td>".wordwarp(ReadFile($www.$folder.'/'.$soubor."/".$info), 25, "<br>")."</td>\n";
-   135 } else { echo "\n<td><i>No description available!!</i></td>\n"; }
132 echo "</tr>\n\n"; 136 echo "</tr>\n\n";
133   137  
134   138  
135 } else { 139 } else {
136   140  
Line 155... Line 159...
155 } else { echo "\n<td>-</td>\n"; } 159 } else { echo "\n<td>-</td>\n"; }
156 if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info)) { 160 if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info)) {
157 echo "<td><a href=".$www.$folder.'/'.$soubor."/".$soubor1."/".$info.">XML</a></td>\n"; 161 echo "<td><a href=".$www.$folder.'/'.$soubor."/".$soubor1."/".$info.">XML</a></td>\n";
158 } else { echo "<td>-</td>\n"; } 162 } else { echo "<td>-</td>\n"; }
159 echo "<td><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/".$soubor1."/\">WebSVN</a></td>\n"; 163 echo "<td><a href=\"http://www.mlab.cz/WebSVN/listing.php?repname=MLAB&amp;path=/Modules/".$soubor."/".$soubor1."/\">WebSVN</a></td>\n";
-   164 if (file_exists($path.$folder.'/'.$soubor."/".$soubor1."/".$info1)) {
-   165 echo "<td>".wordwarp(ReadFile($www.$folder.'/'.$soubor."/".$soubor1."/".$info), 25, "<br>")."</td>\n";
-   166 } else { echo "\n<td><i>No description available!!</i></td>\n"; }
160 echo "</tr>\n\n"; 167 echo "</tr>\n\n";
161 } 168 }
162 } 169 }
163 } 170 }
164 } 171 }