/
var
/
www
/
html
/
sugardemo
/
modules
/
TeamNotices
/
Upload File
HOME
<?php /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ /********************************************************************************* ********************************************************************************/ if (!$GLOBALS['current_user']->isAdminForModule('Users')) { sugar_die($GLOBALS['app_strings']['ERR_NOT_ADMIN']); } global $mod_strings; global $app_list_strings; global $app_strings; global $current_user; $GLOBALS['displayListView'] = true; $header_text = ''; $focus = BeanFactory::newBean('TeamNotices'); //$is_edit = true; $GLOBALS['log']->info('TeamNotice list view'); echo getClassicModuleTitle('TeamNotices', [$mod_strings['LBL_MODULE_NAME']], true); $ListView = new ListView(); $ListView->initNewXTemplate('modules/TeamNotices/ListView.html', $mod_strings); $ListView->xTemplateAssign('DELETE_INLINE_PNG', SugarThemeRegistry::current()->getImage('delete_inline', 'align="absmiddle" border="0"', null, null, '.gif', $app_strings['LNK_DELETE'])); $ListView->setQuery('', '', 'team_notices.name', 'TEAMNOTICE'); $ListView->processListView($focus, 'main', 'TEAMNOTICE');