本文整理匯總了PHP中TikiLib::symbols方法的典型用法代碼示例。如果您正苦於以下問題:PHP TikiLib::symbols方法的具體用法?PHP TikiLib::symbols怎麽用?PHP TikiLib::symbols使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類TikiLib
的用法示例。
在下文中一共展示了TikiLib::symbols方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: elseif
$smarty->assign('url_port', $url_port);
$smarty->assign('url_path', $url_path);
$smarty->assign('dir_level', $dir_level);
$smarty->assign('base_host', $base_host);
$smarty->assign('base_url', $base_url);
$smarty->assign('base_url_http', $base_url_http);
$smarty->assign('base_url_https', $base_url_https);
$smarty->assign('base_url_canonical', $base_url_canonical);
$smarty->assign('base_url_canonical_default', $base_url_canonical_default);
$smarty->assign('show_stay_in_ssl_mode', $show_stay_in_ssl_mode);
$smarty->assign('stay_in_ssl_mode', $stay_in_ssl_mode);
$smarty->assign('tiki_version', $TWV->version);
$smarty->assign('tiki_branch', $TWV->branch);
$smarty->assign('tiki_star', $TWV->getStar());
$smarty->assign('tiki_uses_svn', $TWV->svn);
$smarty->assign('symbols', TikiLib::symbols());
if (isset($_GET['msg'])) {
$smarty->assign('display_msg', $_GET['msg']);
} elseif (isset($_SESSION['msg'])) {
$smarty->assign('display_msg', $_SESSION['msg']);
unset($_SESSION['msg']);
} else {
$smarty->assign('display_msg', '');
}
if (isset($_GET['msgtype'])) {
$smarty->assign('display_msgtype', $_GET['msgtype']);
} elseif (isset($_SESSION['msgtype'])) {
$smarty->assign('display_msgtype', $_SESSION['msgtype']);
unset($_SESSION['msgtype']);
} else {
$smarty->assign('display_msgtype', '');