X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fframe.html.sh;h=b8128a34d6d112fb52474e5ce6041c6ec7e8635a;hp=bac287180270d0f05c00f5dc531c3794fd908676;hb=069a829a781c2799836843fe037dc44d1af5c9db;hpb=a8c6f8b510bb4747798c4f576162733d982bae75 diff --git a/templates/frame.html.sh b/templates/frame.html.sh index bac2871..b8128a3 100755 --- a/templates/frame.html.sh +++ b/templates/frame.html.sh @@ -1,26 +1,75 @@ +#!/bin/zsh + +# Copyright 2014, 2015, 2017 Paul Hänsch +# +# This file is part of Confetti. +# +# Confetti is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Confetti is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Confetti. If not, see . + +. "${_EXEC}/templates/text_frame.sh" +[ -x "${_EXEC}/templates/text_${PAGE}.sh" ] && . "${_EXEC}/templates/text_${PAGE}.sh" + +bmfile="${_DATA}/mappings/bookmarks" + cat < - $($PAGE title) - + $(l10n p_${PAGE}) + + + - + -
- $($PAGE body) -
- - +EOF + +debug BODY; [ -x "${BODY}" ] && . "${BODY}" || printf %s 'Error' + +cat < +
$(l10n configure) + +' EOF # vi:set filetype=html: