|
@@ -44,30 +44,30 @@ discard block |
|
|
block discarded – undo |
|
44
|
44
|
|
|
45
|
45
|
if ( $object->show_previous_button ) { |
|
46
|
46
|
$previous_tabindex = GFCommon::get_tabindex(); |
|
47
|
|
- $previous_label = GFCommon::replace_variables( $labels['previous'], $object->form, $object->entry ); |
|
|
47
|
+ $previous_label = GFCommon::replace_variables( $labels[ 'previous' ], $object->form, $object->entry ); |
|
48
|
48
|
?> |
|
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" /> |
|
|
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" /> |
|
50
|
50
|
<?php |
|
51
|
51
|
} |
|
52
|
52
|
|
|
53
|
53
|
if ( $object->show_next_button ) { |
|
54
|
|
- $next_tabindex = GFCommon::get_tabindex(); |
|
55
|
|
- $next_label = GFCommon::replace_variables( $labels['next'], $object->form, $object->entry ); |
|
|
54
|
+ $next_tabindex = GFCommon::get_tabindex(); |
|
|
55
|
+ $next_label = GFCommon::replace_variables( $labels[ 'next' ], $object->form, $object->entry ); |
|
56
|
56
|
?> |
|
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" /> |
|
|
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" /> |
|
58
|
58
|
<?php |
|
59
|
59
|
} |
|
60
|
60
|
|
|
61
|
61
|
if ( $object->show_update_button ) { |
|
62
|
|
- $update_tabindex = GFCommon::get_tabindex(); |
|
63
|
|
- $update_label = GFCommon::replace_variables( $labels['submit'], $object->form, $object->entry ); |
|
|
62
|
+ $update_tabindex = GFCommon::get_tabindex(); |
|
|
63
|
+ $update_label = GFCommon::replace_variables( $labels[ 'submit' ], $object->form, $object->entry ); |
|
64
|
64
|
?> |
|
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" /> |
|
|
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" /> |
|
66
|
66
|
<?php |
|
67
|
67
|
} |
|
68
|
68
|
|
|
69
|
|
- $cancel_tabindex = GFCommon::get_tabindex(); |
|
70
|
|
- $cancel_label = GFCommon::replace_variables( $labels['cancel'], $object->form, $object->entry ); |
|
|
69
|
+ $cancel_tabindex = GFCommon::get_tabindex(); |
|
|
70
|
+ $cancel_label = GFCommon::replace_variables( $labels[ 'cancel' ], $object->form, $object->entry ); |
|
71
|
71
|
?> |
|
72
|
72
|
<a class="btn btn-sm button button-small gv-button-cancel" onclick="history.back(); return false;" <?php echo $cancel_tabindex; ?> href="<?php echo esc_url( $back_link ); ?>"><?php echo esc_attr( $cancel_label ); ?></a> |
|
73
|
73
|
<?php |
|
@@ -88,5 +88,5 @@ discard block |
|
|
block discarded – undo |
|
88
|
88
|
|
|
89
|
89
|
?> |
|
90
|
90
|
<input type="hidden" name="action" value="update" /> |
|
91
|
|
- <input type="hidden" name="lid" value="<?php echo esc_attr( $object->entry['id'] ); ?>" /> |
|
|
91
|
+ <input type="hidden" name="lid" value="<?php echo esc_attr( $object->entry[ 'id' ] ); ?>" /> |
|
92
|
92
|
</div> |