mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
export from svn
This commit is contained in:
commit
641ed97fdd
340 changed files with 32404 additions and 0 deletions
22
web/js/old/_settings.js
Normal file
22
web/js/old/_settings.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Constants
|
||||
App.Constants.IP_FORM_ID = 'ip-form';
|
||||
App.Constants.DNS_FORM_ID = 'dns-form';
|
||||
|
||||
App.Settings.ajax_url = 1;
|
||||
App.Settings.uri = location.href.replace('index.html', '');
|
||||
App.Settings.popup_conf = { 'centered' : true, 'bgcolor' : '#FF0000', 'lightboxSpeed' : 'fast', 'destroyOnClose': true };
|
||||
|
||||
App.Constants.SUSPENDED_YES = 'yes';
|
||||
|
||||
App.Constants.IP = 'IP';
|
||||
App.Constants.DNS = 'DNS';
|
||||
|
||||
App.Constants.DNS_TEMPLATES = {'default': 'Default'};
|
||||
|
||||
App.Messages.total_dns_records = {single: 'total record', plural: 'total records'};
|
||||
|
||||
App.Messages.get = function(key, plural) {
|
||||
if ('undefined' != typeof App.Messages[key]) {
|
||||
return plural ? App.Messages[key].plural : App.Messages[key].single;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue