12721 Added messages
This commit is contained in:
parent
30769852be
commit
cc78caf6d1
|
@ -112,6 +112,20 @@ if ($license_data !== ENTERPRISE_NOT_HOOK) {
|
|||
);
|
||||
return;
|
||||
}
|
||||
|
||||
if (rtrim($license_data['licensed_to']) === Manager::PANDORA_TRIAL_ISSUER) {
|
||||
$product_name = get_product_name();
|
||||
|
||||
ui_print_info_message(
|
||||
__(
|
||||
'You cannot use update manager %s. This license is a trial license to test all %s features. Please update your license to unlock all %s features.',
|
||||
$mode_str,
|
||||
$product_name,
|
||||
$product_name
|
||||
)
|
||||
);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
$license_data = [];
|
||||
$license_data['count_enabled'] = db_get_value(
|
||||
|
|
|
@ -221,10 +221,10 @@ $(document).ready(function() {
|
|||
}
|
||||
}
|
||||
|
||||
if ($("#license_dialog").length) {
|
||||
let height = 300;
|
||||
if ($("#license_dialog_message").length) {
|
||||
let height = 350;
|
||||
|
||||
$("#license_dialog").dialog({
|
||||
$("#license_dialog_message").dialog({
|
||||
dialogClass: "no-close",
|
||||
closeOnEscape: false,
|
||||
resizable: false,
|
||||
|
@ -242,7 +242,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
$("#ok_buttom").click(function() {
|
||||
$("#license_dialog").dialog("close");
|
||||
$("#license_dialog_message").dialog("close");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue