| @@ 309-310 (lines=2) @@ | ||
| 306 | <!-- /#submitdiv --><!-- END PUBLISH DIV --><!-- TODO: minor column fields --> |
|
| 307 | <?php |
|
| 308 | if ( pods_v( 'action' ) == 'edit' && !$duplicate && !in_array( 'navigate', (array) $obj->actions_disabled ) && !in_array( 'navigate', (array) $obj->actions_hidden ) ) { |
|
| 309 | if ( !isset( $singular_label ) ) |
|
| 310 | $singular_label = ucwords( str_replace( '_', ' ', $pod->pod_data[ 'name' ] ) ); |
|
| 311 | ||
| 312 | $singular_label = pods_v( 'label', $pod->pod_data[ 'options' ], $singular_label, null, true ); |
|
| 313 | $singular_label = pods_v( 'label_singular', $pod->pod_data[ 'options' ], $singular_label, null, true ); |
|
| @@ 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 ); |
|
| @@ 2771-2772 (lines=2) @@ | ||
| 2768 | if ( in_array( $action, $this->actions_hidden ) || in_array( $action, $this->actions_hidden ) ) |
|
| 2769 | continue; |
|
| 2770 | ||
| 2771 | if ( !isset( $action_data[ 'label' ] ) ) |
|
| 2772 | $action_data[ 'label' ] = ucwords( str_replace( '_', ' ', $action ) ); |
|
| 2773 | ?> |
|
| 2774 | <option value="<?php echo esc_attr( $action ); ?>"><?php echo esc_html( $action_data[ 'label' ] ); ?></option> |
|
| 2775 | <?php |
|