Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
373a4a26
Commit
373a4a26
authored
Nov 20, 2006
by
Richard Mansfield
Browse files
Results list hidden if search returns no results
parent
61152d19
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/results.php
View file @
373a4a26
...
...
@@ -59,6 +59,7 @@ function search_submit($values) {
}
//@todo: Show 'no results found' for an empty query.
$noresults
=
get_string
(
'noresultsfound'
);
$javascript
=
<<<JAVASCRIPT
var results = new TableRenderer(
...
...
@@ -78,6 +79,7 @@ function newsearch() {
}
results.statevars.push('query');
results.emptycontent = '{$noresults}';
JAVASCRIPT;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment