{if $formSubmitted} {if $submitResult.name == 3} {if $submitResult.status == 0}
{"Sending is disabled in the demo."|i18n}
{elseif $submitResult.status == 1}
{"Error: Table exists! Sending may have already been initiated."|i18n}
{elseif $submitResult.status == 2}
{"Processing for scheduling..."|i18n}
{else}
{"Processing for sending..."|i18n}
{/if} {elseif $submitResult.name == 8} {if $submitResult.status}
{"Message Saved."|i18n}
{else}
{"Message NOT Saved! Please try again later..."|i18n}
{/if} {elseif $submitResult.name == 2} {if $submitResult.status} {*"Preview a Message"|i18n*} {else}
{"You have to provide Message Subject and Sender Email."|i18n}
{/if} {elseif $submitResult.name == 1} {if $submitResult.status} {*"Compose a Message"|i18n*} {else}
{"You have to select at least one Mailing Group and at least one Type of Mailing."|i18n}
{/if} {elseif $submitResult.name == 9} {if $submitResult.status} {*"Compose a Message"|i18n*} {else}
{"You must checkmark \"Include Unsubscribe Link\" or you must manually include an Unsubscribe Link in your message"|i18n}
{/if} {elseif $submitResult.name == 'error'} {if $submitResult.status == 1}
{"There are 0 recipients in the selected lists."|i18n}
{else}
{"There are 0 recipients matched by this filter."|i18n}
{/if} {/if} {/if}

{"Create Message"|i18n}

{if $step == 1} {"Set Message Preferences"|i18n} {elseif $step > 1 and $step < 4} {"Set Message Preferences"|i18n} {else} {"Set Message Preferences"|i18n} {/if} » {if $step == 2} {"Compose Message"|i18n} {elseif $step == 3} {"Compose Message"|i18n} {else} {"Compose Message"|i18n} {/if} » {if $step == 3} {"Preview Message"|i18n} {else} {"Preview Message"|i18n} {/if} » {if $step == 4} {"Send"|i18n} {else} {"Send"|i18n} {/if} {if $step == 2 or $step == 3} {/if}

{if $step == 8}

{"Your message has been added to the Saved Messages."|i18n}
{"Saved Messages"|i18n}

{elseif $step > 3 and $step < 8}
{"Please wait while your message is being prepared for sending."|i18n}
{"1) Saving Message Information"|i18n}
{"2) Preparing Subscriber Info"|i18n}
{"3) Optimizing & Preparing To Send"|i18n}
{if $step > 4 and $step < 7}{/if}
{if $step == 5}{elseif $step == 6}{/if}
{if $step == 6}{/if}
{if $step == 6} {if $attempt == 0 and $site.itype == 1}

{"Starting to send... (please wait)"|i18n}

{else}

{"Sending Initiated."|i18n}

{"Main Page"|i18n}    |     {"Create Another"|i18n} {if $admin.messages_queue}    |     {"Message Queue"|i18n} {/if} {if $admin.messages_archive}    |     {"Message Archive"|i18n} {/if}

{if !$poppedUp} {/if} {/if}
{/if} {if $step == 7}

{"Messaged Added To Scheduled Queue"|i18n}

{"Main Page"|i18n}    |     {"Create Another"|i18n} {if $admin.messages_scheduled && $list.a_sc}    |     {"Scheduled Message Queue"|i18n} {/if} {if $admin.messages_archive}    |     {"Message Archive"|i18n} {/if}
{/if} {elseif $step == 3} {if $step1.absplit}

{"Message #1 (for Group A)"}

{/if}
{"Message Details"|i18n} {if $step2.reply2 != ''} {/if} {if $step2.charset != ''} {/if}
{"From"|i18n}: {if $step2.fromname == ''}{$step2.frommail}{else}{$step2.fromname} ({$step2.frommail}){/if}
{"Subject"|i18n}: {$step2.subject}
{"Reply-To Address"|i18n}: {$step2.reply2}
{"Character Set"|i18n}: {$step2.charset}
{"Message Encoding"|i18n}: {$step2.encoding}
{"Priority"|i18n}: {if $step2.priority == 1}{"High"|i18n}{elseif $step2.priority == 5}{"Low"|i18n}{else}{"Medium"|i18n}{/if}

{if $isHTML}
{"HTML Version of Message"|i18n} {if 0 == 1 and $invalidTags}
{"Warning!"|i18n} {"You have main html/head tags as part of your body tags."|i18n} {"To avoid display problems with certain email clients you should not have any %s or %s tags in your email."|i18n:"<html>":"<head>"}

{/if} {* *}

{/if} {if $isTEXT}
{"Text Version of Message"|i18n} {*
{$msgTEXT}
*}

{/if} {if $step1.absplit} {if $emailcheck_button AND $emailcheck_exists AND ($admin.admin_email_check || $admin.id == 1)} {include file="cpaint_message_create.tpl.htm"} {/if}

{"Message #2 (for Group B)"}

{"Message Details"|i18n} {if $step2.reply2 != ''} {/if} {if $step2.charset != ''} {/if}
{"From"|i18n}: {if $step2.fromname2 == ''}{$step2.frommail2}{else}{$step2.fromname2} ({$step2.frommail2}){/if}
{"Subject"|i18n}: {$step2.subject2}
{"Reply-To Address"|i18n}: {$step2.reply22}
{"Character Set"|i18n}: {$step2.charset2}
{"Message Encoding"|i18n}: {$step2.encoding2}
{"Priority"|i18n}: {if $step2.priority2 == 1}{"High"|i18n}{elseif $step2.priority2 == 5}{"Low"|i18n}{else}{"Medium"|i18n}{/if}

{if $isHTML}
{"HTML Version of Message"|i18n} {if 0 == 1 and $invalidTags}
{"Warning!"|i18n} {"You have main html/head tags as part of your body tags."|i18n} {"To avoid display problems with certain email clients you should not have any %s or %s tags in your email."|i18n:"<html>":"<head>"}

{/if} {* *}

{/if} {if $isTEXT}
{"Text Version of Message"|i18n} {*
{$msgTEXT2}
*}

{/if} {if $emailcheck_button AND $emailcheck_exists AND ($admin.admin_email_check || $admin.id == 1)} {/if}
{/if}
{if $list.upload_attach or $list.a_sc}
{if $list.upload_attach}
{"Attachments"|i18n}
{"Attach Files"|i18n}
{else} {/if}
  {if $list.a_sc}
{"Schedule Options"|i18n}

{"System Date/Time: %s"|i18n:$nowDateTime}

{"Schedule?"|i18n}
{"Date"|i18n}
{"Hour"|i18n} {"Minute"|i18n}
{"Recurring"|i18n}
{else} {/if}

{/if}
{if $filter} {"Sending using filter '%s'."|i18n:$filter.name} {"View Matching"|i18n}
{/if} {"This mailing is set to send to %d subscribers."|i18n:$subscribersCnt} {"You have selected %d lists for this mailing."|i18n:$listsCnt}
{"System will send approximately %d emails per hour."|i18n:$speed.eph}
{"Your mailing should (excluding stalling) be complete in %s."|i18n:$sendTime}
{if $list.a_sc} {/if}

{if $admin.messages_saved} {/if} {if $emailcheck_button AND $emailcheck_exists AND ($admin.admin_email_check || $admin.id == 1) AND !$step1.absplit} {elseif $emailcheck_exists AND !$emailcheck_button AND ($admin.admin_email_check || $admin.id == 1)} {/if}
{include file="cpaint_message_create.tpl.htm"} {"Click here to activate"|i18n}
{"EmailCheck plugin."|i18n}
{"Send test email to"|i18n}: {if $step1.format == 'multi'} {else} {/if} {if $step1.absplit} {else} {/if}

{* S T E P 2 *} {elseif $step == 2} {if $overLimitUser}
{"Error: You have reached the maximum number of messages allowed to be sent."|i18n}
{"User Limit: %d per %s."|i18n:$admin.mails_limit:$admin.mails_limit2}
{else} {if $overLimitList}
{"Error: This list has reached the maximum number of messages allowed to be sent."|i18n}
{"List Limit: %d per %s."|i18n:$list.mails_limit:$list.mails_limit2}
{else}
{if $step1.absplit}

{"Message #1 (for Group A)"}

{/if}
{"Subject"|i18n}
{"From"|i18n}
{"From Name (optional)"|i18n} {"From E-mail"|i18n}
{"Advanced Options"|i18n}

{if $step1.format != 'text'}
{"HTML Version of Message"|i18n}  
{editor content=$data.html name=html width=$admin.brand_editorw height=$admin.brand_editorh public=0 toolbar=Personalize customcfg="../../../admin/templates/editor.js"} {if $urlfopen}
{"Or, use HTML from my url below for the HTML version of the message"|i18n}:
{/if} {if $list.messages_linktrack} {/if} {if $list.messages_linktrack} {/if} {if $list.embeded_images} {/if}
  {"Track Links"|i18n}   {"Unsubscribe Link"|i18n}   {"Track Reads"|i18n}   {"Embed Images"|i18n}
{/if} {if $step1.format != 'html'} {if $step1.format != 'text'}

{/if}
{"TEXT Version of Message"|i18n}
{if $list.messages_personalize} {/if}
{if $urlfopen}
{"Or, use TXT from my url below for the TXT version of the message"|i18n}:
{/if}
  {"Unsubscribe Link"|i18n}
{/if} {* A/B SPLIT START *} {if $step1.absplit}

{"Message #2 (for Group B)"}

{"Subject"|i18n}
{"From"|i18n}
{"From Name (optional)"|i18n} {"From E-mail"|i18n}
{"Advanced Options"|i18n}

{if $step1.format != 'text'}
{"HTML Version of Message"|i18n}  
{editor content=$data.html2 name=html2 width=$admin.brand_editorw height=$admin.brand_editorh public=0 toolbar=Personalize customcfg="../../../admin/templates/editor.js"} {if $urlfopen}
{"Or, use HTML from my url below for the HTML version of the message"|i18n}:
{/if} {if $list.messages_linktrack} {/if} {if $list.messages_linktrack} {/if} {if $list.embeded_images} {/if}
  {"Track Links"|i18n}   {"Unsubscribe Link"|i18n}   {"Track Reads"|i18n}   {"Embed Images"|i18n}
{/if} {if $step1.format != 'html'} {if $step1.format != 'text'}

{/if}
{"TEXT Version of Message"|i18n}
{if $list.messages_personalize} {/if}
{if $urlfopen}
{"Or, use TXT from my url below for the TXT version of the message"|i18n}:
{/if}
  {"Include Automatic Unsubscribe Link"|i18n}
{/if} {/if} {* A/B SPLIT END *}

{if $filter} {"Sending using filter '%s'."|i18n:$filter.name} {"View Matching"|i18n}
{/if} {"This mailing is set to send to %d subscribers."|i18n:$subscribersCnt} {"You have selected %d lists for this mailing."|i18n:$listsCnt}
{"System will send approximately %d emails per hour."|i18n:$speed.eph}
{"Your mailing should (excluding stalling) be complete in %s."|i18n:$sendTime}

{/if} {/if} {else} {if !$list.messages_mime and !$list.messages_html and !$list.messages_text}
{"You have no message types specified for sending."|i18n} {"You will have to change your list settings to continue."|i18n} {"List Settings"|i18n}
{else}

{"Please select a format in which you would like to send your message."|i18n}

{/if}
{"Type of Mailing"|i18n}
{if $list.messages_mime}
{"HTML and TEXT"|i18n}
{"Recommended"|i18n} {/if}
{if $list.messages_html}
{"HTML ONLY"|i18n} {/if}
{if $list.messages_text}
{"TEXT ONLY"|i18n}
{if $list.messages_mime or $list.messages_html or $list.messages_text} {/if}



{if $ab_split_button && ($admin.admin_ab_split || $admin.id == 1)} {/if}
{"Mailing Lists (Groups) To Include in Mailing"|i18n} {foreach from=$lists item=v key=k name=lists} {if $smarty.foreach.lists.last and $smarty.foreach.lists.iteration % 5 == 1} {/if} {if $smarty.foreach.lists.iteration % 5 == 0 and !$smarty.foreach.lists.last} {/if} {foreachelse} {/foreach}
{if $listID == $k} {/if} {$v}  
{"There are currently 0 lists. Please add a list."|i18n}

{"Templates & Filters"|i18n} {if $list.messages_templates} {/if}
{"HTML Template"|i18n}
{"TEXT Template"|i18n}
{"Sending Filters"|i18n}

{"A/B Split"|i18n}
{"Enable A/B Split"|i18n}
  {"Allows to you send two different emails to your subscribers."|i18n}

{if $list.messages_mime or $list.messages_html or $list.messages_text} {/if}

{/if} {/if}