Add support for application-wide notes

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-07-28 17:48:52 +02:00
parent 7682b4ae67
commit c37fbc6295
5 changed files with 110 additions and 30 deletions

View File

@@ -1179,15 +1179,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)