From: paul Date: Mon, 27 Feb 2017 19:32:31 +0000 (+0000) Subject: cleanup for simplified backlinking X-Git-Url: http://git.plutz.net/?p=serve0;a=commitdiff_plain;h=5b28c95408ac219fa5abf790eda7c937542d4e7d cleanup for simplified backlinking svn path=/trunk/; revision=177 --- diff --git a/actions/multitag.sh b/actions/multitag.sh index 3c9848e..36f3966 100755 --- a/actions/multitag.sh +++ b/actions/multitag.sh @@ -1,5 +1,5 @@ #!/bin/zsh -# Copyright 2014 - 2016 Paul Hänsch +# Copyright 2014 - 2017 Paul Hänsch # # This file is part of Serve0 # @@ -16,10 +16,7 @@ # You should have received a copy of the GNU Affero General Public License # along with Serve0 If not, see . -filter="${_POST[f]}" -search="${_POST[s]}" -order=$(validate "${_POST[o]}" 'Name|Date|Length' Name) -page=$(validate "${_POST[pn]}" '[0-9]+' 1) +backlink="${_POST[page]}" addtag(){ meta="$1" @@ -64,5 +61,4 @@ done rm "${_DATA}"/cache/\?* 2>/dev/null [ -n "${_POST[tags]}" ] && rm "${_DATA}"/cache/taglist_set "${_DATA}"/cache/taglist_filter 2>/dev/null -#redirect "?o=$order&s=$search&f=$filter&pn=$page" -redirect "${_POST[page]}" +redirect "$backlink" diff --git a/templates/browse.html.sh b/templates/browse.html.sh index eae9ce9..7f28f83 100755 --- a/templates/browse.html.sh +++ b/templates/browse.html.sh @@ -48,10 +48,6 @@ cat < - - - -
    EOF diff --git a/templates/list.html.sh b/templates/list.html.sh index 28ce6c5..144ad0e 100755 --- a/templates/list.html.sh +++ b/templates/list.html.sh @@ -1,4 +1,4 @@ -# Copyright 2014 - 2016 Paul Hänsch +# Copyright 2014 - 2017 Paul Hänsch # # This file is part of Serve0 # @@ -48,10 +48,6 @@ cat < - - - -
      EOF