This commit is contained in:
j 2015-04-17 17:05:09 +01:00
parent baaae8ac5c
commit 8f181b7b51
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}; };

View file

@ -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) {