* Show features when you visit zahost first.

This commit is contained in:
daitingting
2023-12-27 02:27:18 +00:00
parent 332eae351f
commit 5b46d1ac47
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -22,3 +22,9 @@ window.afterRender = function()
$('.dtable-cell-content .toolbar button.disabled.browseImage').attr('title', uninitNotice);
$('.dtable-cell-content .toolbar button.disabled.ajax-submit').attr('title', undeletedNotice);
}
if(showFeature)
{
var encodedHelpPageUrl = 'https://www.zentao.net/book/zentaopms/978.html?fullScreen=zentao';
window.open(encodedHelpPageUrl);
}
+1
View File
@@ -13,6 +13,7 @@ namespace zin;
jsVar('webRoot', getWebRoot());
jsVar('undeletedNotice', $lang->zahost->undeletedNotice);
jsVar('uninitNotice', $lang->zahost->uninitNotice);
jsVar('showFeature', $showFeature);
$createItem = array('text' => $lang->zahost->create, 'url' => createLink('zahost', 'create'), 'icon' => 'plus', 'class' => 'btn primary');