]> git.plutz.net Git - confetti/blobdiff - cards/widgets.sh
switch to path based urls (instead of GET based)
[confetti] / 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)
                  "$(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
     ]
   ]
 EOF
@@ -47,7 +47,7 @@ EOF
 
 w_filter_diag(){
   cat <<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"]
   
     [h1 $(l10n filter_label)]
     [input type="hidden" name="page" value="cards"]