Only in ./: nib.patch
diff ./nodesinblock.admin.inc ../../nodesinblock_orig/nodesinblock.admin.inc
34,45c34
<   $form['nodesinblock']['nodesinblock_referer'] = array(
<     '#type' => 'checkbox',
<     '#title' => t('Use the referring page as the default value for <em>visibility</em> at the content node form'),
<     '#default_value' => variable_get('nodesinblock_referer', false),
<     '#prefix' => '<strong>'. t('Creating and modifying blocks') .':</strong>',
<   );
<   $form['nodesinblock']['nodesinblock_editbuttons'] = array(
<     '#type' => 'checkbox',
<     '#title' => t('Show an edit button near each block'),
<     '#default_value' => variable_get('nodesinblock_editbuttons', false),
<   );
<   
---
> 
diff ./nodesinblock.module ../../nodesinblock_orig/nodesinblock.module
116,119d115
<       } elseif (variable_get('nodesinblock_referer', false) && isset($_SERVER['HTTP_REFERER'])) {
<         $base = url(NULL, array('absolute' => TRUE)).'/';
<         if(strpos($_SERVER['HTTP_REFERER'], $base) === 0)
<           $node_info['visibility'] = str_replace($base, '', $_SERVER['HTTP_REFERER']);
373c369
<         
---
> 
384,385d379
<         if (variable_get('nodesinblock_editbuttons', 0) && node_access('update', $node))
<         	 $output .= l('('.t('edit').')', 'node/'.$node->nid.'/edit', array('query' => array('destination' => $path), 'attributes' => array('class' => 'nodesinblock-edit')));
