add placeholder for quoted printable dencoders

This commit is contained in:
Manuel Friedli 2015-03-26 23:11:59 +01:00
parent 46a6e1bbec
commit 8e673b4d81

View file

@ -82,6 +82,24 @@
}
}
},
{
"id": "decodequotedprintable",
"name": "Decode quoted printable",
"convert": function (input) {
try {
return {
"status": "ERROR",
"content": "Sorry, not supported yet!"
};
} catch (exception) {
return {
"status": "ERROR",
"content": "Invalid quoted printable string."
};
}
},
"disabled": true
},
{
"id": "base64encode",
"name": "Encode Base64",
@ -127,6 +145,17 @@
.replace(/\"/g, """)
};
}
},
{
"id": "encodequotedprintable",
"name": "Encode quoted printable",
"convert": function (input) {
return {
"status": "ERROR",
"content": "Sorry, not supported yet!"
};
},
"disabled": true
}
];
@ -140,6 +169,9 @@
for (i = 0; i < plugins.length; i++) {
plugin = plugins[i];
option = optiontemplate.replace(/\{identifier\}/g, plugin.id).replace(/\{name\}/g, plugin.name);
if (plugin.disabled) {
option = $(option).attr("disabled", "disabled")[0].outerHTML;
}
options += option;
}
template = template.replace(/\{options\}/g, options);