rhymix/modules/install/tpl/check_env.html

65 lines
2.6 KiB
HTML

<include target="header.html" />
<div id="body">
<include target="progress_menu.html" />
<div id="content">
<h2 cond="$install_enable">{$lang->install_condition_enable}</h2>
<h2 cond="!$install_enable">{$lang->install_condition_disable}</h2>
<table id="check_env">
<block loop="$checklist => $key,$val">
<tr>
<td class="check_env_item">
{$lang->install_checklist_title[$key]}
<!--@if($key === 'php_version')-->({$phpversion})<!--@end-->
</td>
<td class="check_env_status">
<span cond="$val" class="ok">OK</span>
<span cond="!$val" class="error">ERROR</span>
</td>
</tr>
<tr cond="!$val && isset($lang->install_checklist_desc[$key])">
<td colspan="2" class="error_description">
<!--@if($key === 'php_version')-->
{sprintf($lang->install_checklist_desc[$key], __XE_MIN_PHP_VERSION__)}
<!--@elseif($key === 'session')-->
{$lang->install_checklist_desc[$key]}
<!--@if(preg_match('/^([a-z0-9_-]+).[a-z0-9_-]+.(com|net|co\.kr)/i', $_SERVER['HTTP_HOST'], $matches) && $matches[1] !== 'www')-->
<br /><strong>{$lang->install_checklist_desc['free_domain_warning']}</strong>
<!--@end-->
<!--@else-->
{$lang->install_checklist_desc[$key]}
<!--@end-->
</td>
</tr>
</block>
<tr>
<td class="check_env_item">mod_rewrite</td>
<td class="check_env_status" id="mod_write_status">
<span class="ok" style="display:none">OK</span>
<span class="no">&mdash;</span>
</td>
</tr>
<tr id="mod_rewrite_checking" data-url="{Context::getRequestUri()}REWRITE/CHECK/SRSLY/ANYTHING/GOES/{InstallView::$rewriteCheckFilePath}" data-verify="{InstallView::$rewriteCheckString}">
<td colspan="2" class="error_description">
{$lang->checking_rewrite}
</td>
</tr>
<tr id="mod_rewrite_no_support" style="display:none">
<td colspan="2" class="error_description">
{$lang->disable_rewrite}
<block cond="$use_nginx"><br />{$lang->about_nginx_rewrite}</block>
<br /><strong>{$lang->disable_rewrite_can_proceed}</strong>
</td>
</tr>
</table>
</div>
<div id="buttons">
<div class="align-left">
<a href="{getUrl('', 'act','dispInstallLicenseAgreement')}" class="button grey">&laquo; {$lang->cmd_back}</a>
</div>
<div class="align-right">
<a cond="$install_enable" class="button" id="task-checklist-confirm" href="{getUrl('','act','dispInstallDBConfig')}">{$lang->cmd_next} &raquo;</a>
<a cond="!$install_enable" class="button" id="task-checklist-fix" href="{getUrl('','act',$act)}">{$lang->cmd_install_refresh_page} &raquo;</a>
</div>
</div>
</div>
<include target="footer.html" />