classes/PodsUI.php 1 location
|
@@ 3085-3086 (lines=2) @@
|
| 3082 |
|
if ( in_array( $action, $this->actions_hidden ) || in_array( $action, $this->actions_hidden ) ) { |
| 3083 |
|
continue;} |
| 3084 |
|
|
| 3085 |
|
if ( ! isset( $action_data['label'] ) ) { |
| 3086 |
|
$action_data['label'] = ucwords( str_replace( '_', ' ', $action ) );} |
| 3087 |
|
?> |
| 3088 |
|
<option value="<?php echo esc_attr( $action ); ?>"><?php echo esc_html( $action_data['label'] ); ?></option> |
| 3089 |
|
<?php |
ui/admin/form.php 1 location
|
@@ 335-336 (lines=2) @@
|
| 332 |
|
<!-- /#submitdiv --><!-- END PUBLISH DIV --><!-- TODO: minor column fields --> |
| 333 |
|
<?php |
| 334 |
|
if ( pods_v( 'action' ) == 'edit' && ! $duplicate && ! in_array( 'navigate', (array) $obj->actions_disabled ) && ! in_array( 'navigate', (array) $obj->actions_hidden ) ) { |
| 335 |
|
if ( ! isset( $singular_label ) ) { |
| 336 |
|
$singular_label = ucwords( str_replace( '_', ' ', $pod->pod_data['name'] ) ); |
| 337 |
|
} |
| 338 |
|
|
| 339 |
|
$singular_label = pods_v( 'label', $pod_options, $singular_label, null, true ); |
ui/admin/view.php 1 location
|
@@ 97-98 (lines=2) @@
|
| 94 |
|
<!-- /#submitdiv --><!-- END PUBLISH DIV --><!-- TODO: minor column fields --> |
| 95 |
|
<?php |
| 96 |
|
if ( ! in_array( 'navigate', $obj->actions_disabled ) && ! in_array( 'navigate', $obj->actions_hidden ) ) { |
| 97 |
|
if ( ! isset( $singular_label ) ) { |
| 98 |
|
$singular_label = ucwords( str_replace( '_', ' ', $pod->pod_data['name'] ) ); |
| 99 |
|
} |
| 100 |
|
|
| 101 |
|
$singular_label = pods_v( 'label', $pod->pod_data['options'], $singular_label, true ); |