]> git.plutz.net Git - lobster/commitdiff
switch to path based urls (instead of GET based)
authorPaul Hänsch <paul@plutz.net>
Thu, 4 Apr 2019 14:09:50 +0000 (16:09 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 4 Apr 2019 14:09:50 +0000 (16:09 +0200)
cards/widgets.sh

index 76057a6a61f6968cc6b40b9bd05b162745ec69d1..59b6a054c3cf662040038e11152945a8e30572b0 100755 (executable)
@@ -39,7 +39,7 @@ cat <<EOF
                  "$(printf %s "$cat" |grep -qxEe "$2" && printf checked )" \
                  "$(HTML "$cat")"
       done)
-      [a href="?p=categories" $(l10n edit_categories)]
+      [a href="/cards/categories.sh" $(l10n edit_categories)]
     ]
   ]
 EOF
@@ -47,7 +47,7 @@ EOF
 
 w_filter_diag(){
   cat <<EOF
-  [form .filter action="?action=filter_card" method="POST"
+  [form .filter action="/cards/filter_card.sh" method="POST"
     [h1 $(l10n filter_label)]
     [input type="hidden" name="page" value="cards"]