示例#1
0
function editGroupAssignValues(&$smarty, $group_name, $edit_tpls, $edit_tpl_files)
{
    intSetGroupInfo($smarty, $group_name);
    $smarty->assign("edit_tpl_files", $edit_tpl_files);
    $smarty->assign("edit_tpl_cs", join($edit_tpls, ","));
    $smarty->assign("target", "group");
    $smarty->assign("target_id", $group_name);
}
示例#2
0
function intSetSingleUserGroupAttrs(&$smarty, $user_info)
{
    intSetGroupInfo($smarty, $user_info["basic_info"]["group_name"]);
}