mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
- LSformElement_ssh_key : Ajout de LStips
This commit is contained in:
parent
9e2872c5c3
commit
7765cd999b
2 changed files with 8 additions and 0 deletions
|
@ -51,6 +51,13 @@ class LSformElement_ssh_key extends LSformElement {
|
|||
}
|
||||
else {
|
||||
$GLOBALS['LSsession'] -> addJSscript('LSformElement_ssh_key.js');
|
||||
$GLOBALS['LSsession'] -> addHelpInfos (
|
||||
'LSformElement_ssh_key',
|
||||
array(
|
||||
'display' => _("Afficher la clef complète.")
|
||||
)
|
||||
);
|
||||
|
||||
$values_txt = array();
|
||||
foreach ($this -> values as $value) {
|
||||
if (ereg('^ssh-([a-z]+) (.*)== (.*)$',$value,$regs)) {
|
||||
|
|
|
@ -2,6 +2,7 @@ var LSformElement_ssh_key = new Class({
|
|||
initialize: function(){
|
||||
$$('span.LSformElement_ssh_key_short_display').each(function(span) {
|
||||
span.addEvent('click',this.onShortDisplayClick.bind(this,span));
|
||||
varLSdefault.addHelpInfo(span,'LSformElement_ssh_key','display');
|
||||
}, this);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue