Add support for application-wide notes & how-tos

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-07-21 03:09:48 +02:00
committed by Alexander Nicolaysen Sørnes
parent 9ed113f6dc
commit e546738913
7 changed files with 139 additions and 30 deletions

View File

@@ -1171,15 +1171,7 @@ class version {
view_version_bugs($this->iVersionId, $this->get_buglink_ids());
/* display the notes for the application */
$hNotes = query_parameters("SELECT noteId FROM appNotes WHERE versionId = '?'",
$this->iVersionId);
while( $oRow = query_fetch_object($hNotes) )
{
$oNote = new Note($oRow->noteId);
$oNote->display();
}
echo note::displayNotesForEntry($this->iVersionId);
// Comments Section
if($this->iVersionId)