source:
extensions/lmt/admin/lmt_js.tpl
@
32235
Last change on this file since 32235 was 3396, checked in by , 15 years ago | |
---|---|
File size: 354 bytes |
Line | |
---|---|
1 | {literal} |
2 | function get_licence_text(txt, published) |
3 | { |
4 | returned=''; |
5 | switch(txt) |
6 | { |
7 | {/literal} |
8 | {foreach from=$datas.shortlicencetext key=name item=nfo} |
9 | case '{$name}': |
10 | returned='{$nfo.txt}'; |
11 | if(published) returned = "{$nfo.published} "+returned; |
12 | break; |
13 | {/foreach} |
14 | {literal} |
15 | } |
16 | |
17 | return(returned); |
18 | } |
19 | {/literal} |
Note: See TracBrowser
for help on using the repository browser.