* userUI: add a iframe to check update of zentao.

This commit is contained in:
liugang
2023-11-27 13:54:13 +08:00
parent b087015def
commit ad92b1e83f
+2 -1
View File
@@ -170,7 +170,8 @@ div
div
(
setID('poweredby'),
($unsafeSites && !empty($unsafeSites[$zentaoDirName])) ? div(a(setClass('showNotice'), set::href('###'), on::click('showNotice'), $lang->user->notice4Safe)) : null
($unsafeSites && !empty($unsafeSites[$zentaoDirName])) ? div(a(setClass('showNotice'), set::href('###'), on::click('showNotice'), $lang->user->notice4Safe)) : null,
$config->checkVersion ? h::iframe(setID('updater'), setClass('hidden'), set::src(createLink('misc', 'checkUpdate', "sn=$sn"))) : null
)
)
)