From 81e2e899b94c0457d46853b1e7f66b5185b471d6 Mon Sep 17 00:00:00 2001 From: Metabox Date: Mon, 5 Aug 2019 18:37:09 +1000 Subject: [PATCH] Categories update. --- dbLifeLog/main.cnf | 5 ++++- htdocs/cgi-bin/config.cgi | 30 +++++++++++++++++------------- htdocs/cgi-bin/main.cgi | 6 +++--- 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/dbLifeLog/main.cnf b/dbLifeLog/main.cnf index 2f3e801..a1435dc 100644 --- a/dbLifeLog/main.cnf +++ b/dbLifeLog/main.cnf @@ -21,7 +21,7 @@ Credential format:< , must be enabled option. 28|$THEME = Standard`Theme to applay, Standard, Sun, Moon, Earth. < 01|Unspecified `For quick uncategorised entries. -03|File System `Operating file system short log. +03|File System `Operating file system/Application short log. 06|System Log `Operating system important log. 09|Event `Event that occurred, meeting, historically important. 28|Personal `Personal log of historical importance, diary type. @@ -30,6 +30,9 @@ Credential format:< , must be enabled option. 40|Work `Work related entry, worth monitoring. 45|Food `Quick reference to recipes, observations. 50|Music `Music reference of interest. Youtube embbed. +52|Sport/Club `Sport or Social related entry. +55|Cars `Car(s) related entry. +60|Online `Online purchases (ebay, or received/ordered from online source). < LOG<5>|ALTER TABLE LOG ADD RTF BOOL DEFAULT 0;' ver. 1.5 NOTES|DROP TABLE NOTES;' ver. 1.5 fts4 virtual tables have been scratched as they require special SQLite compilation. diff --git a/htdocs/cgi-bin/config.cgi b/htdocs/cgi-bin/config.cgi index 5315fa6..1a665e9 100755 --- a/htdocs/cgi-bin/config.cgi +++ b/htdocs/cgi-bin/config.cgi @@ -91,6 +91,12 @@ $rv = $dbs->execute() or die or die "

Error->"& $DBI::errstri &"

"; my $status = "Ready for change!"; print $cgi->header(-expires=>"+6s", -charset=>"UTF-8"); + +############### +&processSubmit; +############### + + print $cgi->start_html(-title => "Personal Log", -BGCOLOR=>"#c8fff8", -onload => "loadedBody();", -style => [ @@ -123,9 +129,7 @@ print $cgi->start_html(-title => "Personal Log", -BGCOLOR=>"#c8fff8", ], ); -############### -&processSubmit; -############### + print qq(