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