-#!/bin/sh
+#!/bin/zsh
# Copyright 2014 Paul Hänsch
#
# You should have received a copy of the GNU Affero General Public License
# along with Confetti. If not, see <http://www.gnu.org/licenses/>.
-[ -z "$_GET[\"order\"]" ] && _GET["order"]=DOW
+[ -z "${_GET[order]}" ] && _GET[order]=DOW
listcards() {
ls -1 ${_DATA}/vcard/*vcf 2>/dev/null |while read file; do
echo "$(date -d "$icstime" "+%u %H%M%S")\t$file"
done |sort |sed -r 's:^.*\t(.*/)([^/]+)$:\2:'
}
-
-case "$1" in
- title)
- echo "Email"
- ;;
- css)
- . ${_EXEC}/templates/email.css.sh
- ;;
- body)
- . ${_EXEC}/templates/text_email.sh
- . ${_EXEC}/templates/email.html.sh
- ;;
-esac
-