X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.sh;h=5ebbd0ef6964180a146ea96b10ddf5a2ee5658ec;hb=refs%2Fheads%2Fmaster;hp=033dd7f7a270d14d8f88774fde0ad9737a8a40cf;hpb=391ca15c76ee74991dc8462ae76782497751a133;p=shellwiki
diff --git a/themes/default.sh b/themes/default.sh
index 033dd7f..5ebbd0e 100755
--- a/themes/default.sh
+++ b/themes/default.sh
@@ -19,6 +19,7 @@
theme_head(){
local IFS="$BR"
printf '
+
'
for css in "$_BASE/%5B.%5D/cgilite/common.css" "$_BASE/%5B.%5D/themes/default.css" $PAGE_CSS; do
@@ -134,31 +135,6 @@ theme_editor(){
theme_revisions(){ theme_page "$@"; }
-theme_search(){
- local words="$*"
- # STDIN: [STRING page][TAB][STRING teaser]
-
- theme_page - "$(_ Search results): ${words}" <<-EOF
-
- $([ "$words" ] && _ "Search results" || _ "Search" )
-
-
- $(while read -r p t; do
- path="$(UNSTRING "$p")" pfrag="${path%/}" title=''
- while [ "$pfrag" ]; do
- title="$(page_title "$pfrag")/$title"
- pfrag="${pfrag%/*}"
- done
- printf '- %s
%s
' \
- "$(URL "$path")" "$(HTML "/$title")" "$(UNSTRING "$t" |HTML)"
- done)
-
-
- EOF
-}
-
theme_attachments(){
local page="$1"