X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=data%2Ftemplates%2Fown_templates%2F2471247.tpl;fp=data%2Ftemplates%2Fown_templates%2F2471247.tpl;h=1fb516963c4459eda649dd44d5e7bfc6c725686e;hb=28a0f9d30ba36c49c48b59cad22a855a0337161a;hp=0000000000000000000000000000000000000000;hpb=a1797ae2365c0b45e3456fd6bc98b2993ffc87a8;p=mirrors%2FKyberia-bloodline.git diff --git a/data/templates/own_templates/2471247.tpl b/data/templates/own_templates/2471247.tpl new file mode 100644 index 0000000..1fb5169 --- /dev/null +++ b/data/templates/own_templates/2471247.tpl @@ -0,0 +1,52 @@ +{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} + +{foreach from=$get_mail item=message} +
+ {$message.mail_from_name|addslashes} +
+ {$message.mail_from_name} + {if $message.mail_from neq $user_id and $message.locationfrom_action_id}[location:: {$message.locationfro +m_action|strip_tags}]{/if} +   -->   + {$message.mail_to_name} + {if $message.mail_to neq $user_id and $message.locationto_action_id}[location:: {$message.locationto_action +|strip_tags}]{/if} +   --   +
+ {$message.mail_timestamp|date_format:"%H:%M:%S - %d.%m.%Y"} + {if $message.mail_to==$user_id AND $message.mail_timestamp > $node.last_visit}  NEW + {elseif $message.mail_read eq 'no' and $message.mail_to neq $message.mail_user}  UNREAD{/if} +
+
+ {$message.mail_text|nl2br} +
+
+
+{/foreach} \ No newline at end of file