X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.sh;h=0439f0d642421244c6049fa2ef9896389a5e21a5;hb=713a39f5e2b8f99d824273d49e64edb977333f69;hp=0b850078a06c321a6892813b1d129b8b1fabd9af;hpb=fef8e307b2e7777e5c43766e625338da8089bbfc;p=shellwiki diff --git a/themes/default.sh b/themes/default.sh index 0b85007..0439f0d 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,13 +27,13 @@ theme_pagemenu(){ if acl_write "$page"; then printf '
' fi } @@ -44,7 +47,7 @@ theme_page(){ cat <<-EOF - + $(theme_head)