X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=Wiki.page;h=07055b3c15f2a78d8f9cdd37b23a08414a0f8386;hp=49d4687b2ba255df85f00e5e2f2bb38569a342b3;hb=ab208fff56e536585bc0978898a7c3f610c73dce;hpb=4d74f6d67635ed9d45929f78bfb299df547ae3a4 diff --git a/Wiki.page b/Wiki.page index 49d4687..07055b3 100755 --- a/Wiki.page +++ b/Wiki.page @@ -6,8 +6,6 @@ rev="$(egrep -o '(^|&)(r=)[0-9]{10}(&|$)' <<<"${QUERY_STRING}" |tr -d '&r=')" search="$(egrep -o '(^|&)(s=).+(&|$)' <<<"${QUERY_STRING}" |sed -r 's:^&?s=::;s:\+: :g;s:%:\\x:g')" search="$(echo -e "${search}" |sed 's:\t: :g;s:\r::g;s:\\:\\\\:g' |head -n1)" -[ -z "$ACL_WIKIEDIT" ] && ACL_WIKIEDIT=false - [ -n "$rev" ] && rev=".$rev" if [ -n "$search" ]; then info='' @@ -70,10 +68,10 @@ elif [ -n "$info" -a -r "Wiki/${info}${rev}" ]; then done) Latest

$($LOGIN && if [ -z "$lock" ]; then - [ -z "$rev" ] && echo "edit this page" - [ -n "$rev" ] && echo "Click edit to derive a new page revision from this one." + [ -z "$rev" ] && echo "edit this page" + [ -n "$rev" ] && echo "Click edit to derive a new page revision from this one." else - echo "This page is currently being edited by $lockedit anyway" + echo "This page is currently being edited by $lockedit anyway" fi $LOGIN && echo '
')

Table of Content