diff options
author | Andrew Dolgov <[email protected]> | 2011-04-19 15:41:44 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-19 15:59:28 +0400 |
commit | 5300354848df3ad4ee26fc533f8394ee37015994 (patch) | |
tree | 03716df6ad272d50152e6bfb86d850dfca3518b8 /modules/popup-dialog.php | |
parent | 4a06f46dc7953b6f060f0023e630b721c36ae1d8 (diff) |
fix searching by date; add search help prompt
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r-- | modules/popup-dialog.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 1f98edadb..2eb63af9d 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -421,8 +421,15 @@ print "</div>"; - print "<div class=\"dlgButtons\"> - <button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('searchDlg').execute()\">".__('Search')."</button> + print "<div class=\"dlgButtons\">"; + + if (!SPHINX_ENABLED) { + print "<div style=\"float : left\"> + <a class=\"visibleLink\" target=\"_blank\" href=\"http://tt-rss.org/redmine/wiki/tt-rss/SearchSyntax\">Search syntax</a> + </div>"; + } + + print "<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('searchDlg').execute()\">".__('Search')."</button> <button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('searchDlg').hide()\">".__('Cancel')."</button> </div>"; } |