From: paul Date: Mon, 17 Nov 2014 00:27:49 +0000 (+0000) Subject: porting busy to confetti framework X-Git-Url: http://git.plutz.net/?p=busy;a=commitdiff_plain;h=f485895094cd72318b46f39689c3ba954eb37411 porting busy to confetti framework svn path=/trunk/; revision=54 --- diff --git a/Admin.page b/Admin.page deleted file mode 100644 index 65f9e09..0000000 --- a/Admin.page +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/zsh - -metafile=project.meta -userlist="$(sed -rn 's|^([a-zA-Z0-9_+-]):.+$|\1|p' auth/htpasswd)" - -if [ "$ACL_ADMIN" = "false" ]; then - reason=noaccess - . "./Error.page" -else - - echo " -
-
-
-

General

- -
Title Display -
Project Name
-

-
Project Slogan
-

-
- -
Code Browser -
SVN Repository
-

-
GIT Repository
-

-
- -
Donations -
Flattr \"Thing\" URL
-

-
Bitcoin Address
-

-
Paypal Address
-

-
- -
Advertisement -
No Advertisement

-
- BitCoinAdvertisers.com
Bitcoin Address:
-
- - Allow gambling ads - Allow erotic ads -

-
- -
- -
- - " -fi diff --git a/Home.page b/Home.page deleted file mode 100644 index a21de71..0000000 --- a/Home.page +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/zsh -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)" - -cat < -
- -
- -
-
-WikiEND -if [ -n "$search" ]; then - echo "

News search results for: $search

" - for each in $(grep -ile "$search" Home/<0000000000-9999999999>_<000-999>.news); do - id=$(sed -r 's:^.*/::;s:.news$::' <<<$each) - echo "' - done - echo '
' -fi - -cat < - -
-
-
- $([ -r "Home/intro" ] && _wiki "Home/intro") - $($ACL_EDITINTRO && echo "
Edit" ) -
-HomeEND -$ACL_EDITINTRO && cat <
-HomeEND -echo '
' - -$ACL_ADDNEWS && cat < - Add News - - -HomeEND - -stat -c '' Home/<0000000000-9999999999>_<000-999>.news && for each in $(ls -c Home/<0000000000-9999999999>_<000-999>.news); do - info="$(sed 's:Home/::;s:.news::' <<<"$each")" - cat < -
- $([ -r "$each" ] && _wiki "$each") - $($ACL_EDITNEWS && echo "
Edit" ) -
-HomeEND - $ACL_EDITNEWS && cat <