$([ "$words" ] && _ "Search results" || _ "Search" )
-
$( while read p; do
@@ -151,11 +154,10 @@ theme_search(){
}
theme_attachments(){
- local page="$1" title
- title="${page%/}"; title="${title##*/}"
+ local page="$1"
if acl_write "$page"; then
- theme_page - "$(_ Attachments): $title" <<-EOF
+ theme_page - "$(_ Attachments): ${PAGE_TITLE:-"${page}"}" <<-EOF