1 | {literal} |
---|
2 | <script type="text/javascript"> |
---|
3 | var ulc; |
---|
4 | |
---|
5 | $(window).load( |
---|
6 | function () |
---|
7 | { |
---|
8 | ulc=new userLinksConfig( |
---|
9 | {}, {}, |
---|
10 | '{/literal}{$token}{literal}', |
---|
11 | { |
---|
12 | 'showIcons':'{/literal}{$datas.config.showIcons}{literal}', |
---|
13 | 'userLang':'{/literal}{$datas.selectedLang}{literal}', |
---|
14 | 'titles': |
---|
15 | { |
---|
16 | {/literal} |
---|
17 | {foreach from=$datas.config.titles name=items key=langCode item=title} |
---|
18 | "{$langCode}":"{$title}"{if !$smarty.foreach.items.last},{/if} |
---|
19 | {/foreach} |
---|
20 | {literal} |
---|
21 | }, |
---|
22 | 'langs':[ |
---|
23 | {/literal} |
---|
24 | {foreach from=$datas.config.titles name=items key=langCode item=title} |
---|
25 | "{$langCode}"{if !$smarty.foreach.items.last},{/if} |
---|
26 | {/foreach} |
---|
27 | {literal} |
---|
28 | ] |
---|
29 | } |
---|
30 | ); |
---|
31 | } |
---|
32 | ); |
---|
33 | </script> |
---|
34 | {/literal} |
---|
35 | |
---|
36 | <form method="post" action="" class="general"> |
---|
37 | |
---|
38 | <fieldset> |
---|
39 | <legend>{'g002_setting_block_menu'|@translate}</legend> |
---|
40 | |
---|
41 | <table class="formtable"> |
---|
42 | <tr> |
---|
43 | <td>{'g002_setting_block_title'|@translate}</td> |
---|
44 | <td> |
---|
45 | <div id="iamm_links_title"></div> |
---|
46 | <div id="islang"> |
---|
47 | [ |
---|
48 | {foreach from=$datas.langs key=langCode item=langLabel name=items} |
---|
49 | {ldelim}"value":"{$langCode}","cols":["{$langLabel}"]{rdelim}{if !$smarty.foreach.items.last},{/if} |
---|
50 | {/foreach} |
---|
51 | ] |
---|
52 | </div> |
---|
53 | </td> |
---|
54 | </tr> |
---|
55 | |
---|
56 | </table> |
---|
57 | </fieldset> |
---|
58 | |
---|
59 | <fieldset> |
---|
60 | <legend>{'g002_setting_link_links'|@translate}</legend> |
---|
61 | <table class="formtable"> |
---|
62 | <tr> |
---|
63 | <td>{'g002_setting_link_show_icon'|@translate}</td> |
---|
64 | <td> |
---|
65 | <div id='iamm_links_show_icons'> |
---|
66 | <label><input type="radio" value="y"> {'g002_yesno_y'|@translate}<br></label> |
---|
67 | <label><input type="radio" value="n"> {'g002_yesno_n'|@translate}</label> |
---|
68 | </div> |
---|
69 | </td> |
---|
70 | </tr> |
---|
71 | </table> |
---|
72 | </fieldset> |
---|
73 | |
---|
74 | <p> |
---|
75 | <input type="button" id="iamm_submit_apply" value="{'g002_apply'|@translate}" onclick="ulc.submit();"> |
---|
76 | </p> |
---|
77 | |
---|
78 | </form> |
---|
79 | |
---|