Changeset 2196

Show
Ignore:
Timestamp:
07/18/08 03:25:10 (6 months ago)
Author:
rickc
Message:

added the loginform_before/_after/_controls hooks to the loginform so plugins can use them. Thanks, mikelietz!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/themes/mzingi/loginform.php

    r1888 r2196  
    1313else { 
    1414?> 
     15<?php Plugins::act( 'theme_loginform_before' ); ?> 
    1516<form method="post" action="<?php URL::out( 'user', array( 'page' => 'login' ) ); ?>"> 
    1617    <p> 
     
    2223        <input type="password" size="25" name="habari_password" id="habari_password"> 
    2324    </p> 
     25    <?php Plugins::act( 'theme_loginform_controls' ); ?> 
    2426    <p> 
    2527        <input type="submit" value="<?php _e('GO!'); ?>"> 
    2628    </p> 
    2729</form> 
     30<?php Plugins::act( 'theme_loginform_after' ); ?> 
    2831<?php 
    2932}