本文整理汇总了PHP中CAdminMessage::GetMessages方法的典型用法代码示例。如果您正苦于以下问题:PHP CAdminMessage::GetMessages方法的具体用法?PHP CAdminMessage::GetMessages怎么用?PHP CAdminMessage::GetMessages使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CAdminMessage
的用法示例。
在下文中一共展示了CAdminMessage::GetMessages方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: htmlspecialcharsback
}
if ($bAdmin == "Y" || $bDemo == "Y") {
$arSpamMenu[] = array("TEXT" => GetMessage("SUP_MARK_AS_SPAM_DELETE"), "ACTION" => "javascript:if(confirm('" . GetMessage("SUP_MARK_AS_SPAM_DELETE_CONFIRM") . "')) window.location='/bitrix/admin/ticket_list.php?ID=" . $ID . "&action=mark_spam_delete&lang=" . LANGUAGE_ID . "&" . bitrix_sessid_get() . "';");
$aMenu[] = array("TEXT" => GetMessage("MAIN_ADMIN_MENU_DELETE"), "TITLE" => GetMessage("SUP_DELETE_TICKET"), "ICON" => "btn_delete", "LINK" => "javascript:if(confirm('" . GetMessage("SUP_DELETE_TICKET_CONFIRM") . "')) window.location='/bitrix/admin/ticket_list.php?ID=" . $ID . "&action=delete&redirectafter=Y&lang=" . LANGUAGE_ID . "&" . bitrix_sessid_get() . "';");
}
if (!empty($arSpamMenu)) {
$aMenu[] = array("TEXT" => GetMessage("SUP_MENU_SPAM"), "TITLE" => GetMessage("SUP_MENU_SPAM_TITLE"), "MENU" => $arSpamMenu);
}
}
}
//echo ShowSubMenu($aMenu);
$context = new CAdminContextMenu($aMenu);
$context->Show();
if ($message) {
echo $message->Show();
$messageA = $message->GetMessages();
}
/***************************************************************************
HTML form
****************************************************************************/
$hkInst = CHotKeys::getInstance();
$arHK = array("B", "I", "U", "QUOTE", "CODE", "TRANSLIT");
foreach ($arHK as $n => $s) {
$arExecs = $hkInst->GetCodeByClassName("TICKET_EDIT_{$s}");
echo $hkInst->PrintJSExecs($arExecs);
}
?>
<script language="JavaScript">
<!--
function htmlspecialcharsback(str)