|  | @@ 1488-1505 (lines=18) @@ | 
                                                            
                                    | 1485 |  |             <?php | 
                                                            
                                    | 1486 |  |             echo wp_kses_post( $this->do_template( $duplicate ? $this->header[ 'duplicate' ] : $this->header[ 'edit' ] ) ); | 
                                                            
                                    | 1487 |  |  | 
                                                            
                                    | 1488 |  |             if ( !in_array( 'add', $this->actions_disabled ) && !in_array( 'add', $this->actions_hidden ) ) { | 
                                                            
                                    | 1489 |  |                 $link = pods_query_arg( array( 'action' . $this->num => 'add', 'id' . $this->num => '', 'do' . $this->num = '' ), self::$allowed, $this->exclusion() ); | 
                                                            
                                    | 1490 |  |  | 
                                                            
                                    | 1491 |  |                 if ( !empty( $this->action_links[ 'add' ] ) ) | 
                                                            
                                    | 1492 |  |                     $link = $this->action_links[ 'add' ]; | 
                                                            
                                    | 1493 |  |                 ?> | 
                                                            
                                    | 1494 |  |                 <a href="<?php echo esc_url( $link ); ?>" class="add-new-h2"><?php echo wp_kses_post( $this->heading[ 'add' ] ); ?></a> | 
                                                            
                                    | 1495 |  |                 <?php | 
                                                            
                                    | 1496 |  |             } | 
                                                            
                                    | 1497 |  |             elseif ( !in_array( 'manage', $this->actions_disabled ) && !in_array( 'manage', $this->actions_hidden ) ) { | 
                                                            
                                    | 1498 |  |                 $link = pods_query_arg( array( 'action' . $this->num => 'manage', 'id' . $this->num => '' ), self::$allowed, $this->exclusion() ); | 
                                                            
                                    | 1499 |  |  | 
                                                            
                                    | 1500 |  |                 if ( !empty( $this->action_links[ 'manage' ] ) ) | 
                                                            
                                    | 1501 |  |                     $link = $this->action_links[ 'manage' ]; | 
                                                            
                                    | 1502 |  |                 ?> | 
                                                            
                                    | 1503 |  |                 <a href="<?php echo esc_url( $link ); ?>" class="add-new-h2">« <?php echo pods_v( 'label_back_to_manage', $this->label, sprintf( __( 'Back to %s', 'pods' ), $this->heading[ 'manage' ] ) ); ?></a> | 
                                                            
                                    | 1504 |  |                 <?php | 
                                                            
                                    | 1505 |  |             } | 
                                                            
                                    | 1506 |  |             ?> | 
                                                            
                                    | 1507 |  |         </h2> | 
                                                            
                                    | 1508 |  |  | 
                                                                                
                                |  | @@ 1766-1785 (lines=20) @@ | 
                                                            
                                    | 1763 |  | 				<?php | 
                                                            
                                    | 1764 |  | 					echo wp_kses_post( $this->do_template( $this->header[ 'view' ] ) ); | 
                                                            
                                    | 1765 |  |  | 
                                                            
                                    | 1766 |  | 					if ( !in_array( 'add', $this->actions_disabled ) && !in_array( 'add', $this->actions_hidden ) ) { | 
                                                            
                                    | 1767 |  | 						$link = pods_query_arg( array( 'action' . $this->num => 'add', 'id' . $this->num => '', 'do' . $this->num = '' ), self::$allowed, $this->exclusion() ); | 
                                                            
                                    | 1768 |  |  | 
                                                            
                                    | 1769 |  | 						if ( !empty( $this->action_links[ 'add' ] ) ) { | 
                                                            
                                    | 1770 |  | 							$link = $this->action_links[ 'add' ]; | 
                                                            
                                    | 1771 |  | 						} | 
                                                            
                                    | 1772 |  | 				?> | 
                                                            
                                    | 1773 |  | 					<a href="<?php echo esc_url( $link ); ?>" class="add-new-h2"><?php echo wp_kses_post( $this->heading[ 'add' ] ); ?></a> | 
                                                            
                                    | 1774 |  | 				<?php | 
                                                            
                                    | 1775 |  | 					} | 
                                                            
                                    | 1776 |  | 					elseif ( !in_array( 'manage', $this->actions_disabled ) && !in_array( 'manage', $this->actions_hidden ) ) { | 
                                                            
                                    | 1777 |  | 						$link = pods_query_arg( array( 'action' . $this->num => 'manage', 'id' . $this->num => '' ), self::$allowed, $this->exclusion() ); | 
                                                            
                                    | 1778 |  |  | 
                                                            
                                    | 1779 |  | 						if ( !empty( $this->action_links[ 'manage' ] ) ) { | 
                                                            
                                    | 1780 |  | 							$link = $this->action_links[ 'manage' ]; | 
                                                            
                                    | 1781 |  | 						} | 
                                                            
                                    | 1782 |  | 				?> | 
                                                            
                                    | 1783 |  | 					<a href="<?php echo esc_url( $link ); ?>" class="add-new-h2">« <?php echo pods_v( 'label_back_to_manage', $this->label, sprintf( __( 'Back to %s', 'pods' ), $this->heading[ 'manage' ] ) ); ?></a> | 
                                                            
                                    | 1784 |  | 				<?php | 
                                                            
                                    | 1785 |  | 					} | 
                                                            
                                    | 1786 |  |  | 
                                                            
                                    | 1787 |  | 					pods_view( PODS_DIR . 'ui/admin/view.php', compact( array_keys( get_defined_vars() ) ) ); | 
                                                            
                                    | 1788 |  | 				?> |