7 if ( current_filter() ===
'gform_previous_button' ) {
8 if ( $object->show_previous_button || $object->show_update_button ) {
13 if ( current_filter() ===
'gform_next_button' ) {
14 if ( $object->show_update_button ) {
20 <div
id=
"publishing-action">
32 $back_link = apply_filters(
'gravityview/edit_entry/cancel_link', remove_query_arg( array(
'page',
'view',
'edit' ) ), $object->form, $object->entry, $object->view_id );
41 do_action(
'gravityview/edit-entry/publishing-action/before', $object->form, $object->entry, $object->view_id );
45 if ( $object->show_previous_button ) {
46 $previous_tabindex = GFCommon::get_tabindex();
47 $previous_label = GFCommon::replace_variables(
$labels[
'previous'], $object->form, $object->entry );
49 <input
id=
"gform_previous_button_<?php echo esc_attr( $object->form['id'] ); ?>" class=
"btn btn-lg button button-large gform_button button-primary gv-button-previous" type=
"submit" <?php echo $previous_tabindex; ?> value=
"<?php echo esc_attr( $previous_label ); ?>" name=
"save" />
53 if ( $object->show_next_button ) {
54 $next_tabindex = GFCommon::get_tabindex();
55 $next_label = GFCommon::replace_variables(
$labels[
'next'], $object->form, $object->entry );
57 <input
id=
"gform_next_button_<?php echo esc_attr( $object->form['id'] ); ?>" class=
"btn btn-lg button button-large gform_button button-primary gv-button-next" type=
"submit" <?php echo $next_tabindex; ?> value=
"<?php echo esc_attr( $next_label ); ?>" name=
"save" />
61 if ( $object->show_update_button ) {
62 $update_tabindex = GFCommon::get_tabindex();
63 $update_label = GFCommon::replace_variables(
$labels[
'submit'], $object->form, $object->entry );
65 <input
id=
"gform_submit_button_<?php echo esc_attr( $object->form['id'] ); ?>" class=
"btn btn-lg button button-large gform_button button-primary gv-button-update" type=
"submit" <?php echo $update_tabindex; ?> value=
"<?php echo esc_attr( $update_label ); ?>" name=
"save" />
105 do_action(
'gravityview/edit-entry/publishing-action/after', $object->form, $object->entry, $object->view_id, $object->post_id );
107 <input type=
'hidden' name=
'update_count' value=
'<?php echo $update_count + 1; ?>'/>
108 <input type=
"hidden" name=
"action" value=
"update" />
109 <input type=
"hidden" name=
"lid" value=
"<?php echo esc_attr( $object->entry['id'] ); ?>" />