From: Will Budicm Date: Thu, 27 Aug 2020 00:53:39 +0000 (+1000) Subject: Upd Search and View Interaction, display. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=13e5b7590cd3448afa025a360ba713df9fe9f7c0;p=LifeLog.git Upd Search and View Interaction, display. --- diff --git a/htdocs/cgi-bin/main.cgi b/htdocs/cgi-bin/main.cgi index 5c4e3e6..7cd05a8 100755 --- a/htdocs/cgi-bin/main.cgi +++ b/htdocs/cgi-bin/main.cgi @@ -28,7 +28,7 @@ use Gzip::Faster; #DEFAULT SETTINGS HERE! use lib "system/modules"; require Settings; -$CGI::POST_MAX = 1024 * 1024 * 5; # max 5B posts +$CGI::POST_MAX = 1024 * 1024 * 5; # max 5GB file post size limit. my $cgi = CGI->new; my $sss = new CGI::Session( "driver:File", $cgi, { Directory => &Settings::logPath } ); @@ -826,6 +826,7 @@ $log_output .= qq(
+ $tags ); @@ -834,7 +835,7 @@ $log_output .= qq(
- diff --git a/htdocs/cgi-bin/wsrc/main.js b/htdocs/cgi-bin/wsrc/main.js index ee96214..9d609a3 100644 --- a/htdocs/cgi-bin/wsrc/main.js +++ b/htdocs/cgi-bin/wsrc/main.js @@ -302,6 +302,11 @@ function onBodyLoad(toggle, tz, today, expires, rs_cur) { } }); + if($("#isInViewMode").val()>0){ + this.toggle('#div_srh', true); + this.toggle('#div_log', true); + } + display("Log page is ready!"); }
Search/View By + View By/Search $sp1 $sp2