|
@@ -11,7 +11,7 @@ discard block |
|
|
block discarded – undo |
|
11
|
11
|
add_action( 'gform_entries_first_column_actions', array( $this, 'add_edit_link' ), 10, 5 ); |
|
12
|
12
|
|
|
13
|
13
|
// Add script to enable edit link |
|
14
|
|
- add_action( 'admin_head', array( $this, 'add_edit_script') ); |
|
|
14
|
+ add_action( 'admin_head', array( $this, 'add_edit_script' ) ); |
|
15
|
15
|
} |
|
16
|
16
|
|
|
17
|
17
|
/** |
|
@@ -60,14 +60,14 @@ discard block |
|
|
block discarded – undo |
|
60
|
60
|
'page' => 'gf_entries', |
|
61
|
61
|
'view' => 'entry', |
|
62
|
62
|
'id' => (int)$form_id, |
|
63
|
|
- 'lid' => (int)$lead["id"], |
|
|
63
|
+ 'lid' => (int)$lead[ "id" ], |
|
64
|
64
|
'screen_mode' => 'edit', |
|
65
|
65
|
); |
|
66
|
66
|
?> |
|
67
|
67
|
|
|
68
|
68
|
<span class="edit edit_entry"> |
|
69
|
69
|
| |
|
70
|
|
- <a title="<?php esc_attr_e( 'Edit this entry', 'gravityview'); ?>" href="<?php echo esc_url( add_query_arg( $params, admin_url( 'admin.php?page='.$query_string ) ) ); ?>"><?php esc_html_e( 'Edit', 'gravityview' ); ?></a> |
|
|
70
|
+ <a title="<?php esc_attr_e( 'Edit this entry', 'gravityview' ); ?>" href="<?php echo esc_url( add_query_arg( $params, admin_url( 'admin.php?page=' . $query_string ) ) ); ?>"><?php esc_html_e( 'Edit', 'gravityview' ); ?></a> |
|
71
|
71
|
</span> |
|
72
|
72
|
<?php |
|
73
|
73
|
} |
Please login to merge, or discard this patch.