diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-28 15:59:04 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-28 15:59:04 +0200 |
commit | 89d00fcbc75e128cba516009db100daec4b794a9 (patch) | |
tree | 9e98d87d9fef51a06d830ef2dd659cdc6fed2fb4 /lib/_ak_html | |
parent | 756db3cbdb91d2cb4773dd16aec3b54d1a52c462 (diff) | |
download | arching-kaos-tools-89d00fcbc75e128cba516009db100daec4b794a9.tar.gz arching-kaos-tools-89d00fcbc75e128cba516009db100daec4b794a9.tar.bz2 arching-kaos-tools-89d00fcbc75e128cba516009db100daec4b794a9.zip |
refactoringHEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'lib/_ak_html')
-rwxr-xr-x | lib/_ak_html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/_ak_html b/lib/_ak_html index 5a47836..491cb6c 100755 --- a/lib/_ak_html +++ b/lib/_ak_html @@ -19,7 +19,7 @@ ### source $AK_LIBDIR/_ak_log -_ak_generate_html_header(){ +function _ak_generate_html_header(){ printf '<!DOCTYPE html>\n<html>\n<head>\n' printf '<title>Arching Kaos Chain Data</title>\n' printf ' <meta charset="UTF-8">\n' @@ -82,7 +82,7 @@ _ak_generate_html_header(){ printf '<body>\n' } -_ak_generate_html_zblock(){ +function _ak_generate_html_zblock(){ if [ ! -z $1 ] && [ -n "$1" ] then arg="$1" @@ -160,7 +160,6 @@ _ak_generate_html_zblock(){ _ak_log_error "Empty datablock value" exit 1 fi - # Output data in HTML format printf ' <h1>%s</h1>\n' "$PROGRAM" printf ' <h2>🔎 %szblock</h2>\n' "$zblock" |