%if uninstall~%> <%Links::Update::browser_uninstall~%> <%if uninstall_success%><%set message = 'Selected updates have been successfully uninstalled.'%><%endif~%> <%endif~%> <%if not config.reg_number%> <%set error = "You must enter a valid registration number before checking for updates. You can enter a registration number in the Setup -> Misc. Options menu."%> <%else%> <%Links::Update::check_historic($historic_version)~%> <%endif%> <%set update_mode = 'history'~%>