"; } @fclose ($fd); $text = select_all_but_devs_from_version($alltext, substr($version,0,7)); $res = '
'.$version.' - '.date("F j, Y").'
'; $res .= "

New Features:

\n
    \n"; $res .= search_for_modif($text, 'FEATURE'); $res .= "
"; $res .= "

Changes:

\n
    \n"; $res .= search_for_modif($text, 'CHANGE'); $res .= "
"; $res .= "

Corrected bugs:

\n
    \n"; $res .= search_for_modif($text, 'BUGFIX'); $res .= "
"; $res .="\n"; $res .="
\n\ntop \"\" "; if ($CVS) { $handle = fopen("chlogs/changelogCVS.php", "w"); fwrite($handle, $res); fclose($handle); echo 'Success! '; echo ' changelogCVS.php updated!'; } else { $handle = fopen("chlogs/changelog".str_replace(".", "", $version).".php", "w"); fwrite($handle, $res); fclose($handle); echo 'Success! '; echo ' changelog_'.str_replace(".", "", $version).'.php created!'; echo "

"; echo $res; } if (@$_GET['verbose']) { include ("changelog.php"); } ?>