Last change
on this file since 9764 was
9764,
checked in by mistic100, 13 years ago
|
[extentions] Smilies Support
- active for admin in the comments page
- two new sets of smilies
- help tip on admin page (needs translation)
|
File size:
1.6 KB
|
Line | |
---|
1 | {combine_script id='jquery'} |
---|
2 | {combine_script id='jquery.cluetip' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'} |
---|
3 | {include file='include/autosize.inc.tpl'} |
---|
4 | |
---|
5 | {footer_script} |
---|
6 | {literal} |
---|
7 | jQuery().ready(function(){ |
---|
8 | // Cluetip |
---|
9 | jQuery('.cluetip').cluetip({ |
---|
10 | width: 550, |
---|
11 | splitTitle: '|' |
---|
12 | }); |
---|
13 | }); |
---|
14 | {/literal} |
---|
15 | {/footer_script} |
---|
16 | |
---|
17 | {html_head} |
---|
18 | <style type="text/css"> |
---|
19 | legend .cluetip {ldelim} |
---|
20 | text-align:center; |
---|
21 | margin:20px 0 -10px 0; |
---|
22 | font-size:1.2em; |
---|
23 | } |
---|
24 | .cluetip:after {ldelim} |
---|
25 | margin-left:5px; |
---|
26 | vertical-align:top; |
---|
27 | content:url('{$themeconf.admin_icon_dir}/help.png'); |
---|
28 | } |
---|
29 | </style> |
---|
30 | {/html_head} |
---|
31 | |
---|
32 | <div class="titrePage"> |
---|
33 | <h2>Smilies Support</h2> |
---|
34 | </div> |
---|
35 | |
---|
36 | <form method="post" action="" class="properties" ENCTYPE="multipart/form-data"> |
---|
37 | <fieldset> |
---|
38 | <legend>{'Configuration'|@translate}</legend> |
---|
39 | <ul> |
---|
40 | <li> |
---|
41 | <span class="property">{'smilies_dir'|@translate}</span> |
---|
42 | <input type="text" size="40" name="text1" value="{$TEXT1_VALUE}" /> |
---|
43 | </li> |
---|
44 | <li> |
---|
45 | <span class="property">{'nb_columns'|@translate}</span> |
---|
46 | <input type="text" size="3" name="text2" value="{$TEXT2_VALUE}" /> |
---|
47 | </li> |
---|
48 | <li> |
---|
49 | <span class="property">{'representant'|@translate}</span> |
---|
50 | <input type="text" size="20" name="text3" value="{$TEXT3_VALUE}" /> |
---|
51 | </li> |
---|
52 | <li> |
---|
53 | <table><tr><td>{$SMILIESSUPPORT_PAGE}</td></tr></table> |
---|
54 | </li> |
---|
55 | </ul> |
---|
56 | </fieldset> |
---|
57 | |
---|
58 | <fieldset> |
---|
59 | <legend><span class="cluetip" title="smilies.txt|{'smilies_file_help'|@translate}">smilies.txt</legend> |
---|
60 | <textarea rows="5" name="text">{$CONTENT_FILE}</textarea> |
---|
61 | </fieldset> |
---|
62 | |
---|
63 | <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /></p> |
---|
64 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.