diff --git a/docs/upgrades/upgrade_5.2.6-5.3.0.sql b/docs/upgrades/upgrade_5.2.6-5.3.0.sql index c4142eff8..016074f9e 100644 --- a/docs/upgrades/upgrade_5.2.6-5.3.0.sql +++ b/docs/upgrades/upgrade_5.2.6-5.3.0.sql @@ -561,6 +561,7 @@ delete from international where languageId=1 and namespace='WebGUI' and internat insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (828,1,'WebGUI','Most wobjects have templates that allow you to change the layout of the wobject\'s user interface. Those wobjects that do have templates all have a common set of template variables that you can use for layout, as well as their own custom variables. The following is a list of the common template variables shared among all wobjects.\r\n
\r\ntitle\r\n<a href="<tmpl_var new.template>999">Read more...</a>\r\n
\r\ndescription.full
\r\nThe full description without any pagination. (For the paginated description use "description" instead.)\r\n
\r\n\r\ndescription.first.100words
\r\nThe first 100 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.\r\n
\r\n\r\ndescription.first.75words
\r\nThe first 75 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.\r\n
\r\n\r\ndescription.first.50words
\r\nThe first 50 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.\r\n
\r\n\r\ndescription.first.25words
\r\nThe first 25 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.\r\n
\r\n\r\ndescription.first.10words
\r\nThe first 10 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.\r\n
\r\n\r\ndescription.first.paragraph
\r\nThe first paragraph of the description. The first paragraph is determined by the first carriage return found in the text.\r\n
\r\n\r\ndescription.first.2paragraphs
\r\nThe first two paragraphs of the description. A paragraph is determined by counting the carriage returns found in the text.\r\n
\r\n\r\ndescription.first.sentence
\r\nThe first sentence in the description. A sentence is determined by counting the periods found in the text.\r\n
\r\n\r\ndescription.first.2sentences
\r\nThe first two sentences in the description. A sentence is determined by counting the periods found in the text.\r\n
\r\n\r\ndescription.first.3sentences
\r\nThe first three sentences in the description. A sentence is determined by counting the periods found in the text.\r\n
\r\n\r\ndescription.first.4sentences
\r\nThe first four sentences in the description. A sentence is determined by counting the periods found in the text.\r\n
\r\n\r\n\r\n\r\nattachment.box
\r\nOutputs a standard WebGUI attachment box including icon, filename, and attachment indicator.\r\n
$!"; - } - - $cookiebox = WebGUI::URL::escape($session{var}{sessionId}); - $cookiebox =~ s/[^A-Za-z0-9\-\.\_]//g; #removes all funky characters - $cookiebox = $_[0]->get("cookiebox").'/'.$_[0]->get("namespace").'_cookie_'.$cookiebox.'.jar'; - $jar = HTTP::Cookies->new(File => $cookiebox, AutoSave => 1, Ignore_Discard => 1); + my $node = WebGUI::Node->new("temp",$_[0]->get("namespace")."_cookies"); + $node->create; + my $cookiebox = WebGUI::URL::escape($session{var}{sessionId}); + $cookiebox =~ s/[^A-Za-z0-9\-\.\_]//g; #removes all funky characters + $cookiebox .= '.cookie'; + $cookiebox = $node->getPath.$session{os}{slash}.$cookiebox; + my $jar = HTTP::Cookies->new(File => $cookiebox, AutoSave => 1, Ignore_Discard => 1); if($session{form}{wid} == $_[0]->get("wobjectId") && $session{form}{func}!~/editSave/i) { $proxiedUrl = $session{form}{FormAction} || $session{form}{proxiedUrl} || $_[0]->get("proxiedUrl") ;