From 13e5b7590cd3448afa025a360ba713df9fe9f7c0 Mon Sep 17 00:00:00 2001 From: Will Budicm Date: Thu, 27 Aug 2020 10:53:39 +1000 Subject: [PATCH] Upd Search and View Interaction, display. --- htdocs/cgi-bin/main.cgi | 5 +++-- htdocs/cgi-bin/wsrc/main.js | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) 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!"); } -- 2.34.1
Search/View By + View By/Search $sp1 $sp2