mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 20:08:20 -07:00
41 lines
735 B
Plaintext
41 lines
735 B
Plaintext
|
{if count($foo)}
|
||
|
{$foo|@count}
|
||
|
{$bar|lower}
|
||
|
{/if}
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
[
|
||
|
["smarty", [
|
||
|
["delimiter", "{"],
|
||
|
["function", "if"],
|
||
|
["function", "count"],
|
||
|
["punctuation", "("],
|
||
|
["variable", "$foo"],
|
||
|
["punctuation", ")"],
|
||
|
["delimiter", "}"]
|
||
|
]],
|
||
|
["smarty", [
|
||
|
["delimiter", "{"],
|
||
|
["variable", "$foo"],
|
||
|
["operator", "|"],
|
||
|
["function", "@count"],
|
||
|
["delimiter", "}"]
|
||
|
]],
|
||
|
["smarty", [
|
||
|
["delimiter", "{"],
|
||
|
["variable", "$bar"],
|
||
|
["operator", "|"],
|
||
|
["function", "lower"],
|
||
|
["delimiter", "}"]
|
||
|
]],
|
||
|
["smarty", [
|
||
|
["delimiter", "{"],
|
||
|
["function", "/if"],
|
||
|
["delimiter", "}"]
|
||
|
]]
|
||
|
]
|
||
|
|
||
|
----------------------------------------------------
|
||
|
|
||
|
Checks for tags, filters and functions.
|