ssi_login

Description

Shows a login box.

Syntax

void ssi_login ([string $redirect_to[, string $output_method]])



Parameter $redirect_to

Expected type: String
Description: Specify where a user should be sent after login.



Parameter $output_method

Expected type: String
Description: Outputs the link if 'echo' or returns it if anything else


Notes

  • If output is not echo and they are not a guest, true is returned.
  • redirect_to specifies where the user should be sent after logging in.
Advertisement: