MediaWiki:Gadget-LiveRC 1x.js/InserisciTemplate.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m dot notation |
m altri fix stilistici |
||
Riga 680:
} );
return false;
};
// Get page edit token and protection status
Riga 815:
lrcDisableLink( "LiveTagLink" );
var EditParam = [];
EditParam.token = LiveRC_Config
if ( data.where == 'top' ) {
EditParam.prependtext = text + "\n";
Riga 851:
function InserisciTemplate_PostTagPageDone( Req, data ) {
var params = data.params;
var
var text = "<b>" + params
LiveRC_alert( text );
}
Riga 931:
TemplateDiv.className = "InserisciTemplate_TemplateDiv ParamMenuLi";
var Legend = document.createElement( 'p' );
var Title = document.createElement( 'a' );
Title.className = "InserisciTemplate_template";
Title.innerHTML = "{{" + Template.template + "}} ";
Riga 1 027:
Input_subst.id = 'subst';
Input_subst.type = "checkbox";
if ( Template.subst ) {
Input_subst.checked = "checked"; }
LI_Template.appendChild( Input_subst );
Riga 1 125 ⟶ 1 127:
Opt.innerHTML = OptValue;
Opt.value = OptValue;
if ( OptValue == ParamType ) {
Opt.selected = "selected"; }
Select_type.appendChild( Opt );
}
Select_type.onchange = function() {
InserisciTemplate_ChageValueType( this );
};
LI_Param.appendChild( Select_type );
LI_Param.appendChild( document.createTextNode( " - " ) );
Riga 1 298 ⟶ 1 302:
Select.appendChild( Option );
}
InserisciTemplate_AddOptionToSelect_Cancel( AddOptionInputOK );
}
|