Changeset 694

Show
Ignore:
Timestamp:
2008-07-24 09:40:17 (7 weeks ago)
Author:
michaeltwofish
Message:

Include openid.css if we're on the default login page. Addresses part of #47. I don't have a good way of addressing the other part (the submit button width is fixed and the openid login text is too long).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/openid/trunk/openid.plugin.php

    r693 r694  
    144144    } 
    145145 
     146    function action_admin_header( $theme ) 
     147    { 
     148        // Add the css if this is the default login page 
     149        if ( $theme->admin_page == 'login' ) { 
     150            Stack::add( 'admin_stylesheet', array( $this->get_url() . '/openid.css', 'screen' ), 'openid_style' ); 
     151        } 
     152    } 
     153 
    146154    function getOpenIDURL() 
    147155    {