Commit 0ff6d4b8a3a7fd50d88f7199bb9967379d15b3d2
1 parent
bac17767
added refresh message
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1611 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
5 additions
and
2 deletions
presentation/lookAndFeel/knowledgeTree/search/advancedSearchUI.inc
| ... | ... | @@ -78,7 +78,9 @@ function getSearchResults($sSQLSearchString, $iStartIndex, $sSearchText, $sMetaT |
| 78 | 78 | |
| 79 | 79 | $oPatternBrowse = & new PatternBrowseableSearchResults($sQuery, 10, $aColumns, $aColumnTypes, $aColumnHeaders, $aLinkURLs, $aDBQueryStringColumns, $aQueryStringVariableNames); |
| 80 | 80 | $oPatternBrowse->setStartIndex($iStartIndex); |
| 81 | - return "<table width=\"600\">" . renderHeading() . "</table>" . $oPatternBrowse->render() . getSearchVariablesHtml($sSearchText, $sMetaTagIDs); | |
| 81 | + | |
| 82 | + $sRefreshMessage = "<table><tr><td align=\"center\">If your browser displays a 'Warning: Page has Expired' message when you attempt to return to these search results, please click your browser's 'Refresh' button</td></tr></table>"; | |
| 83 | + return "<table width=\"600\">" . renderHeading() . "</table>" . $oPatternBrowse->render() . $sRefreshMessage . getSearchVariablesHtml($sSearchText, $sMetaTagIDs); | |
| 82 | 84 | } |
| 83 | 85 | |
| 84 | 86 | function getSearchValidationJavaScript() { | ... | ... |
presentation/lookAndFeel/knowledgeTree/search/standardSearchUI.inc
| ... | ... | @@ -19,7 +19,8 @@ function renderHeading() { |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | function getPage($sSearchText, $sBrowseType, $iFolderID, $iDocumentID, $sCategoryName, $iDocType, $sFolderIDs, $iStartIndex, $sSQLSearchString, $bSearchByDocument = false) { |
| 22 | - return "<table width=\"600\">" . renderHeading() . "</table>" . getSearchResults($sFolderIDs, $sSQLSearchString, $iStartIndex, $bSearchByDocument) . getSearchVariablesHtml($sSearchText, $sBrowseType, $iFolderID, $iDocumentID, $sCategoryName, $iDocType); | |
| 22 | + $sRefreshMessage = "<table><tr><td align=\"center\">If your browser displays a 'Warning: Page has Expired' message when you attempt to return to these search results, please click your browser's 'Refresh' button</td></tr></table>"; | |
| 23 | + return "<table width=\"600\">" . renderHeading() . "</table>" . getSearchResults($sFolderIDs, $sSQLSearchString, $iStartIndex, $bSearchByDocument) . $sRefreshMessage . getSearchVariablesHtml($sSearchText, $sBrowseType, $iFolderID, $iDocumentID, $sCategoryName, $iDocType); | |
| 23 | 24 | } |
| 24 | 25 | |
| 25 | 26 | function getSearchResults($sIDs,$sSQLSearchString, $iStartIndex, $bSearchByDocument = false) { | ... | ... |