Optimizer의 실행 유무를 관리자 페이지에서 지정할 수 있도록 코드 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2703 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-10-09 07:16:59 +00:00
parent 6336292f2e
commit 6e3ae53763
9 changed files with 35 additions and 7 deletions

View file

@ -38,6 +38,7 @@
Context::set('time_zone_list', $GLOBALS['time_zone']);
Context::set('time_zone', $GLOBALS['_time_zone']);
Context::set('use_rewrite', $db_info->use_rewrite=='Y'?'Y':'N');
Context::set('use_optimizer', $db_info->use_optimizer==''?'Y':'N');
Context::setBrowserTitle("ZeroboardXE Admin Page");
}

View file

@ -34,6 +34,20 @@
<col width="200" />
<col />
<caption>{$lang->env_setup}</caption>
<tr>
<th scope="row">{$lang->use_rewrite}</th>
<td>
<input type="checkbox" name="use_rewrite" value="Y" <!--@if($use_rewrite=='Y')-->checked="checked"<!--@end--> />
<p>{$lang->about_rewrite}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->use_optimizer}</th>
<td>
<input type="checkbox" name="use_optimizer" value="Y" <!--@if($use_optimizer!='N')-->checked="checked"<!--@end--> />
<p>{$lang->about_optimizer}</p>
</td>
</tr>
<tr>
<th scope="row">Lang</th>
<td>
@ -48,13 +62,6 @@
<p>{$lang->about_lang_env}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->use_rewrite}</th>
<td>
<input type="checkbox" name="use_rewrite" value="Y" <!--@if($use_rewrite=='Y')-->checked="checked"<!--@end--> />
<p>{$lang->about_rewrite}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->time_zone}</th>
<td>