refine
This commit is contained in:
parent
baaae8ac5c
commit
8f181b7b51
2 changed files with 3 additions and 3 deletions
|
@ -18,10 +18,10 @@ pandora.ui.licenseDialog = function() {
|
||||||
content: Ox._(
|
content: Ox._(
|
||||||
'This installation of <b>pan.do/ra</b> is unlicensed. '
|
'This installation of <b>pan.do/ra</b> is unlicensed. '
|
||||||
+ 'Please contact your vendor for more information on '
|
+ 'Please contact your vendor for more information on '
|
||||||
+ 'how to acquire a license, or renew an expired one.'
|
+ 'how to acquire a license or renew an expired one.'
|
||||||
),
|
),
|
||||||
keys: {enter: 'close', escape: 'close'},
|
keys: {enter: 'close', escape: 'close'},
|
||||||
title: Ox._('License')
|
title: Ox._('License')
|
||||||
});
|
});
|
||||||
|
return that;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1955,7 +1955,7 @@ pandora.isEmbedURL = function(url) {
|
||||||
};
|
};
|
||||||
|
|
||||||
pandora.isLicensed = function() {
|
pandora.isLicensed = function() {
|
||||||
return pandora.site.license && pandora.site.license < +new Date();
|
return !pandora.site.license || pandora.site.license > +new Date();
|
||||||
};
|
};
|
||||||
|
|
||||||
pandora.isPrintURL = function(url) {
|
pandora.isPrintURL = function(url) {
|
||||||
|
|
Loading…
Reference in a new issue