자동 로그인 기능 추가. 로그인/로그아웃 후 이동할 url 지정 기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3698 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-02-18 17:08:36 +00:00
parent d0cf6957a5
commit 94ff9c8920
27 changed files with 271 additions and 86 deletions

View file

@ -1,13 +1,8 @@
/* 로그인 영역에 포커스 */
function doFocusUserId(fo_id) {
if(xScrollTop()) return;
var fo_obj = xGetElementById(fo_id);
if(xGetCookie('user_id')) {
fo_obj.user_id.value = xGetCookie('user_id');
fo_obj.remember_user_id.checked = true;
try{
fo_obj.password.focus();
} catch(e) {};
} else {
if(fo_obj.user_id) {
try{
fo_obj.user_id.focus();
} catch(e) {};