ea-Geiercode-base
[ class tree: ea-Geier ] [ index: ea-Geier ] [ all elements ]

Source for file newuser.html.php

Documentation is available at newuser.html.php

  1. <?php
  2. /**
  3.  * HTML functions for new-user screen
  4.  *
  5.  * LICENSE:
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * (at your option) any later version.
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.     See the
  13.  * GNU General Public License for more details.
  14.  * You should have received a copy of the GNU General Public License along
  15.  * with this program; if not, write to the Free Software Foundation, Inc.,
  16.  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  17.  *
  18.  * @package       ea-Geier
  19.  * @subpackage code/base
  20.  * @author       m2mtech <tech@m2m.at>
  21.  * @copyright  2007 m2m server software gmbh
  22.  * @license       http://www.gnu.org/licenses/gpl.html GNU General Public License Version 2
  23.  * @version       $Id: newuser.html.php 54 2007-04-17 13:01:01Z m2mtech $
  24.  * @link       http://www.ea-geier.at/
  25.  */
  26.  
  27. /**
  28.  * new user input
  29.  *
  30.  * @param  eaSmarty        Smarty object
  31.  * @param  eaInput        data
  32.  * @return boolean        status
  33.  */
  34. function eaHTMLNewUser(&$smarty&$out{
  35.     $smarty->assign_by_ref('data'$out->post);
  36.     $smarty->assign_by_ref('error'$out->error);
  37.     $smarty->assign('content'$smarty->fetch('newuser.tpl'));
  38.     return true;
  39. }
  40.  
  41. /**
  42.  * user-created display
  43.  *
  44.  * @param  eaSmarty        Smarty object
  45.  * @return boolean        status
  46.  */
  47. function eaHTMLUserCreated(&$smarty{
  48.     $smarty->assign('loginformonly'true);
  49.     $smarty->assign('login'$smarty->fetch('login.tpl'));
  50.     $smarty->assign('content'$smarty->fetch('usercreated.tpl'));
  51.     return true;
  52. }
  53.  
  54. ?>

Documentation generated on Sun, 09 Sep 2007 17:09:09 +0200 by phpDocumentor 1.3.1