X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.sh;h=7c31003a1798a227f66ef384358084265c229925;hb=68261c373aa3e692cff9988f9d021aa0fa1783b6;hp=001dd3caa85d1ca95825359afa8d69f47b0d3600;hpb=e2ad5bc6d56a970f4c4674f5c96ba7458370d8c9;p=shellwiki diff --git a/themes/default.sh b/themes/default.sh index 001dd3c..7c31003 100755 --- a/themes/default.sh +++ b/themes/default.sh @@ -3,11 +3,14 @@ . "$_EXEC/tools.sh" theme_head(){ + local IFS="$BR" printf ' - - - - ' "$_BASE" + + ' + for css in "$_BASE/%5B.%5D/cgilite/common.css" "$_BASE/%5B.%5D/themes/default.css" $PAGE_CSS; do + printf '' \ + "$(HTML "${css##*//}")" + done } theme_header(){ @@ -24,10 +27,13 @@ theme_pagemenu(){ if acl_write "$page"; then printf ' ' fi } @@ -68,7 +74,7 @@ theme_editor(){ [ "$template" ] && acl_read "$template" || template="$page" theme_page - "Editor: $title" <<-EOF -
+ @@ -93,13 +99,21 @@ theme_attachments(){ if acl_write "$page"; then theme_page - "Attachments: $title" <<-EOF +

Upload

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