Show
Ignore:
Timestamp:
04/25/05 12:17:55 (8 years ago)
Author:
fproulx
Message:

2005-04-25 Fran�ois Proulx <francois.proulx@…

  • Completed integration of new interface with new objects
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/lost_password.php

    r530 r567  
    2828require_once BASEPATH.'include/common_interface.php'; 
    2929require_once BASEPATH.'classes/User.php'; 
     30require_once BASEPATH.'classes/MainUI.php'; 
    3031 
    3132if (isset($_REQUEST['submit'])) { 
     
    5455                 
    5556            $smarty->assign('message', _('A new password has been emailed to you.')); 
    56             $smarty->display('templates/validate.html'); 
     57            //$smarty->display('templates/validate.html'); 
     58            $ui = new MainUI(); 
     59            $ui->setMainContent($smarty->fetch("templates/validate.html")); 
     60            $ui->display(); 
    5761            exit; 
    5862        } catch (Exception $e) { 
     
    7377isset ($_REQUEST["auth_source"]) && $smarty->assign('selected_auth_source', $_REQUEST["auth_source"]); 
    7478 
    75 $smarty->display("templates/lost_password.html"); 
     79//$smarty->display("templates/lost_password.html"); 
     80$ui = new MainUI(); 
     81$smarty->assign('SelectNetworkUI', Network::getSelectNetworkUI('auth_source')); 
     82$ui->setMainContent($smarty->fetch("templates/lost_password.html")); 
     83$ui->display(); 
    7684?>