From: paul Date: Sun, 30 Oct 2011 19:52:46 +0000 (+0000) Subject: honor login status when directing to lock script X-Git-Url: http://git.plutz.net/?p=busy;a=commitdiff_plain;h=672fe716ea7dd61c42d6b9a4bdef82e1461099ae honor login status when directing to lock script svn path=/trunk/; revision=25 --- diff --git a/Wiki.page b/Wiki.page index 49d4687..c803489 100755 --- a/Wiki.page +++ b/Wiki.page @@ -70,10 +70,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