output.print_warning("Mail-in-a-Box version check disabled by privacy setting.")
else:
this_ver=what_version_is_this(env)
latest_ver=get_latest_miab_version()
ifthis_ver==latest_ver:
output.print_ok("Mail-in-a-Box is up to date. You are running version %s."%this_ver)
else:
output.print_error("A new version of Mail-in-a-Box is available. You are running version %s. The latest version is %s. For upgrade instructions, see https://mailinabox.email. "
<p>You are running Mail-in-a-Box version <spanid="miab-version"style="font-weight: bold">...</span>.</p>
<p>The latest version of Mail-in-a-Box is <buttonid="miab-get-latest-upstream"onclick="check_latest_version()">Check</button>.</p>
<p>To find the latest version and for upgrade instructions, see <ahref="https://mailinabox.email/">https://mailinabox.email/</a>, <ahref="https://github.com/mail-in-a-box/mailinabox/blob/master/CHANGELOG.md">release notes</a>, and <ahref="https://mailinabox.email/maintenance.html#updating-mail-in-a-box">upgrade instructions</a>.</p>