Line | |
---|
1 | {combine_script id='jquery.cluetip' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'} |
---|
2 | {include file='include/autosize.inc.tpl'} |
---|
3 | |
---|
4 | {footer_script require="jquery.cluetip"} |
---|
5 | {literal} |
---|
6 | jQuery().ready(function(){ |
---|
7 | // Cluetip |
---|
8 | jQuery('.cluetip').cluetip({ |
---|
9 | width: 550, |
---|
10 | splitTitle: '|' |
---|
11 | }); |
---|
12 | }); |
---|
13 | {/literal} |
---|
14 | {/footer_script} |
---|
15 | |
---|
16 | {html_head} |
---|
17 | <style type="text/css"> |
---|
18 | legend .cluetip {ldelim} |
---|
19 | text-align:center; |
---|
20 | margin:20px 0 -10px 0; |
---|
21 | font-size:1.2em; |
---|
22 | } |
---|
23 | .cluetip:after {ldelim} |
---|
24 | margin-left:5px; |
---|
25 | vertical-align:top; |
---|
26 | content:url('{$themeconf.admin_icon_dir}/help.png'); |
---|
27 | } |
---|
28 | .properties textarea {ldelim} |
---|
29 | width:60%; |
---|
30 | margin:0 20%; |
---|
31 | } |
---|
32 | </style> |
---|
33 | {/html_head} |
---|
34 | |
---|
35 | <div class="titrePage"> |
---|
36 | <h2>Smilies Support</h2> |
---|
37 | </div> |
---|
38 | |
---|
39 | <form method="post" action="" class="properties" ENCTYPE="multipart/form-data"> |
---|
40 | <fieldset> |
---|
41 | <legend>{'Configuration'|@translate}</legend> |
---|
42 | <ul> |
---|
43 | <li> |
---|
44 | <span class="property">{'Smileys\' folder'|@translate}</span> |
---|
45 | <input type="text" size="40" name="text1" value="{$TEXT1_VALUE}" /> |
---|
46 | </li> |
---|
47 | <li> |
---|
48 | <span class="property">{'Nb. columns'|@translate}</span> |
---|
49 | <input type="text" size="3" name="text2" value="{$TEXT2_VALUE}" /> |
---|
50 | </li> |
---|
51 | <li> |
---|
52 | <span class="property">{'Representative'|@translate}</span> |
---|
53 | <input type="text" size="20" name="text3" value="{$TEXT3_VALUE}" /> |
---|
54 | </li> |
---|
55 | <li> |
---|
56 | <table><tr> |
---|
57 | {foreach from=$smiliesfiles item=smileyfile} |
---|
58 | <td><a href="#" title="{$smileyfile.TITLE}"><img src="{$smileyfile.PATH}"/></a></td> |
---|
59 | {$smileyfile.TR} |
---|
60 | {/foreach} |
---|
61 | </tr></table> |
---|
62 | </li> |
---|
63 | </ul> |
---|
64 | </fieldset> |
---|
65 | |
---|
66 | <fieldset> |
---|
67 | <legend><span class="cluetip" title="smilies.txt|{'smilies_file_help'|@translate}">smilies.txt</legend> |
---|
68 | <textarea rows="5" name="text">{$CONTENT_FILE}</textarea> |
---|
69 | </fieldset> |
---|
70 | |
---|
71 | <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /></p> |
---|
72 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.