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_openid.php

    r2095 r2099  
    9595    } 
    9696 
     97    // get the template for this authentication method 
     98    function get_template($type = "side") { 
     99 
     100        if ($type == "side") { 
     101            return PATH_INCLUDES."authentication/templates/auth.openid.side.tpl"; 
     102        } else { 
     103            return PATH_INCLUDES."authentication/templates/auth.openid.body.tpl"; 
     104        } 
     105    } 
     106 
    97107    /*-----------------------------------------------+ 
    98108    | private class methods                          | 
Note: See TracChangeset for help on using the changeset viewer.