summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper/list.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-01-08 20:38:23 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-01-08 20:38:23 +0100
commitb1e758012b3d801d5ab266e53e830fb7091508a2 (patch)
treeee0cd5ba082f35a7df42c1973865bd63d2254bc8 /lib/plugins/extension/helper/list.php
parentc837868af892ada4c25333bec46583a0d42a240d (diff)
downloadrpg-b1e758012b3d801d5ab266e53e830fb7091508a2.tar.gz
rpg-b1e758012b3d801d5ab266e53e830fb7091508a2.tar.bz2
show a message when search returns no results
Diffstat (limited to 'lib/plugins/extension/helper/list.php')
-rw-r--r--lib/plugins/extension/helper/list.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/plugins/extension/helper/list.php b/lib/plugins/extension/helper/list.php
index ba3681ce4..8cc303fbe 100644
--- a/lib/plugins/extension/helper/list.php
+++ b/lib/plugins/extension/helper/list.php
@@ -89,6 +89,14 @@ class helper_plugin_extension_list extends DokuWiki_Plugin {
}
/**
+ * Show message when no results are found
+ */
+ function nothing_found() {
+ global $lang;
+ $this->form .= '<li class="notfound">'.$lang['nothingfound'].'</li>';
+ }
+
+ /**
* Print the form
*/
function render() {