PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | stripe/views/lists/list.php +7 -5 6.26 → trunk View file →
@@ -5,26 +5,28 @@
5 5 ?>
6 6
7 7 <div class="frm_wrap">
8 8 <?php
9 - $should_show_add_new_button = class_exists( 'FrmPaymentsController', false );
9 + $should_show_add_new_button = class_exists( 'FrmTransAppController', false ) || class_exists( 'FrmPaymentsController', false );
10 10 FrmAppHelper::get_admin_header(
11 11 array(
12 12 'label' => __( 'Payments', 'formidable' ),
13 13 'form' => FrmAppHelper::simple_get( 'form', 'absint', 0 ),
14 - 'publish' => ! $should_show_add_new_button ? true : array(
14 + 'publish' => $should_show_add_new_button ? array(
15 15 'FrmAppHelper::add_new_item_link',
16 16 array(
17 - 'new_link' => admin_url( 'admin.php?page=formidable-payments&amp;action=new' ),
17 + 'new_link' => admin_url( 'admin.php?page=formidable-payments&action=new' ),
18 18 ),
19 - ),
19 + ) : true,
20 20 )
21 21 );
22 22 ?>
23 23
24 24 <div class="wrap">
25 + <?php
26 + require FrmAppHelper::plugin_path() . '/classes/views/shared/errors.php';
25 27
26 - <?php
28 + FrmTransLiteListHelper::render_tabs();
27 29 $wp_list_table->views();
28 30 ?>
29 31
30 32 <form id="posts-filter" method="get">