[ Index ] |
|
Code source de Horde 3.1.3 |
1 <?php 2 /** 3 * $Horde: horde/services/portal/edit.php,v 1.44.8.5 2006/03/08 18:00:56 chuck Exp $ 4 * 5 * Copyright 1999-2006 Chuck Hagenbuch <chuck@horde.org> 6 * Copyright 2003-2006 Mike Cochrane <mike@graftonhall.co.nz> 7 * Copyright 2003-2006 Jan Schneider <jan@horde.org> 8 * 9 * See the enclosed file COPYING for license information (LGPL). If you 10 * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html. 11 */ 12 13 @define('HORDE_BASE', dirname(__FILE__) . '/../..'); 14 require_once HORDE_BASE . '/lib/base.php'; 15 require_once 'Horde/Block/Collection.php'; 16 require_once 'Horde/Block/Layout/Manager.php'; 17 require_once 'Horde/Identity.php'; 18 19 if (!Auth::isAuthenticated()) { 20 Horde::authenticationFailureRedirect(); 21 } 22 23 // Get full name for title. 24 $identity = &Identity::singleton(); 25 $fullname = $identity->getValue('fullname'); 26 if (empty($fullname)) { 27 $fullname = Auth::getAuth(); 28 } 29 30 // Instantiate the blocks objects. 31 $blocks = &Horde_Block_Collection::singleton('portal'); 32 $layout = &Horde_Block_Layout_Manager::singleton('portal', $blocks, $prefs->getValue('portal_layout')); 33 34 // Handle requested actions. 35 $layout->handle(Util::getFormData('action'), 36 (int)Util::getFormData('row'), 37 (int)Util::getFormData('col')); 38 if ($layout->updated()) { 39 $prefs->setValue('portal_layout', $layout->serialize()); 40 } 41 42 $title = _("My Portal Layout"); 43 require HORDE_TEMPLATES . '/common-header.inc'; 44 require HORDE_TEMPLATES . '/portal/menu.inc'; 45 $notification->notify(array('listeners' => 'status')); 46 require HORDE_TEMPLATES . '/portal/edit.inc'; 47 require HORDE_TEMPLATES . '/common-footer.inc';
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |