changeset: 69:834b4ad9f0d8
tag: tip
user: arg_AT_suckless.org
date: Sat Mar 31 07:29:33 2007 +0200
summary: applied JG's most recent diri changes (title is represented in a different way now)
diff -r a6cde312bbdb -r 834b4ad9f0d8 edit.rc
--- a/edit.rc Fri Feb 23 16:04:26 2007 +0100
+++ b/edit.rc Sat Mar 31 07:29:33 2007 +0200
@@ -14,7 +14,9 @@ if(test -d $DIRIDIR/$PATH_INFO) {
echo
exit 0
}
-title=`{basename $PATH_INFO | sed 's/^[0-9]+_//; s/_/ /g'}
+title=( Edit: `{basename $PATH_INFO | sed 's/^[0-9]+_//; s/_/ /g'} '—' \
+ `{basename -d $PATH_INFO | sed 's,^/,,'} '—' \
+ `{echo $ADDRESS | sed 's,^https?://(www\.)?,,'})
cat <<END
Cache-Control: no-cache
Content-Type: text/html
diff -r a6cde312bbdb -r 834b4ad9f0d8 remove.rc
--- a/remove.rc Fri Feb 23 16:04:26 2007 +0100
+++ b/remove.rc Sat Mar 31 07:29:33 2007 +0200
@@ -32,7 +32,9 @@ if(test $password) {
}
redirect $SHOW
}
-title=`{basename $PATH_INFO | sed 's/^[0-9]+_//; s/_/ /g'}
+title=( Remove: `{basename $PATH_INFO | sed 's/^[0-9]+_//; s/_/ /g'} '—' \
+ `{basename -d $PATH_INFO | sed 's,^/,,'} '—' \
+ `{echo $ADDRESS | sed 's,^https?://(www\.)?,,'})
cat <<END
Cache-Control: no-cache
Content-Type: text/html
diff -r a6cde312bbdb -r 834b4ad9f0d8 show.rc
--- a/show.rc Fri Feb 23 16:04:26 2007 +0100
+++ b/show.rc Sat Mar 31 07:29:33 2007 +0200
@@ -42,7 +42,9 @@ if(test -d $DIRIDIR/$PATH_INFO) {
PATH_INFO=`{echo $file | sed $arg}
}
}
-title=`{basename $PATH_INFO | sed 's/^[0-9]+_//; s/_/ /g'}
+title=( `{basename $PATH_INFO | sed 's/^[0-9]+_//; s/_/ /g'} '—' \
+ `{basename -d $PATH_INFO | sed 's,^/,,'} '—' \
+ `{echo $ADDRESS | sed 's,^https?://(www\.)?,,'})
cat <<END
Cache-Control: no-cache
Content-Type: text/html
Received on Sat Mar 31 2007 - 07:31:43 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:31 UTC