mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
- LSdefault : Fonctionnalité pour le divertissement de l'utilisateur.
This commit is contained in:
parent
03c6892e0f
commit
15f678b67b
1 changed files with 17 additions and 0 deletions
|
@ -47,6 +47,23 @@ var LSdefault = new Class({
|
|||
this.displayInfosBox();
|
||||
}
|
||||
|
||||
var getMoo = /moo$/;
|
||||
if (getMoo.exec(window.location)) {
|
||||
var mooTxt = " (__)\n (oo)\n /------\\\/\n / | ||\n * /\---/\\\n ~~ ~~";
|
||||
var ulMoo = this.LSinfos.getElement('ul');
|
||||
var preMoo = new Element('pre');
|
||||
preMoo.set('html',mooTxt);
|
||||
if ($type(ulMoo)) {
|
||||
var liMoo = new Element('li');
|
||||
liMoo.injectInside(ulMoo);
|
||||
preMoo.injectInside(liMoo);
|
||||
}
|
||||
else {
|
||||
preMoo.injectInside(this.LSinfos);
|
||||
}
|
||||
this.displayInfosBox();
|
||||
}
|
||||
|
||||
this.LStips = new Tips('.LStips');
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue