/**
  * Display form to edit an authentication source.
  */
 function editAuthSource($args)
 {
     $this->validate();
     $this->setupTemplate(true);
     import('classes.security.form.AuthSourceSettingsForm');
     $form = new AuthSourceSettingsForm((int) @$args[0]);
     $form->initData();
     $form->display();
 }
Beispiel #2
0
 /**
  * Display form to edit an authentication source.
  * @param $args array
  * @param $request PKPRequest
  */
 function editAuthSource($args, &$request)
 {
     $this->validate();
     $this->setupTemplate($request, true);
     import('classes.security.form.AuthSourceSettingsForm');
     $form = new AuthSourceSettingsForm((int) array_shift($args));
     $form->initData();
     $form->display();
 }