version fixes
[civicrm-core.git] / templates / CRM / Mailing / Form / Unsubscribe.tpl
index 40d00384844edea8c26dfb93da9a1bb48a95b405..b27ece8ce46fc9ace1e8da63f0855e160715b1fd 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | 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>&nbsp;&nbsp;{$group.description}&nbsp;</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>