From 672fe716ea7dd61c42d6b9a4bdef82e1461099ae Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 30 Oct 2011 19:52:46 +0000 Subject: [PATCH] honor login status when directing to lock script svn path=/trunk/; revision=25 --- Wiki.page | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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

-- 2.39.2