issue 2604 checked rewrite module when checked environment.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11803 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-10-19 06:12:47 +00:00
parent cfc86f9b52
commit e200199cd9
5 changed files with 33 additions and 4 deletions

View file

@ -25,6 +25,12 @@
</li>
</ul>
</div>
<div cond="$use_rewrite == 'N'">
<p>
<i class="x_icon-ok-sign x_icon-white"></i>
{$lang->disable_rewrite}
</p>
</div>
<div class="ibtnArea">
<span class="x_pull-left">
<a href="{getUrl('')}" class="x_btn x_btn-small x_btn-inverse"><i class="x_icon-chevron-left x_icon-white"></i> {$lang->cmd_back}</a>

View file

@ -8,10 +8,7 @@
</div>
<form action="./" method="post">
<input type="hidden" name="act" value="procConfigSetting" />
<div class="x_control-group">
<label for="rewrite"><input name="use_rewrite" value="Y" checked="checked"|cond="function_exists('apache_get_modules')&&in_array('mod_rewrite',apache_get_modules())" type="checkbox" id="rewrite" /> {$lang->use_rewrite}</label>
<p>{$lang->about_rewrite}</p>
</div>
<input type="hidden" name="use_rewrite" value="{$use_rewrite}" />
<div class="x_control-group">
<select name="time_zone" style="width:100%">
<option loop="$time_zone => $key,$val" id="{$key}" value="{$key}" selected="selected"|cond="$key==date('O')">{$val}</option>