X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=index.cgi;h=482a747467827e34bf9fdf667bd5abab27866bbf;hp=dac2f6b2898ac9cee16fc1faef658872593ccf54;hb=f15f6511d4f6f50302ea593a3719143b2173688c;hpb=4b1ba607d424bd4c84a019b1d71369317ad843ca diff --git a/index.cgi b/index.cgi index dac2f6b..482a747 100755 --- a/index.cgi +++ b/index.cgi @@ -18,7 +18,7 @@ umask=002 alias _wiki="stx2any --no-template --link-abbrevs --quote -T html" -. auth/acl.sh +. auth/permissions.sh page=$(egrep -o '(^|&)p=[a-zA-Z0-9/_-]+(&|$)' <<<"${QUERY_STRING}" |sed 's,&,,g;s,p=,,') @@ -44,16 +44,30 @@ cat < $([ -r "${page}.css" ] && echo '') + + + + +
@@ -67,8 +81,17 @@ $( $LOGIN || echo '

') +$( $LOGIN && echo "You are loggeed in as ${REMOTE_USER}
") +$( $LOGIN && $ACL_ADMIN && echo 'Admin
') +$( $LOGIN && echo 'My Settings
')
+ $(grep -q 'useFlattr=yes' project.meta && echo ' + + + ')