forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_settings.js
More file actions
22 lines (16 loc) · 711 Bytes
/
Copy path_settings.js
File metadata and controls
22 lines (16 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
}
}