19 package org.turro.user.menu;
21 import org.turro.elephant.context.Application;
22 import org.turro.elephant.context.ElephantContext;
23 import org.turro.elephant.user.menu.CaptionMenu;
24 import org.turro.elephant.user.menu.DefaultUserMenu;
25 import org.turro.elephant.user.menu.IUserMenu;
26 import org.turro.elephant.user.menu.UserMenu;
27 import org.turro.elephant.user.menu.UserMenus;
28 import org.turro.i18n.I_;
38 super(
"Elephant",
null);
70 for(String l : langs) {
72 Application.setCookie(
"lang", l,
"/", 365*24*60*60);
73 Application.getApplication().sendRedirect(
"/user");
IConstructor getConstructor()
boolean isInRole(String role)
static Application getApplication()
static void deleteCookie(String name, String path)
static String getSiteLocales()
static boolean getUseSSO()
static String keyValue(String key)