On the entry detail screen I would like to add a Notes section in GF 1.6 on the right hand side— basically to make it match the notes section in GF 1.5.
I placed the following code between lines 367 and 379 in the entry_detail.php file:
<!-- =Begin Custom Notes Section EDITED by MD -->
<div class="postbox">
<h3 style="cursor:default;"><span>Notes</span></h3>
<div class="inside">
<textarea name="new_note" style="width:100%; height:100px; margin-bottom:4px;"></textarea>
<?php
$note_button = '<input type="submit" name="add_note" value="' . __("Add Note", "gravityforms") . '" class="button" style="width:60px;" onclick="jQuery(\'#action\').val(\'add_note\');"/>';
echo apply_filters("gform_addnote_button", $note_button);
?>
</div>
</div>
<!-- =End Custom Notes Section EDITED by MD -->
As expected this code adds a new note, but each note created is empty.