자동 로그인 기능 추가. 로그인/로그아웃 후 이동할 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

@ -0,0 +1,7 @@
<script type="text/javascript">
<!--@if($redirect_url)-->
location.href = "{$redirect_url}";
<!--@else-->
location.href = current_url.setQuery('act','');
<!--@end-->
</script>

View file

@ -84,10 +84,24 @@
<p>{$lang->about_signature_max_height}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->after_login_url}</th>
<td>
<input type="text" name="after_login_url" value="{$config->after_login_url}" class="inputTypeText w400" />
<p>{$lang->about_after_login_url}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->after_logout_url}</th>
<td>
<input type="text" name="after_logout_url" value="{$config->after_logout_url}" class="inputTypeText w400" />
<p>{$lang->about_after_logout_url}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->redirect_url}</th>
<td>
<input type="text" name="redirect_url" value="{$config->redirect_url}" class="inputTypeText w100" />
<input type="text" name="redirect_url" value="{$config->redirect_url}" class="inputTypeText w400" />
<p>{$lang->about_redirect_url}</p>
</td>
</tr>