$value) {
db_process_sql_update(
'tupdate_settings',
[db_escape_key_identifier('value') => $value],
[db_escape_key_identifier('key') => $key]
);
}
ui_print_success_message(__('License updated'));
}
}
$license = enterprise_hook('license_get_info');
$rows = db_get_all_rows_in_table('tupdate_settings');
$settings = new StdClass;
foreach ($rows as $row) {
$settings->{$row['key']} = $row['value'];
}
echo '';
echo '
';
echo '';
echo '
';
html_print_image(ui_get_custom_header_logo(true));
echo '
';
echo ''.__('To get your
%s Enterprise License:', get_product_name()).'
';
echo '
';
echo '
';
echo '
';
echo '- ';
echo ''.__('Enter your name (or a company name) and a contact email address.');
echo '
';
echo '- ';
echo ''.__('Click on Generate.');
echo '
';
echo '- ';
echo ''.__('Click here, enter the generated license key and click on Validate.');
echo '
';
echo '
';
echo '
';
}