Last change
on this file since 17920 was
15110,
checked in by mistic100, 13 years ago
|
fix textarea size
better PHP code for config
|
File size:
1.9 KB
|
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"}{literal} |
---|
5 | jQuery('.cluetip').cluetip({ |
---|
6 | width: 550, |
---|
7 | splitTitle: '|' |
---|
8 | }); |
---|
9 | {/literal}{/footer_script} |
---|
10 | |
---|
11 | {html_head} |
---|
12 | <style type="text/css"> |
---|
13 | legend .cluetip {ldelim} |
---|
14 | text-align:center; |
---|
15 | margin:20px 0 -10px 0; |
---|
16 | font-size:1.2em; |
---|
17 | } |
---|
18 | .cluetip:after {ldelim} |
---|
19 | margin-left:5px; |
---|
20 | vertical-align:top; |
---|
21 | content:url('{$themeconf.admin_icon_dir}/help.png'); |
---|
22 | } |
---|
23 | .properties textarea {ldelim} |
---|
24 | width:60%; |
---|
25 | margin:0 20%; |
---|
26 | } |
---|
27 | </style> |
---|
28 | {/html_head} |
---|
29 | |
---|
30 | <div class="titrePage"> |
---|
31 | <h2>Smilies Support</h2> |
---|
32 | </div> |
---|
33 | |
---|
34 | <form method="post" action="" class="properties"> |
---|
35 | <fieldset> |
---|
36 | <legend>{'Configuration'|@translate}</legend> |
---|
37 | <ul> |
---|
38 | <li> |
---|
39 | <span class="property">{'Smileys\' folder'|@translate}</span> |
---|
40 | <select name="folder"> |
---|
41 | {html_options options=$sets selected=$FOLDER} |
---|
42 | </select> |
---|
43 | </li> |
---|
44 | <li> |
---|
45 | <span class="property">{'Nb. columns'|@translate}</span> |
---|
46 | <input type="text" size="3" name="cols" value="{$COLS}" /> |
---|
47 | </li> |
---|
48 | <li> |
---|
49 | <span class="property">{'Representative'|@translate}</span> |
---|
50 | <select name="representant"> |
---|
51 | {html_options options=$smilies selected=$REPRESENTANT} |
---|
52 | </select> |
---|
53 | </li> |
---|
54 | <li> |
---|
55 | <table><tr> |
---|
56 | {foreach from=$smiliesfiles item=smileyfile} |
---|
57 | <td><a href="#" title="{$smileyfile.TITLE}"><img src="{$smileyfile.PATH}"/></a></td> |
---|
58 | {$smileyfile.TR} |
---|
59 | {/foreach} |
---|
60 | </tr></table> |
---|
61 | </li> |
---|
62 | </ul> |
---|
63 | </fieldset> |
---|
64 | |
---|
65 | <fieldset> |
---|
66 | <legend><span class="cluetip" title="smilies.txt|{'smilies_file_help'|@translate}">smilies.txt</legend> |
---|
67 | <textarea rows="5" name="text">{$CONTENT_FILE}</textarea> |
---|
68 | </fieldset> |
---|
69 | |
---|
70 | <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /></p> |
---|
71 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.