本文整理汇总了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', '');