aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/mail/text/plain/admin
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/mail/text/plain/admin')
-rw-r--r--template/yoga/mail/text/plain/admin/notification_by_mail.tpl74
1 files changed, 36 insertions, 38 deletions
diff --git a/template/yoga/mail/text/plain/admin/notification_by_mail.tpl b/template/yoga/mail/text/plain/admin/notification_by_mail.tpl
index 22d25ef30..256232f37 100644
--- a/template/yoga/mail/text/plain/admin/notification_by_mail.tpl
+++ b/template/yoga/mail/text/plain/admin/notification_by_mail.tpl
@@ -1,44 +1,42 @@
-<!-- DEV TAG: not smarty migrated -->
-{lang:nbm_content_hello_1}{USERNAME}{lang:nbm_content_hello_2}
+{* $Id$ *}
+{'nbm_content_hello_1'|@translate}{$USERNAME}{'nbm_content_hello_2'|@translate}
-<!-- BEGIN subscribe_by_admin -->
-{lang:nbm_content_subscribe_by_admin}
-<!-- END subscribe_by_admin -->
-<!-- BEGIN subscribe_by_himself -->
-{lang:nbm_content_subscribe_by_himself}
-<!-- END subscribe_by_himself -->
-<!-- BEGIN unsubscribe_by_admin -->
-{lang:nbm_content_unsubscribe_by_admin}
-<!-- END unsubscribe_by_admin -->
-<!-- BEGIN unsubscribe_by_himself -->
-{lang:nbm_content_unsubscribe_by_himself}
-<!-- END unsubscribe_by_himself -->
-<!-- BEGIN content_new_elements_single -->
-{lang:nbm_content_new_elements}{lang:nbm_content_new_elements_single}{content_new_elements_single.DATE_SINGLE}{content_new_elements_single.END_PUNCT}
-<!-- END content_new_elements_single -->
-<!-- BEGIN content_new_elements_between -->
-{lang:nbm_content_new_elements}{lang:nbm_content_new_elements_between_1}{content_new_elements_between.DATE_BETWEEN_1}{lang:nbm_content_new_elements_between_2}{content_new_elements_between.DATE_BETWEEN_2}{content_new_elements_between.END_PUNCT}
-<!-- END content_new_elements_between -->
-<!-- BEGIN global_new_line -->
-<!-- BEGIN new_line -->
- o {global_new_line.new_line.DATA}
-<!-- END new_line -->
-<!-- END global_new_line -->
-<!-- BEGIN custom -->
+{if isset($subscribe_by_admin)}
+{'nbm_content_subscribe_by_admin'|@translate}
+{/if}
+{if isset($subscribe_by_himself)}
+{'nbm_content_subscribe_by_himself'|@translate}
+{/if}
+{if isset($unsubscribe_by_admin)}
+{'nbm_content_unsubscribe_by_admin'|@translate}
+{/if}
+{if isset($unsubscribe_by_himself)}
+{'nbm_content_unsubscribe_by_himself'|@translate}
+{/if}
+{if isset($content_new_elements_single)}
+{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_single'|@translate}{$content_new_elements_single.DATE_SINGLE}.
+{/if}
+{if isset($content_new_elements_between)}
+{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_between_1'|@translate}{$content_new_elements_between.DATE_BETWEEN_1}{'nbm_content_new_elements_between_2'|@translate}{$content_new_elements_between.DATE_BETWEEN_2}.
+{/if}
+{if not empty($global_new_lines)}
+{foreach from=$global_new_lines item=line}
+ o {$line}
+{/foreach}
+{/if}
+{if not empty($custom_mail_content)}
+{$custom_mail_content}
+{/if}
+{if not empty($GOTO_GALLERY_TITLE)}
+{'nbm_content_goto_1'|@translate}{$GOTO_GALLERY_TITLE} {$GOTO_GALLERY_URL} {'nbm_content_goto_2'|@translate}
+{/if}
-{custom.CUSTOMIZE_MAIL_CONTENT}
-<!-- END custom -->
-<!-- BEGIN goto -->
-
-{lang:nbm_content_goto_1}{goto.GALLERY_TITLE} {goto.GALLERY_URL} {lang:nbm_content_goto_2}
-<!-- END goto -->
-
-{lang:nbm_content_byebye}
- {SEND_AS_NAME}
+{'nbm_content_byebye'|@translate}
+ {$SEND_AS_NAME}
______________________________________________________________________________
-{lang:nbm_content_unsubscribe_link}{lang:nbm_content_click_on}{UNSUBSCRIBE_LINK}
-{lang:nbm_content_subscribe_link}{lang:nbm_content_click_on}{SUBSCRIBE_LINK}
-{lang:nbm_content_problem_contact}{CONTACT_EMAIL}
+{'nbm_content_unsubscribe_link'|@translate}{'nbm_content_click_on'|@translate}{$UNSUBSCRIBE_LINK}
+{'nbm_content_subscribe_link'|@translate}{'nbm_content_click_on'|@translate}{$SUBSCRIBE_LINK}
+{'nbm_content_problem_contact'|@translate}{$CONTACT_EMAIL}
______________________________________________________________________________