diff --git a/views/templates/admin/form.tpl b/views/templates/admin/form.tpl new file mode 100644 index 0000000..8cbb26e --- /dev/null +++ b/views/templates/admin/form.tpl @@ -0,0 +1,24 @@ +
+
+
+

{l s='Subscription form settings' mod='minicmailchimp'} + {l s='help & tips' mod='minicmailchimp'} +

+ x +
+
+
+ + +
+
+ +
+
\ No newline at end of file diff --git a/views/templates/admin/minicmailchimp.tpl b/views/templates/admin/minicmailchimp.tpl index 95604f5..3253748 100644 --- a/views/templates/admin/minicmailchimp.tpl +++ b/views/templates/admin/minicmailchimp.tpl @@ -19,19 +19,22 @@ {include file="{$minic.admin_tpl_path}messages.tpl" id="global" text=$minic.message.text class=$minic.message.type} - {include file="{$minic.admin_tpl_path}settings.tpl"} - {if $minic.settings.apikey} + {include file="{$minic.admin_tpl_path}mailchimp.tpl"} + {if $minic.mailchimp.apikey} {include file="{$minic.admin_tpl_path}import.tpl"} + + {include file="{$minic.admin_tpl_path}form.tpl"} {/if} {include file="{$minic.admin_tpl_path}feedback.tpl"} diff --git a/views/templates/admin/settings.tpl b/views/templates/admin/settings.tpl deleted file mode 100644 index dab7943..0000000 --- a/views/templates/admin/settings.tpl +++ /dev/null @@ -1,38 +0,0 @@ -
{debug} -
-
-

{l s='Settings' mod='minicmailchimp'} - {l s='help & tips' mod='minicmailchimp'} -

- x -
-
-
- - -
-
- -
- -
-
-
- -
- -
-
-
-

{l s='How to get your API key' mod='minicmailchimp'}

-

{l s='If you alredy have an API key click'} {l s='here' mod='minicmailchimp'}, {l s='otherwise you can get a new one from'} {l s='here' mod='minicmailchimp'}

-

{l s='Tutorial to get an API key' mod='minicmailchimp'}

-

{l s='You can find more info'} {l s='here' mod='minicmailchimp'}

-
-
- -
-
\ No newline at end of file