From 50e884d1e3fd121d035332980190367cc5e3721d Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 30 Jun 2017 09:00:24 -0400 Subject: [PATCH] Last minute updates correct wording for not clearing member data. --- models/admin/import/index.php | 8 ++++++++ views/admin/import/header.html | 4 ++++ views/admin/import/validate.html | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/models/admin/import/index.php b/models/admin/import/index.php index 35ceb2b7..350fac77 100644 --- a/models/admin/import/index.php +++ b/models/admin/import/index.php @@ -251,6 +251,13 @@ class GlmMembersAdmin_import_index if ( isset( $_REQUEST['filesProcessed'] ) ) { $this->filesProcessed = filter_var( $_REQUEST['filesProcessed'], FILTER_VALIDATE_INT ); } + // Setup which additional plugins will be doing imports + $addOnTabsAllowed = array( + 'contacts', + 'social', + ); + //echo '
$this->config: ' . print_r( $this->config, true ) . '
'; + // $fileData - The main files needed for the member import // - field: input field name // - name: file name @@ -720,6 +727,7 @@ class GlmMembersAdmin_import_index // Setup the template data array $templateData = array( + //'addOnTabs' => $addOnTabs, 'fileExists' => $fileExists, 'option' => $option, 'errors' => $this->errors, diff --git a/views/admin/import/header.html b/views/admin/import/header.html index 4e38c07c..0de87f73 100644 --- a/views/admin/import/header.html +++ b/views/admin/import/header.html @@ -13,6 +13,10 @@ href="{$thisUrl}?page={$thisPage}&glm_action=index&option=files" class="nav-tab{if $option==files or $option===filesValidate} nav-tab-active{/if}">Import Files {/if} + + {foreach $addOnTabs as $a} + {$a.text} + {/foreach}
diff --git a/views/admin/import/validate.html b/views/admin/import/validate.html index 8672dd65..2719ae78 100644 --- a/views/admin/import/validate.html +++ b/views/admin/import/validate.html @@ -29,7 +29,7 @@ {else} - No Member Data will be cleared before importing any files. No attempts will be made to prevent duplication of members. + No Member Data will not be cleared before importing any files. No attempts will be made to prevent duplication of members. {/if} -- 2.17.1