diff options
Diffstat (limited to 'list_contracts.php')
| -rwxr-xr-x | list_contracts.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/list_contracts.php b/list_contracts.php deleted file mode 100755 index cf0d2b4..0000000 --- a/list_contracts.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php -/** - * @version $Header: /cvsroot/bitweaver/_bit_contact/list_contacts.php,v 1.4 2010/02/08 21:27:22 wjames5 Exp $ - * - * Copyright (c) 2006 bitweaver.org - * All Rights Reserved. See below for details and a complete list of authors. - * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details - * - * @package contact - * @subpackage functions - */ - -/** - * required setup - */ -require_once '../kernel/includes/setup_inc.php'; -use Bitweaver\Contact\Contact; - -$gBitSystem->isPackageActive('contact', TRUE); - -// Now check permissions to access this page -$gBitSystem->verifyPermission('p_read_contact'); - -$contacts = new Contact(); -if ( !isset($_REQUEST['contract'])) { - $_REQUEST['contract'] = 0; -} - -// Get a list of Contracts -$contracts = $contacts->getContractList( $_REQUEST['contract'] ); - -$gBitSmarty->assign('listInfo', $_REQUEST['listInfo']); -$gBitSmarty->assign('list', $contracts); - -// Display the template -$gBitSystem->display( 'bitpackage:contact/list_contracts.tpl', NULL, [ 'display_mode' => 'list' ]); |
