这是什么编程语言?

时间:2009-01-07 19:40:42

标签: php programming-languages smarty

    <{if $ishtml == true}><font face="Verdana, Arial, Helvetica" size="2"><{$contentshtml}>
<BR><BR>
<{if $settings[t_enhistory] == 1}>
<fieldset style="margin-bottom: 6px; color: #333333;FONT: 11px Verdana, Tahoma;PADDING:3px;">
<legend><{$language[tickethistory]}></legend>
<{foreach key=key value=post from=$postlist}>
<{if $post[ticketpostid] != $ticket[lastpostid]}>
<b><{$post[fullname]}></b> (<{if $post[creator] == "staff"}><{$language[thstaff]}><{elseif $post[creator] == "thirdparty"}><{$language[ththirdparty]}><{elseif $post[creator] == "recipient"}><{$language[threcipient]}><{else}><{$language[thclient]}><{/if}>) <{$language[thpostedon]}> <{$post[date]}>
<hr>
<br>
<{$post[contents]}>

<{if $ticket[hasattachments] == "1" && $post[attachmentcount] > 0}>
<BR /><BR /><fieldset style="margin-bottom: 6px; color: #333333;FONT: 11px Verdana, Tahoma;PADDING:3px;"><legend><{$language[thattachments]}></legend>
<{foreach key=attachkey value=attachment from=$post[attachments]}>
<{$attachment[filename]}> (<{$attachment[attachmentsize]}>)<BR />
<{/foreach}>
</fieldset>
<{/if}>
<br><br>
<{/if}>
<{/foreach}>
</fieldset>
<{/if}>

<fieldset style="margin-bottom: 6px; color: #333333;FONT: 11px Verdana, Tahoma;PADDING:3px;">
<legend><{$language[ticketdetails]}></legend><BR>
<{$language[articketid]}><{$ticket[fticketid]}><BR>
<{$language[ardepartment]}><{$ticket[department]}><BR>
<{$language[arpriority]}><font color="<{$priority[frcolorcode]}>"><{$ticket[priority]}></font><BR>
<{$language[arstatus]}><font color="<{$status[statuscolor]}>"><{$ticket[status]}></font><BR>
</fieldset>
</font><{else}><{$contentstext}>

<{if $settings[t_enhistory] == 1}>
<{$language[tickethistory]}>
===================
<{foreach key=key value=post from=$postlist}>
<{if $post[ticketpostid] != $ticket[lastpostid]}>
<{$post[fullname]}> (<{if $post[creator] == "staff"}><{$language[thstaff]}><{elseif $post[creator] == "thirdparty"}><{$language[ththirdparty]}><{elseif $post[creator] == "recipient"}><{$language[threcipient]}><{else}><{$language[thclient]}><{/if}>) <{$language[thpostedon]}> <{$post[date]}>

===============================================================
<{$post[contentstext]}>

<{if $ticket[hasattachments] == "1" && $post[attachmentcount] > 0}>
<{foreach key=attachkey value=attachment from=$post[attachments]}>
<{$attachment[filename]}> (<{$attachment[attachmentsize]}>)
<{/foreach}>
<{/if}>

<{/if}>
<{/foreach}>

<{/if}>
<{$language[ticketdetails]}>
===================
<{$language[articketid]}><{$ticket[fticketid]}>
<{$language[ardepartment]}><{$ticket[department]}>
<{$language[arpriority]}><{$ticket[priority]}>
<{$language[arstatus]}><{$ticket[status]}><{/if}>

5 个答案:

答案 0 :(得分:11)

我猜它来自PHP的Smarty模板。

答案 1 :(得分:4)

100%肯定它是聪明的,典型的文件扩展名是.tpl

答案 2 :(得分:3)

它看起来像Smarty模板语法。

答案 3 :(得分:3)

其巧妙的模板语法

答案 4 :(得分:2)

看起来像一些php或perl模板引擎,如Mason。