@@ 1755-1771 (lines=17) @@ | ||
1752 | pods_no_conflict_off( 'user' ); |
|
1753 | } |
|
1754 | ||
1755 | if ( 'hidden' == $field[ 'type' ] ) { |
|
1756 | $hidden_fields[] = array( |
|
1757 | 'field' => $field, |
|
1758 | 'value' => $value |
|
1759 | ); |
|
1760 | } |
|
1761 | else { |
|
1762 | ?> |
|
1763 | <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 ) ); ?>"> |
|
1764 | <th scope="row" valign="top"><?php echo PodsForm::label( 'pods_meta_' . $field[ 'name' ], $field[ 'label' ], $field[ 'help' ], $field ); ?></th> |
|
1765 | <td> |
|
1766 | <?php echo PodsForm::field( 'pods_meta_' . $field[ 'name' ], $value, $field[ 'type' ], $field, $pod, $id ); ?> |
|
1767 | <?php echo PodsForm::comment( 'pods_meta_' . $field[ 'name' ], $field[ 'description' ], $field ); ?> |
|
1768 | </td> |
|
1769 | </tr> |
|
1770 | <?php |
|
1771 | } |
|
1772 | } |
|
1773 | ?> |
|
1774 | </tbody> |
|
@@ 2114-2130 (lines=17) @@ | ||
2111 | if ( !empty( $pod ) ) |
|
2112 | $value = $pod->field( array( 'name' => $field[ 'name' ], 'in_form' => true ) ); |
|
2113 | ||
2114 | if ( 'hidden' == $field[ 'type' ] ) { |
|
2115 | $hidden_fields[] = array( |
|
2116 | 'field' => $field, |
|
2117 | 'value' => $value |
|
2118 | ); |
|
2119 | } |
|
2120 | else { |
|
2121 | ?> |
|
2122 | <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 ) ); ?>"> |
|
2123 | <th scope="row" valign="top"><?php echo PodsForm::label( 'pods_meta_' . $field[ 'name' ], $field[ 'label' ], $field[ 'help' ], $field ); ?></th> |
|
2124 | <td> |
|
2125 | <?php echo PodsForm::field( 'pods_meta_' . $field[ 'name' ], $value, $field[ 'type' ], $field, $pod, $id ); ?> |
|
2126 | <?php echo PodsForm::comment( 'pods_meta_' . $field[ 'name' ], $field[ 'description' ], $field ); ?> |
|
2127 | </td> |
|
2128 | </tr> |
|
2129 | <?php |
|
2130 | } |
|
2131 | } |
|
2132 | ?> |
|
2133 | </table> |