SSL files upload feature added

This commit is contained in:
Dima Malishev 2011-09-11 00:35:57 +03:00
parent 772d8a2909
commit e1011048bd
5 changed files with 69 additions and 23 deletions

View file

@ -475,9 +475,13 @@ App.HTML.Build.dns_subrecord = function(record)
App.HTML.Build.ssl_key_file = function()
{
return '<iframe src="http://dev.vestacp.com:8083/vesta/upload.php?action=show&type=key" width="500px;" height="50px;" framevorder="0" scroll="no">..</iframe>';
return '<iframe src="'+App.Helpers.getUploadUrl()+'?action=show&type=key" width="500px;" height="53px;" framevorder="0" scroll="no">..</iframe>';
}
App.HTML.Build.ssl_cert_file = function()
{
return '<iframe src="'+App.Helpers.getUploadUrl()+'?action=show&type=cert" width="500px;" height="53px;" framevorder="0" scroll="no">..</iframe>';
}
App.HTML.Build.user_selects = function(tpl, options)
{