]> git.plutz.net Git - serve0/blobdiff - index.cgi
application of tag filters
[serve0] / index.cgi
index f5880c9e9235ecd96e98c65b114dd28e0118c674..7a1a3efd2106a677365c2a8ab7c927c8b7608bc7 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -8,7 +8,6 @@
 file_pattern='^.*\.(mov|ts|mpg|mpeg|mp4|m4v|avi|mkv|flv|sfv|wmv|ogm|ogv|webm|iso|rmvb)$'
 
 . "$_EXEC/cgilite/cgilite.sh"
-. "$_EXEC/widgets.sh"
 
 FILTER="$(GET f)"
 SEARCH="$(GET s)"
@@ -49,6 +48,9 @@ elif [ -f "$_DATA/$ITEM" ]; then
   esac
 elif [ -d "$_DATA/$ITEM" ]; then
   case $(GET a) in
+    advsearch)
+      . "$_EXEC/advsearch.sh"
+    ;;
     spawnindex)
       if [ "$(POST recursive)" = yes ]; then
         find "$_DATA/$ITEM" -depth -type d \! -name .index \