X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.sh;h=e8b5f2f62802d53bfddc51f3e0dbc215a12a2df7;hb=3bcd1005c129a3423499239eb0099e4ca7b19e56;hp=89d4fad6c12c934dc71dd2f61a89903c6592676b;hpb=818bd92b936bf3c66a4be47481be3c1fdf244523;p=shellwiki diff --git a/themes/default.sh b/themes/default.sh index 89d4fad..e8b5f2f 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(){ @@ -28,6 +31,9 @@ theme_pagemenu(){
  • Edit
  • Attachments
  • Revisions
  • +
  • Rename
  • +
  • Move
  • +
  • Delete
  • ' 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