diff --git a/module/zahost/js/browse.ui.js b/module/zahost/js/browse.ui.js index 6d8c4b2c5e..676b13379f 100644 --- a/module/zahost/js/browse.ui.js +++ b/module/zahost/js/browse.ui.js @@ -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); +} diff --git a/module/zahost/ui/browse.html.php b/module/zahost/ui/browse.html.php index 1052cba082..128ec378c1 100644 --- a/module/zahost/ui/browse.html.php +++ b/module/zahost/ui/browse.html.php @@ -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');