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._(
'This installation of <b>pan.do/ra</b> is unlicensed. '
+ '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'},
title: Ox._('License')
});
return that;
};

View File

@ -1955,7 +1955,7 @@ pandora.isEmbedURL = function(url) {
};
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) {