Ignore:
Timestamp:
Mar 19, 2011, 10:27:48 AM (13 years ago)
Author:
mistic100
Message:

[extentions] Smilies Support

  • active for admin in the comments page
  • two new sets of smilies
  • help tip on admin page (needs translation)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmiliesSupport/smiliessupport_admin.tpl

    r9683 r9764  
    11{combine_script id='jquery'}
     2{combine_script id='jquery.cluetip' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'}
    23{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}
    331
    432<div class="titrePage">
     
    2957       
    3058        <fieldset>
    31                 <legend>smilies.txt</legend>
     59                <legend><span class="cluetip" title="smilies.txt|{'smilies_file_help'|@translate}">smilies.txt</legend>
    3260                <textarea rows="5" name="text">{$CONTENT_FILE}</textarea>
    3361        </fieldset>     
Note: See TracChangeset for help on using the changeset viewer.