X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.sh;h=6807242cd2d6dd0445e419bd72ae62dfe5834f23;hb=4176213eafe0118f19fc492b3bfa5f23efa4acb0;hp=001dd3caa85d1ca95825359afa8d69f47b0d3600;hpb=e2ad5bc6d56a970f4c4674f5c96ba7458370d8c9;p=shellwiki diff --git a/themes/default.sh b/themes/default.sh index 001dd3c..6807242 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/[.]/cgilite/common.css" "$_BASE/[.]/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,20 @@ theme_attachments(){ if acl_write "$page"; then theme_page - "Attachments: $title" <<-EOF +

Upload

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