@@ 92-93 (lines=2) @@ | ||
89 | <!-- /#submitdiv --><!-- END PUBLISH DIV --><!-- TODO: minor column fields --> |
|
90 | <?php |
|
91 | if ( !in_array( 'navigate', $obj->actions_disabled ) && !in_array( 'navigate', $obj->actions_hidden ) ) { |
|
92 | if ( !isset( $singular_label ) ) |
|
93 | $singular_label = ucwords( str_replace( '_', ' ', $pod->pod_data[ 'name' ] ) ); |
|
94 | ||
95 | $singular_label = pods_v( 'label', $pod->pod_data[ 'options' ], $singular_label, true ); |
|
96 | $singular_label = pods_v( 'label_singular', $pod->pod_data[ 'options' ], $singular_label, true ); |
@@ 2791-2792 (lines=2) @@ | ||
2788 | if ( in_array( $action, $this->actions_hidden ) || in_array( $action, $this->actions_hidden ) ) |
|
2789 | continue; |
|
2790 | ||
2791 | if ( !isset( $action_data[ 'label' ] ) ) |
|
2792 | $action_data[ 'label' ] = ucwords( str_replace( '_', ' ', $action ) ); |
|
2793 | ?> |
|
2794 | <option value="<?php echo esc_attr( $action ); ?>"><?php echo esc_html( $action_data[ 'label' ] ); ?></option> |
|
2795 | <?php |
@@ 313-314 (lines=2) @@ | ||
310 | <!-- /#submitdiv --><!-- END PUBLISH DIV --><!-- TODO: minor column fields --> |
|
311 | <?php |
|
312 | if ( pods_v( 'action' ) == 'edit' && !$duplicate && !in_array( 'navigate', (array) $obj->actions_disabled ) && !in_array( 'navigate', (array) $obj->actions_hidden ) ) { |
|
313 | if ( !isset( $singular_label ) ) |
|
314 | $singular_label = ucwords( str_replace( '_', ' ', $pod->pod_data[ 'name' ] ) ); |
|
315 | ||
316 | $singular_label = pods_v( 'label', $pod_options, $singular_label, null, true ); |
|
317 | $singular_label = pods_v( 'label_singular', $pod_options, $singular_label, null, true ); |