]> git.plutz.net Git - serve0/commitdiff
stubs for file deletion
authorPaul Hänsch <paul@plutz.net>
Sun, 22 Sep 2019 12:45:07 +0000 (14:45 +0200)
committerPaul Hänsch <paul@plutz.net>
Sun, 22 Sep 2019 12:45:07 +0000 (14:45 +0200)
widgets.sh

index 25ec01e9c05bcfdd78b2a0d965dfafdc7c3bbf20..7c945d6ad3baf954928a47ab862adcca1dee5f04 100644 (file)
@@ -244,6 +244,15 @@ w_advsearch(){
           "$w_colength" "$w_cogroup"
 }
 
+w_delete(){
+  printf '[a href="#multitag" Add Tags / Remove Tags]
+          [div #multitag [input type="hidden" name="ref" value="%s"]
+          [a href="#" Hide][br]
+          [fieldset [legend New:]
+          [submit "op" "filedelete" Delete Files]
+          ]]' "$w_refuri"
+}
+
 w_tagging(){
   local tag category d
   printf '[a href="#multitag" Add Tags / Remove Tags]