Added Xega Logo to side panel
[vanilla-miry.git] / people.php
blob3f59a55f029cdfa51cd3fb7a172e018543db3845
1 <?php
2 /*
3 * Copyright 2003 Mark O'Sullivan
4 * This file is part of Vanilla.
5 * Vanilla is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
6 * Vanilla is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
7 * You should have received a copy of the GNU General Public License along with Vanilla; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
8 * The latest source code for Vanilla is available at www.lussumo.com
9 * Contact Mark O'Sullivan at mark [at] lussumo [dot] com
11 * Description: Web form that handles user sign-ins
14 include("appg/settings.php");
15 $Configuration['SELF_URL'] = 'people.php';
16 include("appg/init_people.php");
18 // Define properties of the page controls that are specific to this page
19 $SignInForm = $Context->ObjectFactory->CreateControl($Context, "SignInForm", "frmSignIn");
20 $Leave = $Context->ObjectFactory->CreateControl($Context, "Leave");
21 $ApplyForm = $Context->ObjectFactory->CreateControl($Context, "ApplyForm", "ApplicationForm");
22 $PasswordRequestForm = $Context->ObjectFactory->CreateControl($Context, "PasswordRequestForm", "PasswordRequestForm");
23 $PasswordResetForm = $Context->ObjectFactory->CreateControl($Context, "PasswordResetForm", "PasswordResetForm");
25 // Add the controls to the page
26 $Page->AddRenderControl($Head, $Configuration["CONTROL_POSITION_HEAD"]);
27 $Page->AddRenderControl($Banner, $Configuration["CONTROL_POSITION_BANNER"]);
28 $Page->AddRenderControl($SignInForm, $Configuration["CONTROL_POSITION_BODY_ITEM"]);
29 $Page->AddRenderControl($Leave, $Configuration["CONTROL_POSITION_BODY_ITEM"]);
30 $Page->AddRenderControl($ApplyForm, $Configuration["CONTROL_POSITION_BODY_ITEM"]);
31 $Page->AddRenderControl($PasswordRequestForm, $Configuration["CONTROL_POSITION_BODY_ITEM"]);
32 $Page->AddRenderControl($PasswordResetForm, $Configuration["CONTROL_POSITION_BODY_ITEM"]);
33 $Page->AddRenderControl($Foot, $Configuration["CONTROL_POSITION_FOOT"]);
34 $Page->AddRenderControl($PageEnd, $Configuration["CONTROL_POSITION_PAGE_END"]);
36 // 4. FIRE PAGE EVENTS
37 $Page->FireEvents();