X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=basic-data%2Ftemplates%2Fown_templates%2F2284397.tpl;fp=basic-data%2Ftemplates%2Fown_templates%2F2284397.tpl;h=0d28ce8043a714cf727f48ef9b8964d1ad68b675;hb=a1797ae2365c0b45e3456fd6bc98b2993ffc87a8;hp=0000000000000000000000000000000000000000;hpb=b097cd5c3065f23e47a0226ee43fa0ce9cc4cd99;p=mirrors%2FKyberia-bloodline.git diff --git a/basic-data/templates/own_templates/2284397.tpl b/basic-data/templates/own_templates/2284397.tpl new file mode 100644 index 0000000..0d28ce8 --- /dev/null +++ b/basic-data/templates/own_templates/2284397.tpl @@ -0,0 +1,85 @@ +{if $header_id neq true} +{include file="1549864.tpl"} +{/if} + +
+ +
+ + +{if $template_event eq 'preview'} + + + + + +
+ + + + + + + + + +
PREVIEW
{$post_vars.mail_text|preview}
+
+{* end of preview *} + +{elseif $template_event eq 'filter_by'} + {if $post_vars.mail_text neq ''} + {get_mail listing_amount=232323 offset=$offset search_type=$post_vars.search_type search=$post_vars.mail_text} + {else} + {get_mail listing_amount=232323 offset=$offset search_type=$post_vars.search_type search=$post_vars.mail_to} + {/if} +{else}{get_mail listing_amount=$listing_amount offset=$offset} +{/if} + +{section name=message loop=$get_mail} +
+ {$get_mail[message].mail_from_name} +
+ {$get_mail[message].mail_from_name} + {if $get_mail[message].mail_from neq $user_id and $get_mail[message].locationfrom_action_id}[location:: {$get_mail[message].locationfrom_action|strip_tags}]{/if} +   -->   + {$get_mail[message].mail_to_name} + {if $get_mail[message].mail_to neq $user_id and $get_mail[message].locationto_action_id}[location:: {$get_mail[message].locationto_action|strip_tags}]{/if} +   --   +
+ {$get_mail[message].mail_timestamp|date_format:"%H:%M:%S - %d.%m.%Y"} + {if $get_mail[message].mail_to==$user_id AND $get_mail[message].mail_timestamp > $node.last_visit}  NEW + {elseif $get_mail[message].mail_read eq 'no' and $get_mail[message].mail_to neq $get_mail[message].mail_user}  UNREAD{/if} +
+
+ {$get_mail[message].mail_text|nl2br} +
+
+
+{/section} + +
+
+{include file="1549377.tpl"}