本文整理汇总了PHP中getClassicModuleTitle函数的典型用法代码示例。如果您正苦于以下问题:PHP getClassicModuleTitle函数的具体用法?PHP getClassicModuleTitle怎么用?PHP getClassicModuleTitle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getClassicModuleTitle函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: display
/**
* @see SugarView::display()
*/
public function display()
{
global $mod_strings, $app_strings, $app_list_strings;
$this->ss->assign("ERROR_TEXT", $app_strings['LBL_EMPTY_VCARD']);
if (isset($_REQUEST['error'])) {
switch ($_REQUEST['error']) {
case 'vcardErrorFilesize':
$error = 'LBL_VCARD_ERROR_FILESIZE';
break;
case 'vcardErrorRequired':
$error = 'LBL_EMPTY_REQUIRED_VCARD';
break;
default:
$error = 'LBL_VCARD_ERROR_DEFAULT';
break;
}
$this->ss->assign("ERROR", $app_strings[$error]);
}
$this->ss->assign("HEADER", $app_strings['LBL_IMPORT_VCARD']);
$this->ss->assign("MODULE", $_REQUEST['module']);
$params = [];
$params[] = "<a href='index.php?module={$_REQUEST['module']}&action=index'>{$mod_strings['LBL_MODULE_NAME']}</a>";
$params[] = $app_strings['LBL_IMPORT_VCARD_BUTTON_LABEL'];
echo getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], $params, true);
$this->ss->display($this->getCustomFilePathIfExists('include/MVC/View/tpls/Importvcard.tpl'));
}
示例2: display
/**
* display the form
*/
public function display()
{
global $mod_strings, $app_list_strings, $app_strings, $current_user;
$error = "";
if (!is_admin($current_user)) {
sugar_die($GLOBALS['app_strings']['ERR_NOT_ADMIN']);
}
$fontManager = new FontManager();
if (!$fontManager->listFontFiles()) {
$error = implode("<br>", $fontManager->errors);
}
$this->ss->assign("MODULE_TITLE", getClassicModuleTitle($mod_strings['LBL_MODULE_ID'], array($mod_strings['LBL_FONTMANAGER_TITLE']), false));
if (!empty($_REQUEST['error'])) {
$error .= "<br>" . $_REQUEST['error'];
}
$this->ss->assign("error", $error);
$this->ss->assign("MOD", $mod_strings);
$this->ss->assign("APP", $app_strings);
$this->ss->assign("JAVASCRIPT", $this->_getJS());
if (isset($_REQUEST['return_action'])) {
$this->ss->assign("RETURN_ACTION", $_REQUEST['return_action']);
} else {
$this->ss->assign("RETURN_ACTION", 'SugarpdfSettings');
}
$this->ss->assign("K_PATH_FONTS", K_PATH_FONTS);
// YUI List
$this->ss->assign("COLUMNDEFS", $this->getYuiColumnDefs($fontManager->fontList));
$this->ss->assign("DATASOURCE", $this->getYuiDataSource($fontManager->fontList));
$this->ss->assign("RESPONSESCHEMA", $this->getYuiResponseSchema());
//display
$this->ss->display('modules/Configurator/tpls/fontmanager.tpl');
}
示例3: display
/**
* @see SugarView::display()
*/
public function display()
{
global $mod_strings, $app_strings, $app_list_strings;
$this->ss->assign("ERROR_TEXT", $app_strings['LBL_EMPTY_VCARD']);
$this->ss->assign("HEADER", $app_strings['LBL_IMPORT_VCARD']);
$this->ss->assign("MODULE", $_REQUEST['module']);
$params = array();
$params[] = "<a href='index.php?module={$_REQUEST['module']}&action=index'>{$mod_strings['LBL_MODULE_NAME']}</a>";
$params[] = $app_strings['LBL_IMPORT_VCARD_BUTTON_LABEL'];
echo getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], $params, true);
$this->ss->display($this->getCustomFilePathIfExists('include/MVC/View/tpls/Importvcard.tpl'));
}
示例4: display
/**
* @see SugarView::display()
*/
public function display()
{
global $mod_strings, $app_strings;
$admin = Administration::getSettings();
require 'modules/Trackers/config.php';
///////////////////////////////////////////////////////////////////////////////
//// HANDLE CHANGES
if (isset($_POST['process'])) {
if ($_POST['process'] == 'true') {
foreach ($tracker_config as $entry) {
if (isset($entry['bean'])) {
//If checkbox is unchecked, we add the entry into the config table; otherwise delete it
if (empty($_POST[$entry['name']])) {
$admin->saveSetting('tracker', $entry['name'], 1);
} else {
$db = DBManagerFactory::getInstance();
$db->query("DELETE FROM config WHERE category = 'tracker' and name = '" . $entry['name'] . "'");
}
}
}
//foreach
//save the tracker prune interval
if (!empty($_POST['tracker_prune_interval'])) {
$admin->saveSetting('tracker', 'prune_interval', $_POST['tracker_prune_interval']);
}
//save log slow queries and slow query interval
$configurator = new Configurator();
$configurator->saveConfig();
}
//if
header('Location: index.php?module=Administration&action=index');
}
echo getClassicModuleTitle("Administration", array("<a href='index.php?module=Administration&action=index'>" . translate('LBL_MODULE_NAME', 'Administration') . "</a>", translate('LBL_TRACKER_SETTINGS', 'Administration')), false);
$trackerManager = TrackerManager::getInstance();
$disabledMonitors = $trackerManager->getDisabledMonitors();
$trackerEntries = array();
foreach ($tracker_config as $entry) {
if (isset($entry['bean'])) {
$disabled = !empty($disabledMonitors[$entry['name']]);
$trackerEntries[$entry['name']] = array('label' => $mod_strings['LBL_' . strtoupper($entry['name']) . '_DESC'], 'helpLabel' => $mod_strings['LBL_' . strtoupper($entry['name']) . '_HELP'], 'disabled' => $disabled);
}
}
$configurator = new Configurator();
$this->ss->assign('config', $configurator->config);
$config_strings = return_module_language($GLOBALS['current_language'], 'Configurator');
$mod_strings['LOG_SLOW_QUERIES'] = $config_strings['LOG_SLOW_QUERIES'];
$mod_strings['SLOW_QUERY_TIME_MSEC'] = $config_strings['SLOW_QUERY_TIME_MSEC'];
$this->ss->assign('mod', $mod_strings);
$this->ss->assign('app', $app_strings);
$this->ss->assign('trackerEntries', $trackerEntries);
$this->ss->assign('tracker_prune_interval', !empty($admin->settings['tracker_prune_interval']) ? $admin->settings['tracker_prune_interval'] : 30);
$this->ss->display('modules/Trackers/tpls/TrackerSettings.tpl');
}
示例5: testgetClassicModuleTitle
public function testgetClassicModuleTitle()
{
//execute the method and test if it returns html and contains the values provided in parameters
//with show_create false, generates less html
$html1 = getClassicModuleTitle('users', array('Users Home'));
$this->assertGreaterThan(0, strlen($html1));
$this->assertContains('Users Home', $html1);
//with show_create true, generates more html
$html2 = getClassicModuleTitle('users', array('Users Home'), true);
$this->assertGreaterThan(0, strlen($html2));
$this->assertContains('Users Home', $html2);
$this->assertGreaterThan(strlen($html1), strlen($html2));
}
示例6: display
function display()
{
global $mod_strings, $timedate, $app_strings;
include_once 'modules/Reports/schedule/save_schedule.php';
$smarty = new Sugar_Smarty();
$smarty->assign('MOD', $mod_strings);
$smarty->assign('APP', $app_strings);
$smarty->assign('PAGE_TITLE', getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_SCHEDULE_EMAIL']), false));
$smarty->assign('STYLESHEET', SugarThemeRegistry::current()->getCSS());
$smarty->assign("CALENDAR_LANG", substr($GLOBALS['current_language'], 0, 2));
$smarty->assign("CALENDAR_DATEFORMAT", $timedate->get_cal_date_format());
$smarty->assign("PRINT_URL", "index.php?" . $GLOBALS['request_string']);
$smarty->assign("RECORD", $_REQUEST['id']);
$cache_dir = !empty($GLOBALS['sugar_config']['cache_dir']) ? rtrim($GLOBALS['sugar_config']['cache_dir'], '/\\') : 'cache';
$smarty->assign('CACHE_DIR', $cache_dir);
$refreshPage = isset($_REQUEST['refreshPage']) ? $_REQUEST['refreshPage'] : "true";
$smarty->assign("REFRESH_PAGE", $refreshPage);
$time_interval_select = translate('DROPDOWN_SCHEDULE_INTERVALS', 'Reports');
$time_format = $timedate->get_user_time_format();
$smarty->assign("TIME_FORMAT", $time_format);
$smarty->assign("TIMEDATE_JS", self::getJavascriptValidation());
require_once 'modules/Reports/schedule/ReportSchedule.php';
$rs = new ReportSchedule();
$schedule = $rs->get_report_schedule_for_user($_REQUEST['id']);
if ($schedule) {
$smarty->assign('SCHEDULE_ID', $schedule['id']);
$smarty->assign('DATE_START', $timedate->to_display_date_time($schedule['date_start'], true));
if ($schedule['active']) {
$smarty->assign('SCHEDULE_ACTIVE_CHECKED', 'checked');
}
$smarty->assign('NEXT_RUN', $timedate->to_display_date_time($schedule['next_run']));
$smarty->assign('TIME_INTERVAL_SELECT', get_select_options_with_id($time_interval_select, $schedule['time_interval']));
$smarty->assign('SCHEDULE_TYPE', $schedule['schedule_type']);
} else {
$smarty->assign('NEXT_RUN', $mod_strings['LBL_NONE']);
$smarty->assign('TIME_INTERVAL_SELECT', get_select_options_with_id($time_interval_select, ''));
if (isset($_REQUEST['schedule_type']) && $_REQUEST['schedule_type'] != "") {
$smarty->assign('SCHEDULE_TYPE', $_REQUEST['schedule_type']);
}
}
$smarty->assign('CURRENT_LANGUAGE', $GLOBALS['current_language']);
$smarty->assign('JS_VERSION', $GLOBALS['js_version_key']);
$smarty->assign('JS_CUSTOM_VERSION', $GLOBALS['sugar_config']['js_custom_version']);
$smarty->assign('JS_LANGUAGE_VERSION', $GLOBALS['sugar_config']['js_lang_version']);
//$this->_displayJavascript();
$html = $smarty->fetch('modules/Reports/tpls/AddSchedule.tpl');
echo $html;
}
示例7: display
/**
* display the form
*/
public function display()
{
global $mod_strings, $app_list_strings, $app_strings, $current_user;
if (!is_admin($current_user)) {
sugar_die($GLOBALS['app_strings']['ERR_NOT_ADMIN']);
}
$error = $this->addFont();
$this->ss->assign("MODULE_TITLE", getClassicModuleTitle($mod_strings['LBL_MODULE_ID'], array($mod_strings['LBL_ADDFONTRESULT_TITLE']), false));
if ($error) {
$this->ss->assign("error", $this->log);
} else {
$this->ss->assign("info", $this->log);
}
$this->ss->assign("MOD", $mod_strings);
$this->ss->assign("APP", $app_strings);
//display
$this->ss->display('modules/Configurator/tpls/addFontResult.tpl');
}
示例8: display
/**
* @see SugarView::display()
*/
public function display()
{
require_once "include/JSON.php";
$json = new JSON();
global $mod_strings;
$title = getClassicModuleTitle("Administration", array("<a href='index.php?module=Administration&action=index'>{$mod_strings['LBL_MODULE_NAME']}</a>", translate('LBL_CONFIGURE_SHORTCUT_BAR')), false);
$msg = "";
$GLOBALS['log']->info("Administration ConfigureShortcutBar view");
$quickCreateModules = $this->getQuickCreateModules();
//If save is set, save then let the user know if the save worked.
if (!empty($_REQUEST['enabled_modules'])) {
$toDecode = html_entity_decode($_REQUEST['enabled_modules'], ENT_QUOTES);
// get the enabled
$enabledModules = array_flip(json_decode($toDecode));
$successful = $this->saveChangesToQuickCreateMetadata($quickCreateModules['enabled'], $quickCreateModules['disabled'], $enabledModules);
if ($successful) {
MetaDataManager::refreshSectionCache(array(MetaDataManager::MM_MODULES));
echo "true";
} else {
echo translate("LBL_SAVE_FAILED");
}
} else {
$enabled = $this->sortEnabledModules($quickCreateModules['enabled']);
$enabled = $this->filterAndFormatModuleList($enabled);
ksort($quickCreateModules['disabled']);
$disabled = $this->filterAndFormatModuleList($quickCreateModules['disabled']);
$this->ss->assign('APP', $GLOBALS['app_strings']);
$this->ss->assign('MOD', $GLOBALS['mod_strings']);
$this->ss->assign('title', $title);
$this->ss->assign('enabled_modules', $json->encode($enabled));
$this->ss->assign('disabled_modules', $json->encode($disabled));
$this->ss->assign('description', translate("LBL_CONFIGURE_SHORTCUT_BAR"));
$this->ss->assign('msg', $msg);
$returnModule = !empty($_REQUEST['return_module']) ? $_REQUEST['return_module'] : 'Administration';
$returnAction = !empty($_REQUEST['return_action']) ? $_REQUEST['return_action'] : 'index';
$this->ss->assign('RETURN_MODULE', $returnModule);
$this->ss->assign('RETURN_ACTION', $returnAction);
echo $this->ss->fetch('modules/Administration/templates/ShortcutBar.tpl');
}
}
示例9: display
/**
* display the form
*/
public function display()
{
global $mod_strings, $app_list_strings, $app_strings, $current_user;
if (!is_admin($current_user)) {
sugar_die($GLOBALS['app_strings']['ERR_NOT_ADMIN']);
}
$this->ss->assign("MODULE_TITLE", getClassicModuleTitle($mod_strings['LBL_MODULE_ID'], array($mod_strings['LBL_ADDFONT_TITLE']), true));
if (!empty($_REQUEST['error'])) {
$this->ss->assign("error", $_REQUEST['error']);
}
$this->ss->assign("MOD", $mod_strings);
$this->ss->assign("APP", $app_strings);
if (isset($_REQUEST['return_action'])) {
$this->ss->assign("RETURN_ACTION", $_REQUEST['return_action']);
} else {
$this->ss->assign("RETURN_ACTION", 'FontManager');
}
$this->ss->assign("STYLE_LIST", array("regular" => $mod_strings["LBL_FONT_REGULAR"], "italic" => $mod_strings["LBL_FONT_ITALIC"], "bold" => $mod_strings["LBL_FONT_BOLD"], "boldItalic" => $mod_strings["LBL_FONT_BOLDITALIC"]));
$this->ss->assign("ENCODING_TABLE", array_combine(explode(",", PDF_ENCODING_TABLE_LIST), explode(",", PDF_ENCODING_TABLE_LABEL_LIST)));
//display
$this->ss->display('modules/Configurator/tpls/addFontView.tpl');
}
示例10: cleanAllBeans
function cleanAllBeans()
{
}
//// END UTILITIES
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//// PAGE OUTPUT
if (isset($runSilent) && $runSilent == true) {
// if called from Scheduler
cleanAllBeans();
} else {
$hide = array('Activities', 'Home', 'iFrames', 'Calendar', 'Dashboard');
sort($moduleList);
$options = array();
$options[] = $app_strings['LBL_NONE'];
$options['all'] = "--{$app_strings['LBL_TABGROUP_ALL']}--";
foreach ($moduleList as $module) {
if (!in_array($module, $hide)) {
$options[$module] = $module;
}
}
$options = get_select_options_with_id($options, '');
$beanDropDown = "<select onchange='SUGAR.Administration.RepairXSS.refreshEstimate(this);' id='repairXssDropdown'>{$options}</select>";
echo getClassicModuleTitle('Administration', array($mod_strings['LBL_REPAIRXSS_TITLE']), false);
echo "<script>var done = '{$mod_strings['LBL_DONE']}';</script>";
$smarty = new Sugar_Smarty();
$smarty->assign("mod", $mod_strings);
$smarty->assign("beanDropDown", $beanDropDown);
$smarty->display("modules/Administration/templates/RepairXSS.tpl");
}
// end else
示例11: getClassicModuleTitle
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
* reasonably feasible for technical reasons, the Appropriate Legal Notices must
* display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM".
********************************************************************************/
global $app_strings;
global $app_list_strings;
global $mod_strings;
global $theme;
global $currentModule;
global $gridline;
echo getClassicModuleTitle('Customize Fields', array('Customize Fields'), false);
?>
<table cellspacing="<?php
echo $gridline;
?>
" class="other view">
<tr>
<td>
<form>
Module Name:
<select>
<?php
foreach ($moduleList as $module) {
echo "<option>{$module}</option>";
}
?>
示例12: display
/**
* @see SugarView::display()
*/
public function display()
{
global $mod_strings, $app_strings, $app_list_strings;
require_once "modules/Configurator/metadata/SugarpdfSettingsdefs.php";
if (file_exists('custom/modules/Configurator/metadata/SugarpdfSettingsdefs.php')) {
require_once 'custom/modules/Configurator/metadata/SugarpdfSettingsdefs.php';
}
if (!empty($_POST['save'])) {
// Save the logos
$error = $this->checkUploadImage();
if (empty($error)) {
$focus = new Administration();
foreach ($SugarpdfSettings as $k => $v) {
if ($v['type'] == 'password') {
if (isset($_POST[$k])) {
$_POST[$k] = blowfishEncode(blowfishGetKey($k), $_POST[$k]);
}
}
}
if (!empty($_POST["sugarpdf_pdf_class"]) && $_POST["sugarpdf_pdf_class"] != PDF_CLASS) {
// clear the cache for quotes detailview in order to switch the pdf class.
if (is_file($cachedfile = sugar_cached('modules/Quotes/DetailView.tpl'))) {
unlink($cachedfile);
}
}
$focus->saveConfig();
header('Location: index.php?module=Administration&action=index');
}
}
if (!empty($_POST['restore'])) {
$focus = new Administration();
foreach ($_POST as $key => $val) {
$prefix = $focus->get_config_prefix($key);
if (in_array($prefix[0], $focus->config_categories)) {
$result = $focus->db->query("SELECT count(*) AS the_count FROM config WHERE category = '{$prefix[0]}' AND name = '{$prefix[1]}'");
$row = $focus->db->fetchByAssoc($result);
if ($row['the_count'] != 0) {
$focus->db->query("DELETE FROM config WHERE category = '{$prefix[0]}' AND name = '{$prefix[1]}'");
}
}
}
header('Location: index.php?module=Configurator&action=SugarpdfSettings');
}
echo getClassicModuleTitle("Administration", array("<a href='index.php?module=Administration&action=index'>" . translate('LBL_MODULE_NAME', 'Administration') . "</a>", $mod_strings['LBL_PDFMODULE_NAME']), false);
$pdf_class = array("TCPDF" => "TCPDF", "EZPDF" => "EZPDF");
$this->ss->assign('APP_LIST', $app_list_strings);
$this->ss->assign("JAVASCRIPT", get_set_focus_js());
$this->ss->assign("SugarpdfSettings", $SugarpdfSettings);
$this->ss->assign("pdf_enable_ezpdf", PDF_ENABLE_EZPDF);
if (PDF_ENABLE_EZPDF == "0" && PDF_CLASS == "EZPDF") {
$error = "ERR_EZPDF_DISABLE";
$this->ss->assign("selected_pdf_class", "TCPDF");
} else {
$this->ss->assign("selected_pdf_class", PDF_CLASS);
}
$this->ss->assign("pdf_class", $pdf_class);
if (!empty($error)) {
$this->ss->assign("error", $mod_strings[$error]);
}
if (!function_exists('imagecreatefrompng')) {
$this->ss->assign("GD_WARNING", 1);
} else {
$this->ss->assign("GD_WARNING", 0);
}
$this->ss->display('modules/Configurator/tpls/SugarpdfSettings.tpl');
require_once "include/javascript/javascript.php";
$javascript = new javascript();
$javascript->setFormName("ConfigureSugarpdfSettings");
foreach ($SugarpdfSettings as $k => $v) {
if (isset($v["required"]) && $v["required"] == true) {
$javascript->addFieldGeneric($k, "varchar", $v['label'], TRUE, "");
}
}
echo $javascript->getScript();
}
示例13: Group
require_once 'include/DetailView/DetailView.php';
global $theme;
global $mod_strings;
/* start standard DetailView layout process */
$GLOBALS['log']->info("Groups DetailView");
$focus = new Group();
$focus->retrieve($_REQUEST['record']);
$detailView = new DetailView();
$offset = 0;
if (isset($_REQUEST['offset']) or isset($_REQUEST['record'])) {
$result = $detailView->processSugarBean("Group", $focus, $offset);
if ($result == null) {
sugar_die($app_strings['ERROR_NO_RECORD']);
}
$focus = $result;
} else {
header("Location: index.php?module=Groups&action=index");
}
echo getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'], $focus->user_name), true);
/* end standard DetailView layout process */
$xtpl = new XTemplate('modules/Groups/DetailView.html');
$xtpl->assign('MOD', $mod_strings);
$xtpl->assign('APP', $app_strings);
$xtpl->assign("CREATED_BY", $focus->created_by_name);
$xtpl->assign("MODIFIED_BY", $focus->modified_by_name);
$xtpl->assign("GRIDLINE", $gridline);
$xtpl->assign("PRINT_URL", "index.php?" . $GLOBALS['request_string']);
$xtpl->assign("ID", $focus->id);
$xtpl->assign('USER_NAME', $focus->user_name);
$xtpl->parse('main');
$xtpl->out('main');
示例14: return_module_language
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
$style = 'embeded';
if (isset($_REQUEST['style'])) {
$style = $_REQUEST['style'];
}
if (isset($_REQUEST['module_name'])) {
$the_strings = return_module_language($current_language, $_REQUEST['module_name']);
global $app_strings;
global $app_list_strings;
global $mod_strings;
global $current_user;
echo SugarThemeRegistry::current()->getCSS();
echo getClassicModuleTitle($mod_strings['LBL_MODULE_NAME'], array($mod_strings['LBL_MODULE_NAME'], $_REQUEST['module_name']), true);
$xtpl = new XTemplate('modules/LabelEditor/EditView.html');
$xtpl->assign("MOD", $mod_strings);
$xtpl->assign("APP", $app_strings);
$xtpl->assign("MODULE_NAME", $_REQUEST['module_name']);
$xtpl->assign("STYLE", $style);
if (isset($_REQUEST['sugar_body_only'])) {
$xtpl->assign("SUGAR_BODY_ONLY", $_REQUEST['sugar_body_only']);
}
if (isset($_REQUEST['record'])) {
$xtpl->assign("NO_EDIT", "readonly");
$xtpl->assign("KEY", $_REQUEST['record']);
if (isset($the_strings[$_REQUEST['record']])) {
$xtpl->assign("VALUE", $the_strings[$_REQUEST['record']]);
} else {
if (isset($_REQUEST['value'])) {
示例15: insert_popup_header
$focus->parent_type = $app_list_strings['record_type_default_key'];
}
if (isset($_REQUEST['filename']) && $_REQUEST['isDuplicate'] != 'true') {
$focus->filename = $_REQUEST['filename'];
}
if ($has_campaign || $inboundEmail) {
insert_popup_header($theme);
}
$params = array();
if (empty($focus->id)) {
$params[] = $GLOBALS['app_strings']['LBL_CREATE_BUTTON_LABEL'];
} else {
$params[] = "<a href='index.php?module={$focus->module_dir}&action=DetailView&record={$focus->id}'>{$focus->name}</a>";
$params[] = $GLOBALS['app_strings']['LBL_EDIT_BUTTON_LABEL'];
}
echo getClassicModuleTitle($focus->module_dir, $params, true);
$GLOBALS['log']->info("EmailTemplate detail view");
if ($has_campaign || $inboundEmail) {
$xtpl = new XTemplate('modules/EmailTemplates/EditView.html');
} else {
$xtpl = new XTemplate('modules/EmailTemplates/EditViewMain.html');
}
// else
$xtpl->assign("MOD", $mod_strings);
$xtpl->assign("APP", $app_strings);
$xtpl->assign("LBL_ACCOUNT", $app_list_strings['moduleList']['Accounts']);
$xtpl->parse("main.variable_option");
$returnAction = 'index';
if (isset($_REQUEST['return_module'])) {
$xtpl->assign("RETURN_MODULE", $_REQUEST['return_module']);
}