private static function parsefield_list_page($formid) { if (!self::is_gravityforms_supported()) { die(__(sprintf("Template Merge Add-On requires Gravity Forms %s. Upgrade automatically on the %sPlugin page%s.", self::$min_gravityforms_version, "<a href='plugins.php'>", "</a>"), "gravityformspaypal")); } if (rgpost('action') == "delete") { check_admin_referer("list_action", "tagmapping_list"); $id = absint($_POST["action_argument"]); TemplateData::delete_tag($id); ?> <div class="updated fade" style="padding:6px"><?php _e("Feed deleted.", "templatemerge"); ?> </div> <?php } else { if (!empty($_POST["bulk_action"])) { check_admin_referer("list_action", "tagmapping_list"); $selected_feeds = $_POST["feed"]; if (is_array($selected_feeds)) { foreach ($selected_feeds as $feed_id) { TemplateData::delete_tag($feed_id); } } ?> <div class="updated fade" style="padding:6px"><?php _e("Feeds deleted.", "gravityformspaypal"); ?> </div> <?php } } require_once self::get_base_path() . DIRECTORY_SEPARATOR . "field_map_list.php"; }