[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/kernel/user/ -> success.php (source)

   1  <?php
   2  //
   3  //
   4  // SOFTWARE NAME: eZ publish
   5  // SOFTWARE RELEASE: 3.9.0
   6  // BUILD VERSION: 17785
   7  // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS
   8  // SOFTWARE LICENSE: GNU General Public License v2.0
   9  // NOTICE: >
  10  //   This program is free software; you can redistribute it and/or
  11  //   modify it under the terms of version 2.0  of the GNU General
  12  //   Public License as published by the Free Software Foundation.
  13  //
  14  //   This program is distributed in the hope that it will be useful,
  15  //   but WITHOUT ANY WARRANTY; without even the implied warranty of
  16  //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17  //   GNU General Public License for more details.
  18  //
  19  //   You should have received a copy of version 2.0 of the GNU General
  20  //   Public License along with this program; if not, write to the Free
  21  //   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  22  //   MA 02110-1301, USA.
  23  //
  24  //
  25  
  26  $Module =& $Params["Module"];
  27  $Module->setTitle( "Successful registration" );
  28  // Template handling
  29  include_once ( "kernel/common/template.php" );
  30  $tpl =& templateInit();
  31  $tpl->setVariable( "module", $Module );
  32  $ini =& eZINI::instance();
  33  $verifyUserEmail = $ini->variable( 'UserSettings', 'VerifyUserEmail' );
  34  if ( $verifyUserEmail == "enabled" )
  35      $tpl->setVariable( "verify_user_email", true );
  36  else
  37      $tpl->setVariable( "verify_user_email", false );
  38  
  39  $Result = array();
  40  $Result['content'] =& $tpl->fetch( "design:user/success.tpl" );
  41  $Result['path'] = array( array( 'text' => ezi18n( 'kernel/user', 'User' ),
  42                                  'url' => false ),
  43                           array( 'text' => ezi18n( 'kernel/user', 'Success' ),
  44                                  'url' => false ) );
  45  if ( $ini->variable( 'SiteSettings', 'LoginPage' ) == 'custom' )
  46      $Result['pagelayout'] = 'loginpagelayout.tpl';
  47  
  48  ?>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7