added a warning about passive profiling
This commit is contained in:
parent
5d435ba1f9
commit
65404ed7fb
8 changed files with 26 additions and 2 deletions
|
|
@ -1,3 +1,13 @@
|
|||
6.2.5
|
||||
- Added missing upgrade file. This caused no harm to those that upgraded
|
||||
without it.
|
||||
- WebGUI::HTTP::setRedirect now also adds a meta redirect in case the web
|
||||
server does not support 302 redirects, or the content is being cached out
|
||||
to static files.
|
||||
- Added a warning to the Passive Profiling feature that it may be illegal to
|
||||
use that feature in some countries.
|
||||
|
||||
|
||||
6.2.4
|
||||
- Changed text processor to convert HTML tags into text rather than
|
||||
discarding them.
|
||||
|
|
|
|||
|
|
@ -3093,7 +3093,7 @@ CREATE TABLE webguiVersion (
|
|||
--
|
||||
|
||||
|
||||
INSERT INTO webguiVersion VALUES ('6.2.3','initial install',unix_timestamp());
|
||||
INSERT INTO webguiVersion VALUES ('6.2.4','initial install',unix_timestamp());
|
||||
|
||||
--
|
||||
-- Table structure for table `wobject`
|
||||
|
|
|
|||
3
docs/upgrades/upgrade_6.2.3-6.2.4.sql
Normal file
3
docs/upgrades/upgrade_6.2.3-6.2.4.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
insert into webguiVersion values ('6.2.4','upgrade',unix_timestamp());
|
||||
|
||||
|
||||
3
docs/upgrades/upgrade_6.2.4-6.2.5.sql
Normal file
3
docs/upgrades/upgrade_6.2.4-6.2.5.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
insert into webguiVersion values ('6.2.5','upgrade',unix_timestamp());
|
||||
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
package WebGUI;
|
||||
our $VERSION = "6.2.4";
|
||||
our $VERSION = "6.2.5";
|
||||
our $STATUS = "beta";
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ package WebGUI::HTTP;
|
|||
use strict;
|
||||
use WebGUI::International;
|
||||
use WebGUI::Session;
|
||||
use WebGUI::Style;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
|
@ -234,6 +235,7 @@ The URL to redirect to.
|
|||
sub setRedirect {
|
||||
$session{http}{location} = shift;
|
||||
setStatus("302", "Redirect");
|
||||
WebGUI::Style::setMeta({"http-equiv"=>"refresh",content=>"0,".$session{http}{location}});
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -175,6 +175,7 @@ sub www_manageMetaData {
|
|||
-name=>"passiveProfilingEnabled",
|
||||
-label=>WebGUI::International::get("Enable passive profiling ?", 'MetaData'),
|
||||
-value=>$session{setting}{passiveProfilingEnabled},
|
||||
-extras=>' onChange="alert(\''.WebGUI::International::get("Illegal Warning","MetaData").'\')" '
|
||||
);
|
||||
|
||||
$f->submit();
|
||||
|
|
|
|||
|
|
@ -71,6 +71,11 @@ our $I18N = {
|
|||
lastUpdated => 1089039511
|
||||
},
|
||||
|
||||
'Illegal Warning' => {
|
||||
message => q|Enabling this feature is illegal in some countries, like Australia. In addition, some countries require you to add a warning to your site if you use this feature. Consult your local authorities for local laws. Plain Black Corporation is not responsible for your illegal activities, regardless of ignorance or malace.|,
|
||||
lastUpdated => 1089039511
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue