summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authortim b <timb@camcompu.home>2010-06-10 07:35:26 -0700
committertim b <timb@camcompu.home>2010-06-10 07:35:26 -0700
commite8f63c24b5c4860d790a30ee231263cf240ec3e2 (patch)
tree70fb6dff85b2e582673a0bd27a540e54e52fc497 /template
parentc0422040dbb2a9f0025709f037f7f17362d862bc (diff)
no results found
Diffstat (limited to 'template')
-rw-r--r--template/search_files.st3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/search_files.st b/template/search_files.st
index 88a3dab..553694a 100644
--- a/template/search_files.st
+++ b/template/search_files.st
@@ -57,6 +57,9 @@
}
}
var contentString = ''
+ if (images.length == 0) {
+ setMessage("no results found")
+ }
for(var i = 0; i < images.length; i++){
contentString += '<a href="'+images[i]+'"><img src="'+images[i]+'"></a>'
}