本文整理汇总了PHP中vmCommonHTML::getSuccessIndicator方法的典型用法代码示例。如果您正苦于以下问题:PHP vmCommonHTML::getSuccessIndicator方法的具体用法?PHP vmCommonHTML::getSuccessIndicator怎么用?PHP vmCommonHTML::getSuccessIndicator使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类vmCommonHTML
的用法示例。
在下文中一共展示了vmCommonHTML::getSuccessIndicator方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: empty
// Here is the most important part of the whole Shop:
// LOADING the requested page for displaying it to the customer.
// I have wrapped it with a function, because it becomes
// cacheable that way.
// It's just an "include" statement which loads the page
$vmDoCaching = ($page == "shop.browse" || $page == "shop.product_details") && (empty($keyword) && empty($keyword1) && empty($keyword2));
// IE6 PNG transparency fix
$vm_mainframe->addScript("{$mosConfig_live_site}/components/{$option}/js/sleight.js");
echo '<div id="vmMainPage">' . "\n";
// Load requested PAGE
if (file_exists(PAGEPATH . $modulename . "." . $pagename . ".php")) {
if ($only_page) {
require_once CLASSPATH . 'connectionTools.class.php';
vmConnector::sendHeaderAndContent(200);
if ($func) {
echo vmCommonHTML::getSuccessIndicator($ok, $vmDisplayLogger);
}
/*@MWM1: Log/Debug enhancements*/
include PAGEPATH . $modulename . "." . $pagename . ".php";
// Exit gracefully
$vm_mainframe->close(true);
}
include PAGEPATH . $modulename . "." . $pagename . ".php";
} elseif (file_exists(PAGEPATH . HOMEPAGE . '.php')) {
include PAGEPATH . HOMEPAGE . '.php';
} else {
include PAGEPATH . 'shop.index.php';
}
if (!empty($mosConfig_caching) && $vmDoCaching) {
echo '<span class="small">' . $VM_LANG->_('LAST_UPDATED') . ': ' . strftime($vendor_date_format) . '</span>';
}