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
|
Rev | Line | |
---|
[9764] | 1 | {combine_script id='jquery.cluetip' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'} |
---|
[9683] | 2 | {include file='include/autosize.inc.tpl'} |
---|
| 3 | |
---|
[14526] | 4 | {footer_script require="jquery.cluetip"}{literal} |
---|
| 5 | jQuery('.cluetip').cluetip({ |
---|
| 6 | width: 550, |
---|
| 7 | splitTitle: '|' |
---|
[10986] | 8 | }); |
---|
[14526] | 9 | {/literal}{/footer_script} |
---|
[9764] | 10 | |
---|
| 11 | {html_head} |
---|
| 12 | <style type="text/css"> |
---|
[10986] | 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 | } |
---|
[9764] | 27 | </style> |
---|
| 28 | {/html_head} |
---|
| 29 | |
---|
[3304] | 30 | <div class="titrePage"> |
---|
[10986] | 31 | <h2>Smilies Support</h2> |
---|
[3304] | 32 | </div> |
---|
[9683] | 33 | |
---|
[14526] | 34 | <form method="post" action="" class="properties"> |
---|
[10986] | 35 | <fieldset> |
---|
| 36 | <legend>{'Configuration'|@translate}</legend> |
---|
| 37 | <ul> |
---|
| 38 | <li> |
---|
[11875] | 39 | <span class="property">{'Smileys\' folder'|@translate}</span> |
---|
[15110] | 40 | <select name="folder"> |
---|
| 41 | {html_options options=$sets selected=$FOLDER} |
---|
[14526] | 42 | </select> |
---|
[10986] | 43 | </li> |
---|
| 44 | <li> |
---|
[11875] | 45 | <span class="property">{'Nb. columns'|@translate}</span> |
---|
[15110] | 46 | <input type="text" size="3" name="cols" value="{$COLS}" /> |
---|
[10986] | 47 | </li> |
---|
| 48 | <li> |
---|
[11875] | 49 | <span class="property">{'Representative'|@translate}</span> |
---|
[15110] | 50 | <select name="representant"> |
---|
| 51 | {html_options options=$smilies selected=$REPRESENTANT} |
---|
[14526] | 52 | </select> |
---|
[10986] | 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> |
---|
[9683] | 62 | </ul> |
---|
[10986] | 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> |
---|
[3304] | 71 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.