home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
cgi-bin
/
discus4_00
/
source
/
notify.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
5KB
|
175 lines
# FILE: notify.tmpl
# DESCRIPTION: E-mail notification template
# -------------------------------------------------------------------------------------------
<!--BEGIN-->
<#reference array @levels from $pagedata->{levels}#>
<#if $general->{wants_html} == 1 && $general->{is_queued} == 0#>
<html>
<head>
<title>$L{PROFEDIT_EMAILNOTIFY}</title>
</head>
<body bgcolor="$color->{bgcolor}" text="$color->{text}" link="$color->{link}" vlink="$color->{vlink}" alink="$color->{alink}">
<font face="$color->{face}" size="$color->{size}">
<h4>$L{PROFEDIT_EMAILNOTIFY}</h4>
<#if $GLOBAL_OPTIONS{sendnotext} == 1#>
<hr>
<b>
$title:{||}\
<#if $pagedata->{head}->{me_number} != $pagedata->{head}->{topic_number}#>
$pagedata->{head}->{topic_name}:{||}\
<#endif#>
<#foreach $level (@levels)#>
<#if $level->{level_number} > 0#>
<#if $level->{level_number} != $pagedata->{head}->{me_number}#>
$level->{level_name}:{||}\
<#endif#>
<#endif#>
<#endloop#>
$pagedata->{head}->{me_name}
</b>
<hr>
<#define $l = "$L{EMAIL_NOTIFICATION_ALERT}"#>
<#replace "%author" with "$postdata->{author}" in $l#>
<#replace "%date" with "<#date $postdata->{time} format "$L{LONGDATE}"#>" in $l#>
<p>
$l
</p>
<#else#>
<#wordwrapX 100 "$general->{text_html}"#>
<#endif#>
<p>
$L{BPR_GOTOLINK}
</p>
<ul>
<a href="$script_url/show.$cgi_extension?$pagedata->{head}->{topic_number}/$pagedata->{head}->{me_number}" target=_blank>$L{EMAIL_NOTIFICATION_JUMP}</a>
</ul>
<#if pro && $GLOBAL_OPTIONS->{email_edit_profile_link} == 1#>
<p>
$L{EMAIL_NOTIFICATION_EDIT_PROFILE_LINK}
</p>
<ul>
<a href="$script_url/board-profile.$cgi_extension?action=login&username=$general->{user}&encpass=$general->{encpass}" target=_blank>$L{EMAIL_NOTIFICATION_EDIT_PROFILE_HTML}</a>
</ul>
<#endif#>
<#if $GLOBAL_OPTIONS->{reply_email} && $general->{reply_disabled} == 0#>
<#repeated 60 "-"#>
<h4>$L{EMAIL_REPLY_FOOTER_NEW_1}</h4>
{|}
<p>$L{EMAIL_REPLY_FOOTER_NEW_2}</p>
{|}
<p>$L{EMAIL_REPLY_FOOTER_NEW_3}</p>
{|}
<p>$L{EMAIL_REPLY_FOOTER_NEW_4}</p>
{|}
<p>$L{EMAIL_REPLY_FOOTER_NEW_5}<br>
{|}
{|}
$L{EMAIL_REPLY_FOOTER_NEW_6}<br>
{|}
{|}
$L{EMAIL_REPLY_FOOTER_NEW_7}</p>
<p><#repeated 60 "-"#><br>
$L{EMAIL_REPLY_AUTH_DATA}<br>
/$general->{topic}/$general->{page}/$general->{post}/$general->{user}/$general->{encpass}<br>
<#repeated 60 "-"#></p>
<#endif#>
</body>
</html>
<#else#>
<#if $general->{is_queued} == 1#>
$L{EMAIL_TO_QUEUE}
{|}
<#endif#>
<#repeated 60 "-"#>
$title:{||}\
<#if $pagedata->{head}->{me_number} != $pagedata->{head}->{topic_number}#>
$pagedata->{head}->{topic_name}:{||}\
<#endif#>
<#foreach $level (@levels)#>
<#if $level->{level_number} > 0#>
<#if $level->{level_number} != $pagedata->{head}->{me_number}#>
$level->{level_name}:{||}\
<#endif#>
<#endif#>
<#endloop#>
$pagedata->{head}->{me_name}
<#repeated 60 "-"#>
{|}
<#if $GLOBAL_OPTIONS{sendnotext} == 1#>
<#define $l = "$L{EMAIL_NOTIFICATION_ALERT}"#>
<#else#>
<#define $l = "$L{EMAIL_BY_LINE}"#>
<#endif#>
<#replace "%author" with "$postdata->{author}" in $l#>
<#replace "%date" with "<#date $postdata->{time} format "$L{LONGDATE}"#>" in $l#>
$l
{|}
<#if $GLOBAL_OPTIONS{sendnotext} != 1#>
<#wordwrap 70 "$postdata->{text}"#>
{|}
{|}
<#if $GLOBAL_OPTIONS->{reply_email_admin} && $general->{is_queued} == 1 && $general->{reply_disabled} == 0#>
<#repeated 60 "-"#>
$L{EMAIL_ADMIN_HELP}
<#repeated 60 "-"#>
$L{EMAIL_REPLY_AUTH_DATA}
/$general->{topic}/$general->{page}/$general->{post}/$general->{user}/$general->{encpass}
<#repeated 60 "-"#>
<#else#>
<#if $GLOBAL_OPTIONS->{reply_email} && $general->{is_queued} == 0 && $general->{reply_disabled} == 0#>
<#repeated 60 "-"#>
$L{EMAIL_REPLY_FOOTER_NEW_1}
{|}
$L{EMAIL_REPLY_FOOTER_NEW_2}
{|}
$L{EMAIL_REPLY_FOOTER_NEW_3}
{|}
$L{EMAIL_REPLY_FOOTER_NEW_4}
{|}
$L{EMAIL_REPLY_FOOTER_NEW_5}
$L{EMAIL_REPLY_FOOTER_NEW_6}
$L{EMAIL_REPLY_FOOTER_NEW_7}
{|}
<#if pro && $GLOBAL_OPTIONS->{email_edit_profile_link} == 1#>
$L{EMAIL_NOTIFICATION_EDIT_PROFILE_LINK}
{||||}$script_url/board-profile.$cgi_extension?action=login&username=$general->{user}&encpass=$general->{encpass}
{|}
<#endif#>
$L{BPR_GOTOLINK}
{||||}$script_url/show.$cgi_extension?$pagedata->{head}->{topic_number}/$pagedata->{head}->{me_number}
{|}
{|}
<#repeated 60 "-"#>
$L{EMAIL_REPLY_AUTH_DATA}
/$general->{topic}/$general->{page}/$general->{post}/$general->{user}/$general->{encpass}
<#repeated 60 "-"#>
<#else#>
$L{BPR_STANDARD_FOOTER}
{|}
<#if pro && $GLOBAL_OPTIONS->{email_edit_profile_link} == 1#>
$L{EMAIL_NOTIFICATION_EDIT_PROFILE_LINK}
{||||}$script_url/board-profile.$cgi_extension?action=login&username=$general->{user}&encpass=$general->{encpass}
{|}
<#endif#>
<#if $general->{is_queued} == 0#>
$L{BPR_GOTOLINK}
{||||}$script_url/show.$cgi_extension?$pagedata->{head}->{topic_number}/$pagedata->{head}->{me_number}
<#endif#>
<#endif#>
<#endif#>
<#else#>
<#if $general->{is_queued} == 0#>
$L{BPR_GOTOLINK}
{||||}$script_url/show.$cgi_extension?$pagedata->{head}->{topic_number}/$pagedata->{head}->{me_number}
<#endif#>
{|}
$L{BPR_STANDARD_FOOTER}
<#endif#>
<#endif#>
<!--END-->