]> git.plutz.net Git - lobster/blobdiff - therapies/index.cgi
better visibility for sticky note close button
[lobster] / therapies / index.cgi
index f142d2180de1a20a6844577bb120e4557d957ada..6284c0033f504e53422e5c09cedade5fb4598811 100755 (executable)
@@ -46,12 +46,6 @@ esac
 . $_EXEC/pdiread.sh
 . $_EXEC/therapies/l10n.sh
 
-# unescape() { [ $# = 0 ] && sed -E 's;\\(.);\1;g' || printf %s "$*" |sed -E 's;\\(.);\1;g'; }
-# upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ;; '
-
-BR='
-'
-
 id="${_PATH#/therapies/}"
 id="${id%/*}.${id#*/}"
 
@@ -69,7 +63,7 @@ tpy="$(sed '1s;^;\n;; s/:/;:/' "$tpyfile")"
 
 VCF(){ pdi_value "$vcf" "$@"; }
 MPX(){ pdi_value "$mpx" "$@"; }
-TPY(){ pdi_value "$tpy" "$@"; }
+TPY(){ pdi_value "$tpy" "$@" >/dev/null && pdi_value "$tpy" "$@" |pdi_unescape; }
 
 . $_EXEC/therapies/page.sh \
 | yield_page therapy /therapies/therapy.css