[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

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

   1  <?php
   2  //
   3  // Created on: <30-Apr-2002 12:36:36 bf>
   4  //
   5  // SOFTWARE NAME: eZ publish
   6  // SOFTWARE RELEASE: 3.9.0
   7  // BUILD VERSION: 17785
   8  // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS
   9  // SOFTWARE LICENSE: GNU General Public License v2.0
  10  // NOTICE: >
  11  //   This program is free software; you can redistribute it and/or
  12  //   modify it under the terms of version 2.0  of the GNU General
  13  //   Public License as published by the Free Software Foundation.
  14  //
  15  //   This program is distributed in the hope that it will be useful,
  16  //   but WITHOUT ANY WARRANTY; without even the implied warranty of
  17  //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18  //   GNU General Public License for more details.
  19  //
  20  //   You should have received a copy of version 2.0 of the GNU General
  21  //   Public License along with this program; if not, write to the Free
  22  //   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  23  //   MA 02110-1301, USA.
  24  //
  25  //
  26  
  27  $Module = array( 'name' => 'User management',
  28                   'variable_params' => true );
  29  
  30  $ViewList = array();
  31  $ViewList['logout'] = array(
  32      'script' => 'logout.php',
  33      'ui_context' => 'authentication',
  34      'params' => array( ) );
  35  $ViewList['login'] = array(
  36      'script' => 'login.php',
  37      'ui_context' => 'authentication',
  38      'default_action' => array( array( 'name' => 'Login',
  39                                        'type' => 'post',
  40                                        'parameters' => array( 'Login',
  41                                                               'Password' ) ) ),
  42      'single_post_actions' => array( 'LoginButton' => 'Login' ),
  43      'post_action_parameters' => array( 'Login' => array( 'UserLogin' => 'Login',
  44                                                           'UserPassword' => 'Password',
  45                                                           'UserRedirectURI' => 'RedirectURI' ) ),
  46      'params' => array( ) );
  47  $ViewList['setting'] = array(
  48      'functions' => array( 'preferences' ),
  49      'default_navigation_part' => 'ezusernavigationpart',
  50      'script' => 'setting.php',
  51      'params' => array( 'UserID' ) );
  52  
  53  $ViewList['preferences'] = array(
  54      'functions' => array( 'login' ),
  55      'script' => 'preferences.php',
  56      'params' => array( 'Function', 'Key', 'Value' ) );
  57  
  58  $ViewList['password'] = array(
  59      'functions' => array( 'password' ),
  60      'script' => 'password.php',
  61      'ui_context' => 'administration',
  62      'default_navigation_part' => 'ezmynavigationpart',
  63      'params' => array( 'UserID' ) );
  64  
  65  /// \deprecated This view is kept for compatability
  66  $ViewList['forgetpassword'] = array(
  67      'functions' => array( 'password' ),
  68      'script' => 'forgotpassword.php',
  69      'deprecated' => true,
  70      'params' => array( ),
  71      'ui_context' => 'administration',
  72      'ui_component' => 'forgotpassword',
  73      'single_post_actions' => array( 'GenerateButton' => 'Generate' ),
  74      'post_action_parameters' => array( 'Generate' => array( 'Login' => 'UserLogin',
  75                                                              'Email' => 'UserEmail' ) ),
  76      'params' => array( 'HashKey' ) );
  77  
  78  /// Note the function above is misspelled and should be removed
  79  $ViewList['forgotpassword'] = array(
  80      'functions' => array( 'password' ),
  81      'script' => 'forgotpassword.php',
  82      'params' => array( ),
  83      'ui_context' => 'administration',
  84      'single_post_actions' => array( 'GenerateButton' => 'Generate' ),
  85      'post_action_parameters' => array( 'Generate' => array( 'Login' => 'UserLogin',
  86                                                              'Email' => 'UserEmail' ) ),
  87      'params' => array( 'HashKey' ) );
  88  
  89  /// \deprecated Use normal content edit view instead
  90  $ViewList['edit'] = array(
  91      'functions' => array( 'login' ),
  92      'script' => 'edit.php',
  93      'ui_context' => 'edit',
  94      'single_post_actions' => array( 'ChangePasswordButton' => 'ChangePassword',
  95                                      'ChangeSettingButton' => 'ChangeSetting',
  96                                      'CancelButton' => 'Cancel',
  97                                      'EditButton' => 'Edit' ),
  98      'params' => array( 'UserID' ) );
  99  
 100  $ViewList['register'] = array(
 101      'script' => 'register.php',
 102      'params' => array( ),
 103      'ui_context' => 'edit',
 104      'default_navigation_part' => 'ezmynavigationpart',
 105      'single_post_actions' => array( 'PublishButton' => 'Publish',
 106                                      'CancelButton' => 'Cancel',
 107                                      'CustomActionButton' => 'CustomAction' ) );
 108  
 109  $ViewList['activate'] = array(
 110      'script' => 'activate.php',
 111      'ui_context' => 'authentication',
 112      'default_navigation_part' => 'ezmynavigationpart',
 113      'params' => array( 'Hash' ) );
 114  
 115  $ViewList['success'] = array(
 116      'script' => 'success.php',
 117      'ui_context' => 'authentication',
 118      'default_navigation_part' => 'ezmynavigationpart',
 119      'params' => array( ) );
 120  
 121  
 122  $SiteAccess = array(
 123      'name'=> 'SiteAccess',
 124      'values'=> array(),
 125      'path' => 'classes/',
 126      'file' => 'ezsiteaccess.php',
 127      'class' => 'eZSiteAccess',
 128      'function' => 'siteAccessList',
 129      'parameter' => array()
 130      );
 131  
 132  $FunctionList['login'] = array( 'SiteAccess' => $SiteAccess );
 133  $FunctionList['selfedit'] = array();
 134  $FunctionList['password'] = array();
 135  $FunctionList['preferences'] = array();
 136  
 137  ?>


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