File: 1019_allow_frame_resize.patch

package info (click to toggle)
awstats 8.0-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 13,244 kB
  • sloc: perl: 40,711; xml: 1,785; javascript: 1,493; java: 359; sh: 152; makefile: 40; php: 29
file content (24 lines) | stat: -rw-r--r-- 1,058 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Allow resize of mainleft/right frames.
Author: Sergey B Kirpichev <skirpichev@gmail.com>
Debian-Bug: http://bugs.debian.org/293218
Forwarded: https://sourceforge.net/p/awstats/feature-requests/646

---
 wwwroot/cgi-bin/awstats.pl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/wwwroot/cgi-bin/awstats.pl
+++ b/wwwroot/cgi-bin/awstats.pl
@@ -18239,10 +18239,10 @@ if ( $FrameName eq 'index' ) {
 	print "<frameset cols=\"$FRAMEWIDTH,*\">\n";
 	print "<frame name=\"mainleft\" src=\""
 	  . XMLEncode("$AWScript${NewLinkParams}framename=mainleft")
-	  . "\" noresize=\"noresize\" frameborder=\"0\" />\n";
+	  . "\" frameborder=\"0\" />\n";
 	print "<frame name=\"mainright\" src=\""
 	  . XMLEncode("$AWScript${NewLinkParams}framename=mainright")
-	  . "\" noresize=\"noresize\" scrolling=\"yes\" frameborder=\"0\" />\n";
+	  . "\" scrolling=\"yes\" frameborder=\"0\" />\n";
 	print "<noframes><body>";
 	print "Your browser does not support frames.<br />\n";
 	print "You must set AWStats UseFramesWhenCGI parameter to 0\n";