MediaWiki:Gadget-tradLink.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 5:
* Autore : [[:it:User:Jalo]]
*
* Lo scriptcontiene funzioni (tradLink_showDialog
* http://it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-tb-base.js&oldid=66478020
* scritto da [[:it:User:Rotpunkt]]
Riga 12:
// Show the dialog in order to ask for the template parameters.
.attr('id', id)▼
.attr('type', 'text')▼
.attr('size', 50)▼
function tradLink_showDialog(data, page) {
lingue = tradLink_getLingue();
Riga 33 ⟶ 22:
count = 1;
$.each(lingue, function (id, val) {
count++;▼
var inputEl = tradLink_buildInputEl(id, valore);
$('<label>')
.attr('for', id)
.text(
.appendTo($fieldset);
$fieldset
.append($('<
▲ .attr('type', 'text')
.append('<br/>');
▲ count++;
});
// show the dialog
| |||