Location: PHPKode > projects > PhpEselGui - a PHP mldonkey gui > phpEselGui/rename.php
<?php
require("page_header.inc");
buildNav($isActive);
if ($isActive) {
	writeTitle($loc->rename);
	if ($HTTP_POST_VARS['id'] && $HTTP_POST_VARS['newName']) {
		$result=askDonkey("rename ".$HTTP_POST_VARS['id']." \"".$HTTP_POST_VARS['newName'].".".$HTTP_POST_VARS['extension']."\"");
		writeOutput($result);
	}
}
buildNav($isActive);
require("page_bottom.inc");
?>

Return current item: PhpEselGui - a PHP mldonkey gui