mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
- LSformElement_rss : Ajout de LStips sur les boutons.
This commit is contained in:
parent
b448d82139
commit
d9ce613daf
2 changed files with 12 additions and 2 deletions
|
@ -42,6 +42,16 @@ class LSformElement_rss extends LSformElement_text {
|
|||
|
||||
var $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
|
||||
function getDisplay() {
|
||||
$GLOBALS['LSsession'] -> addHelpInfos (
|
||||
'LSformElement_rss',
|
||||
array(
|
||||
'display' => _("Afficher la file RSS.")
|
||||
)
|
||||
);
|
||||
return parent :: getDisplay($return);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -22,12 +22,12 @@ var LSformElement_rss = new Class({
|
|||
var btn = new Element('img');
|
||||
btn.setProperties({
|
||||
src: varLSdefault.imagePath('rss.png'),
|
||||
alt: 'File RSS',
|
||||
title: 'File RSS'
|
||||
alt: 'File RSS'
|
||||
});
|
||||
btn.addClass('btn');
|
||||
btn.injectAfter(el);
|
||||
btn.addEvent('click',this.onBtnClick.bind(this,btn));
|
||||
varLSdefault.addHelpInfo(btn,'LSformElement_rss','display');
|
||||
},
|
||||
|
||||
reinitialize: function(el) {
|
||||
|
|
Loading…
Reference in a new issue