[ class tree: plugins ] [ index: plugins ] [ all elements ]

Procedural File: user_login-out.php

Source Location: /zp-extensions/user_login-out.php

Page Details

Provides users then means to log in or out from the theme pages.

Place a call on printUserLogin_out() where you want the logout link to appear.

Author:  Stephen Billard (sbillard)
Classes
Class Description
user_logout_options Plugin option handling class
Functions
printUserLogin_out  [line 93]

Prints the logout link if the user is logged in.

This is for album passwords only, not admin users;

Parameters:
string   $before:  before text
string   $after:  after text
bool   $showLoginForm:  set to true to display a login form if no one is logged in
string   $logouttext:  optional replacement text for "Logout"
bool   $show_user:  set to true to force the USER field on the form.


void printUserLogin_out( [string $before = ''], [string $after = ''], [bool $showLoginForm = NULL], [string $logouttext = NULL], [bool $show_user = NULL]  )

[ Top ]


Documentation generated on Tue, 20 Dec 2011 16:08:19 +0100 by phpDocumentor 1.4.3