summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-05-03 21:37:44 +0000
committerChristian Fowler <spider@viovio.com>2007-05-03 21:37:44 +0000
commitdaabf8ad8fe7eb96e2fb7c6610e7e827bda0b7ba (patch)
tree69afda7423ec62666107ff1839fe05ff4481fb92 /templates
parent4d0323b89b17d8d90f3744f2594e02f2793df073 (diff)
downloadnewsletters-daabf8ad8fe7eb96e2fb7c6610e7e827bda0b7ba.tar.gz
newsletters-daabf8ad8fe7eb96e2fb7c6610e7e827bda0b7ba.tar.bz2
newsletters-daabf8ad8fe7eb96e2fb7c6610e7e827bda0b7ba.zip
a little rearrangement of newsletter display, add header and footer for mail_edition.tpl
Diffstat (limited to 'templates')
-rw-r--r--templates/mail_edition.tpl11
-rw-r--r--templates/mail_edition_body.tpl21
-rw-r--r--templates/mail_edition_footer.tpl19
-rw-r--r--templates/mail_edition_header.tpl10
4 files changed, 46 insertions, 15 deletions
diff --git a/templates/mail_edition.tpl b/templates/mail_edition.tpl
new file mode 100644
index 0000000..5955267
--- /dev/null
+++ b/templates/mail_edition.tpl
@@ -0,0 +1,11 @@
+{strip}
+ {if $gBitSystem->isFeatureActive( 'bidirectional_text' )}<div dir="rtl">{/if}
+
+ {include file="bitpackage:newsletters/mail_edition_header.tpl"}
+
+ {include file="bitpackage:newsletters/mail_edition_body.tpl"}
+
+ {include file="bitpackage:newsletters/mail_edition_footer.tpl"}
+
+ {if $gBitSystem->isFeatureActive( 'bidirectional_text' )}</div>{/if}
+{/strip}
diff --git a/templates/mail_edition_body.tpl b/templates/mail_edition_body.tpl
index d252b3e..99de71d 100644
--- a/templates/mail_edition_body.tpl
+++ b/templates/mail_edition_body.tpl
@@ -1,15 +1,6 @@
-{strip}
- {if $gBitSystem->isFeatureActive( 'bidirectional_text' )}<div dir="rtl">{/if}
-
- {include file="bitpackage:newsletter/mail_edition_header.tpl"}
-
- <div id="wrapper">
- <div id="content">
- {include file=$mid}
- </div>
- </div>
-
- {include file="bitpackage:newsletter/mail_edition_footer.tpl"}
-
- {if $gBitSystem->isFeatureActive( 'bidirectional_text' )}</div>{/if}
-{/strip}
+aaaaaaaaaaaaaa
+<div id="wrapper">
+ <div id="content">
+ {include file=$mid}
+ </div>
+</div>
diff --git a/templates/mail_edition_footer.tpl b/templates/mail_edition_footer.tpl
new file mode 100644
index 0000000..0bc63d2
--- /dev/null
+++ b/templates/mail_edition_footer.tpl
@@ -0,0 +1,19 @@
+
+ <div class="subscriptioninfo">
+ {include file="bitpackage:newsletters/unsubscribe_inc.tpl"}
+ {if $url_code}
+ <img src="{$smarty.const.NEWSLETTERS_PKG_URI}track.php?sub={$url_code}" alt="" />
+ {/if}
+ </div>
+
+
+ {if $gBitSystem->isFeatureActive( 'site_bot_bar' )}
+ <div id="footer">
+ {include file="bitpackage:kernel/bot_bar.tpl"}
+ </div>
+ {/if}
+
+ </div>
+
+
+{include file="bitpackage:kernel/footer.tpl"}
diff --git a/templates/mail_edition_header.tpl b/templates/mail_edition_header.tpl
new file mode 100644
index 0000000..1765d77
--- /dev/null
+++ b/templates/mail_edition_header.tpl
@@ -0,0 +1,10 @@
+
+ {include file="bitpackage:kernel/header.tpl"}
+
+ <div id="header">
+ {include file="bitpackage:kernel/top.tpl"}
+ {if $gBitSystem->isFeatureActive( 'site_top_bar' )}
+ {include file="bitpackage:kernel/top_bar.tpl"}
+ {/if}
+ </div>
+