Project

General

Profile

Revision 8522

Added by Jing Tao over 5 years ago

Pass the userManagementUrl to templates.

View differences:

src/perl/register-dataset.cgi
88 88
  "/" . $properties->getProperty('application.context') . "/cgi-bin";
89 89
my $styleSkinsPath  = $contextUrl . "/style/skins";
90 90
my $styleCommonPath = $contextUrl . "/style/common";
91
my $userManagementUrl = $properties->getProperty('auth.userManagementUrl');
91 92

  
92 93
my $now = time;
93 94

  
......
213 214
$$templateVars{'templates'}       = $templates;
214 215
$$templateVars{'required'}        = $required;
215 216
$$templateVars{'config'}          = $config;
217
$$templateVars{'userManagementUrl'} = $userManagementUrl;
216 218

  
217 219
debug("Initialized -- stage set: $FORM::stage");
218 220

  

Also available in: Unified diff