X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.sh;h=c99477bc4d99c54cb6b3362d04bedc1ff0dcd862;hb=278f5b7fd6be2c7dba2c00dd78b75ad2c4366712;hp=89d4fad6c12c934dc71dd2f61a89903c6592676b;hpb=818bd92b936bf3c66a4be47481be3c1fdf244523;p=shellwiki diff --git a/themes/default.sh b/themes/default.sh index 89d4fad..c99477b 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 -
    +