|
@@ 1741-1757 (lines=17) @@
|
| 1738 |
|
pods_no_conflict_off( 'user' ); |
| 1739 |
|
} |
| 1740 |
|
|
| 1741 |
|
if ( 'hidden' == $field[ 'type' ] ) { |
| 1742 |
|
$hidden_fields[] = array( |
| 1743 |
|
'field' => $field, |
| 1744 |
|
'value' => $value |
| 1745 |
|
); |
| 1746 |
|
} |
| 1747 |
|
else { |
| 1748 |
|
?> |
| 1749 |
|
<tr class="form-field pods-field <?php echo esc_attr( 'pods-form-ui-row-type-' . $field[ 'type' ] . ' pods-form-ui-row-name-' . PodsForm::clean( $field[ 'name' ], true ) ); ?>"> |
| 1750 |
|
<th scope="row" valign="top"><?php echo PodsForm::label( 'pods_meta_' . $field[ 'name' ], $field[ 'label' ], $field[ 'help' ], $field ); ?></th> |
| 1751 |
|
<td> |
| 1752 |
|
<?php echo PodsForm::field( 'pods_meta_' . $field[ 'name' ], $value, $field[ 'type' ], $field, $pod, $id ); ?> |
| 1753 |
|
<?php echo PodsForm::comment( 'pods_meta_' . $field[ 'name' ], $field[ 'description' ], $field ); ?> |
| 1754 |
|
</td> |
| 1755 |
|
</tr> |
| 1756 |
|
<?php |
| 1757 |
|
} |
| 1758 |
|
} |
| 1759 |
|
?> |
| 1760 |
|
</tbody> |
|
@@ 2103-2119 (lines=17) @@
|
| 2100 |
|
if ( !empty( $pod ) ) |
| 2101 |
|
$value = $pod->field( array( 'name' => $field[ 'name' ], 'in_form' => true ) ); |
| 2102 |
|
|
| 2103 |
|
if ( 'hidden' == $field[ 'type' ] ) { |
| 2104 |
|
$hidden_fields[] = array( |
| 2105 |
|
'field' => $field, |
| 2106 |
|
'value' => $value |
| 2107 |
|
); |
| 2108 |
|
} |
| 2109 |
|
else { |
| 2110 |
|
?> |
| 2111 |
|
<tr class="form-field pods-field <?php echo esc_attr( 'pods-form-ui-row-type-' . $field[ 'type' ] . ' pods-form-ui-row-name-' . PodsForm::clean( $field[ 'name' ], true ) ); ?>"> |
| 2112 |
|
<th scope="row" valign="top"><?php echo PodsForm::label( 'pods_meta_' . $field[ 'name' ], $field[ 'label' ], $field[ 'help' ], $field ); ?></th> |
| 2113 |
|
<td> |
| 2114 |
|
<?php echo PodsForm::field( 'pods_meta_' . $field[ 'name' ], $value, $field[ 'type' ], $field, $pod, $id ); ?> |
| 2115 |
|
<?php echo PodsForm::comment( 'pods_meta_' . $field[ 'name' ], $field[ 'description' ], $field ); ?> |
| 2116 |
|
</td> |
| 2117 |
|
</tr> |
| 2118 |
|
<?php |
| 2119 |
|
} |
| 2120 |
|
} |
| 2121 |
|
?> |
| 2122 |
|
</table> |