X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=basic-data%2Ftemplates%2Fown_templates%2F1549888.tpl;fp=basic-data%2Ftemplates%2Fown_templates%2F1549888.tpl;h=ee77307d784b2e49632be84007c52251d12a0ca0;hb=a1797ae2365c0b45e3456fd6bc98b2993ffc87a8;hp=0000000000000000000000000000000000000000;hpb=b097cd5c3065f23e47a0226ee43fa0ce9cc4cd99;p=mirrors%2FKyberia-bloodline.git diff --git a/basic-data/templates/own_templates/1549888.tpl b/basic-data/templates/own_templates/1549888.tpl new file mode 100644 index 0000000..ee77307 --- /dev/null +++ b/basic-data/templates/own_templates/1549888.tpl @@ -0,0 +1,53 @@ +{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|stripslashes} + ]{/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|stripslashes} + ]{/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}   + UNDEAD {/if} +
+
{$get_mail[message].mail_text|nl2br|stripslashes|imagestrip} +
+
+
{/section} \ No newline at end of file