Created
September 21, 2017 17:32
-
-
Save joebordes/1502f50006d827aab3f1eb539182501e to your computer and use it in GitHub Desktop.
coreBOS Application Message outputs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include_once('vtlib/Vtiger/Module.php'); | |
require_once('Smarty_setup.php'); | |
$smarty = new vtigerCRM_Smarty(); | |
$smarty->assign('APP', $app_strings); | |
$smarty->assign('ERROR_MESSAGE_CLASS', 'cb-alert-warning'); | |
$smarty->assign('ERROR_MESSAGE', 'This is a WARNING message.'); | |
$smarty->display('applicationmessage.tpl'); | |
$smarty->assign('ERROR_MESSAGE_CLASS', 'cb-alert-danger'); | |
$smarty->assign('ERROR_MESSAGE', 'This is a DANGER message.'); | |
$smarty->display('applicationmessage.tpl'); | |
$smarty->assign('ERROR_MESSAGE_CLASS', 'cb-alert-info'); | |
$smarty->assign('ERROR_MESSAGE', 'This is an INFO message.'); | |
$smarty->display('applicationmessage.tpl'); | |
$smarty->assign('ERROR_MESSAGE_CLASS', 'cb-alert-success'); | |
$smarty->assign('ERROR_MESSAGE', 'This is a SUCESS message.'); | |
$smarty->display('applicationmessage.tpl'); | |
$smarty->assign('OPERATION_MESSAGE', 'This is a special operation NOT permitted message.'); | |
$smarty->display('modules/Vtiger/OperationNotPermitted.tpl'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment