admin page v1

This commit is contained in:
2019-03-31 22:07:21 +02:00
parent cf91719dba
commit ecf47b1a7e
10 changed files with 180 additions and 15 deletions

View File

@@ -226,6 +226,11 @@ function setElem(aoAnchor, asPath, oValue)
}
}
$.prototype.addInput = function(sType, sName, sValue)
{
return $(this).append($('<input>', {type: sType, name: sName, value: sValue}).data('old_value', sValue));
};
$.prototype.addIcon = function(sIcon, bMargin, sStyle)
{
bMargin = bMargin || false;