X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.sh;h=6807242cd2d6dd0445e419bd72ae62dfe5834f23;hb=4176213eafe0118f19fc492b3bfa5f23efa4acb0;hp=f9dfe4189963c55bcb283c1d78ae74f1d4f7d12c;hpb=4eb1ee6d2d6889d5c8160590c1ce59f4c78cdf68;p=shellwiki diff --git a/themes/default.sh b/themes/default.sh index f9dfe41..6807242 100755 --- a/themes/default.sh +++ b/themes/default.sh @@ -9,7 +9,7 @@ theme_head(){ ' for css in "$_BASE/[.]/cgilite/common.css" "$_BASE/[.]/themes/default.css" $PAGE_CSS; do printf '' \ - "$(HTML "${css#/}")" + "$(HTML "${css##*//}")" done } @@ -74,7 +74,7 @@ theme_editor(){ [ "$template" ] && acl_read "$template" || template="$page" theme_page - "Editor: $title" <<-EOF -
+ @@ -99,13 +99,20 @@ theme_attachments(){ if acl_write "$page"; then theme_page - "Attachments: $title" <<-EOF +

Upload

-
+ + + + EOF else theme_page - "Attachments: $title" <<-EOF