本文整理汇总了PHP中SE_Language::list_packs方法的典型用法代码示例。如果您正苦于以下问题:PHP SE_Language::list_packs方法的具体用法?PHP SE_Language::list_packs怎么用?PHP SE_Language::list_packs使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SE_Language
的用法示例。
在下文中一共展示了SE_Language::list_packs方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: base64_encode
// SHOW SECOND STEP
if ($task == "step2") {
$step = 2;
$next_task = "step2do";
if (count($field->cats) == 0) {
$task = "step1";
}
$signup_password = base64_encode($signup_password);
$signup_password2 = base64_encode($signup_password2);
}
// SHOW FIRST STEP
if ($task == "step1") {
$step = 1;
$next_task = "step1do";
// GET LANGUAGE PACK LIST
$lang_packlist = SE_Language::list_packs();
ksort($lang_packlist);
$lang_packlist = array_values($lang_packlist);
}
// SET GLOBAL PAGE TITLE
$global_page_title[0] = 679;
$global_page_description[0] = 680;
// ASSIGN VARIABLES AND INCLUDE FOOTER
$smarty->assign('is_error', $is_error);
$smarty->assign('new_user', $new_user);
$smarty->assign('cats', $field->cats);
$smarty->assign('signup_email', $signup_email);
$smarty->assign('signup_password', $signup_password);
$smarty->assign('signup_password2', $signup_password2);
$smarty->assign('signup_username', $signup_username);
$smarty->assign('signup_timezone', $signup_timezone);