$fd = popen($cmd, "r");
start_pre();
while (($s = fgets($fd, 102400)) != false) {
- $s = chunk_split($s, 800, "\n ");
+ if (strlen($s) > 800)) {
+ $s = chunk_split($s, 800, "\n ");
+ $s = trim($s);
+ }
$s = htmlspecialchars($s);
echo $s;
}
"alt=\""._("Powered by PLD Linux")."\" border=\"0\" /></a><br />\n" .
"<small>(c) 2002 ".
"<a href=\"mailto:feedback@pld-linux.org\">PLD Team</a><br />\n".
- '$Revision: 1.82 $'.
+ '$Revision: 1.83 $'.
"</small></div>\n";
# smile ;)
<!-- ech... niech strace... -->
<a href="mailto:feedback@pld-linux.org"><?=_("to us")?></a>. <?=_("Positive opinions are also")?>
<a href="mailto:feedback@pld-linux.org"><?=_("welcome")?></a> ;)</p>
-<p>Version: $Id: index.php,v 1.82 2005/09/04 12:40:04 arekm Exp $</p>
+<p>Version: $Id: index.php,v 1.83 2005/09/04 12:54:11 arekm Exp $</p>
</td><td width="20%"> </td></tr>
</table>
<?php