{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
-
-<div class="crm-block crm-form-block crm-miscellaneous-form-block">
-
- <p>{ts}You are requesting to unsubscribe this email address:{/ts}</p>
- <h3>{$email_masked}</h3>
-
- <p>{ts}If this is not your email address, there is no need to do anything. You have <i><b>not</b></i> been added to any mailing lists. If this is your email address and you <i><b>wish to unsubscribe</b></i> please enter your email address below for verification purposes:{/ts}</p>
-
- <table class="form-layout">
- <tbody>
- <tr>
- <td class="label">{$form.email_confirm.label}</td>
- <td class="content">{$form.email_confirm.html}
- </tr>
- </tbody>
+<div>
+ {if $groupExist}
+ <div class="messages status no-popup">
+ {ts}Are you sure you want to be removed from the mailing list(s) shown below:{/ts}<br/>
+ </div>
+ <table class="selector" style="width: auto; margin-top: 20px;">
+ {counter start=0 skip=1 print=false}
+ {foreach from=$groups item=group}
+ <tr class="{cycle values="odd-row,even-row"}">
+ <td><strong>{$group.title}</strong></td>
+ <td> {$group.description} </td>
+ </tr>
+ {/foreach}
</table>
-
- <div class="crm-submit-buttons">
- {include file="CRM/common/formButtons.tpl" location="bottom"}
- </div>
-
-<br/>
+ <div class="crm-block crm-form-block crm-miscellaneous-form-block">
+ <p>{ts}You are requesting to unsubscribe this email address:{/ts}</p>
+ <h3>{$email_masked}</h3>
+ <p>{ts}If this is not your email address, there is no need to do anything. You have <i><b>not</b></i> been added to any mailing lists. If this is your email address and you <i><b>wish to unsubscribe</b></i> please enter your email address below for verification purposes:{/ts}</p>
+ <table class="form-layout">
+ <tbody>
+ <tr>
+ <td class="label">{$form.email_confirm.label}</td>
+ <td class="content">{$form.email_confirm.html}</td>
+ </tr>
+ </tbody>
+ </table>
+ <div class="crm-submit-buttons">
+ {include file="CRM/common/formButtons.tpl" location="bottom"}
+ </div>
+ <br/>
+ </div>
+ {/if}
</div>