function service_update()
local url = DISP.build_url("admin", "system", "packages")
if not service_version() then
- return [[<h3><strong><br /><font color="red"> ]]
+ return [[<h3><strong><br /><font color="red">    ]]
.. I18N.translate("Software package '%s' is not installed." % srv_name)
- .. [[</font><br /><br /> ]]
+ .. [[</font><br /><br />    ]]
.. I18N.translate("required") .. [[: ]] .. srv_name .. [[ ]] .. srv_ver_min .. " " .. I18N.translate("or higher")
- .. [[<br /><br /> ]]
+ .. [[<br /><br />    ]]
.. [[<a href="]] .. url ..[[">]]
.. I18N.translate("Please install current version !")
- .. [[</a><br /> </strong></h3>]]
+ .. [[</a><br /> </strong></h3>]]
else
- return [[<h3><strong><br /><br /><font color="red"> ]]
+ return [[<h3><strong><br /><br /><font color="red">    ]]
.. I18N.translate("Software package '%s' is outdated." % srv_name)
- .. [[</font><br /><br /> ]]
+ .. [[</font><br /><br />    ]]
.. I18N.translate("installed") .. ": " .. service_version()
- .. [[<br /><br /> ]]
+ .. [[<br /><br />    ]]
.. I18N.translate("required") .. ": " .. srv_ver_min .. " " .. I18N.translate("or higher")
- .. [[<br /><br /> ]]
+ .. [[<br /><br />    ]]
.. [[<a href="]] .. url ..[[">]]
.. I18N.translate("Please update to the current version!")
- .. [[</a><br /><br /> </strong></h3>]]
+ .. [[</a><br /><br /> </strong></h3>]]
end
end