Ignore:
Timestamp:
12/07/08 22:05:25 (3 years ago)
Author:
WanWizard
Message:

the authentication system now uses templates for login pages, so a new authentication method can supply it's own template with fields required for login

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/authentication/auth_local.php

    r2095 r2099  
    7272    } 
    7373 
     74    // get the template for this authentication method 
     75    function get_template($type = "side") { 
     76 
     77        if ($type == "side") { 
     78            return PATH_INCLUDES."authentication/templates/auth.username_password.side.tpl"; 
     79        } else { 
     80            return PATH_INCLUDES."authentication/templates/auth.username_password.body.tpl"; 
     81        } 
     82    } 
     83 
    7484    /*-----------------------------------------------+ 
    7585    | private class methods                          | 
Note: See TracChangeset for help on using the changeset viewer.