| @@ 309-310 (lines=2) @@ | ||
| 306 | <!-- /#submitdiv --><!-- END PUBLISH DIV --><!-- TODO: minor column fields --> |
|
| 307 | <?php |
|
| 308 | if ( pods_var_raw( '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_var_raw( 'label', $pod->pod_data[ 'options' ], $singular_label, null, true ); |
|
| 313 | $singular_label = pods_var_raw( '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 ); |
|
| @@ 2733-2734 (lines=2) @@ | ||
| 2730 | if ( in_array( $action, $this->actions_hidden ) || in_array( $action, $this->actions_hidden ) ) |
|
| 2731 | continue; |
|
| 2732 | ||
| 2733 | if ( !isset( $action_data[ 'label' ] ) ) |
|
| 2734 | $action_data[ 'label' ] = ucwords( str_replace( '_', ' ', $action ) ); |
|
| 2735 | ?> |
|
| 2736 | <option value="<?php echo esc_attr( $action ); ?>"><?php echo esc_html( $action_data[ 'label' ] ); ?></option> |
|
| 2737 | <?php |
|