grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026\n";
$button .= "\n";
$button .= "\n";
$button .= "\n";
$button .= "\n";
$button .= "\n";
$button .= "\n";
$button .= "\n";
if (!empty($focus->object_name) && $focus->object_name == 'Opportunity') {
$button .= "\n";
$button .= "\n";
}
$button .= "\n";
$button .= "\n";
$ListView = new ListView();
$ListView->initNewXTemplate('modules/Project/SubPanelView.html', $current_module_strings);
$ListView->xTemplateAssign(
"EDIT_INLINE_PNG",
SugarThemeRegistry::current()->getImage('edit_inline', 'align="absmiddle" border="0"', null, null, '.gif', $app_strings['LNK_EDIT'])
);
$ListView->xTemplateAssign(
"RETURN_URL",
"&return_module=".$currentModule."&return_action=DetailView&return_id=".$focus->id
);
$ListView->setHeaderTitle($current_module_strings['LBL_PROJECT_SUBPANEL_TITLE']);
$header_text = '';
if (is_admin($current_user)
&& $_REQUEST['module'] != 'DynamicLayout'
&& !empty($_SESSION['editinplace'])) {
$header_text = " "
.SugarThemeRegistry::current()->getImage("EditLayout", "border='0' align='bottom'", null, null, '.gif', $mod_strings['LBL_EDITLAYOUT'])."";
}
$ListView->setHeaderTitle($current_module_strings['LBL_PROJECT_SUBPANEL_TITLE'] . $header_text);
$ListView->processListView($focus_list, "main", "PROJECT");