new i18n api requiring $session

This commit is contained in:
Colin Kuskie 2006-01-12 17:49:20 +00:00
parent 877bf082a0
commit 01d95a265e
141 changed files with 2266 additions and 1745 deletions

View file

@ -227,7 +227,8 @@ The string to make compliant. This is usually a page title or a filename.
sub makeCompliant {
my $self = shift;
my $url = shift;
return WebGUI::International::makeUrlCompliant($url);
my $i18n = WebGUI::International->new($self->session);
return $i18n->makeUrlCompliant($url);
}
#-------------------------------------------------------------------