mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
issue 793, added a message about update core on easy install
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11089 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9bcaa0f4de
commit
8240688732
3 changed files with 16 additions and 0 deletions
|
|
@ -323,6 +323,11 @@
|
|||
{
|
||||
$package->depends[$key]->need_update = true;
|
||||
$package->package_srl .= ",". $dep->package_srl;
|
||||
|
||||
if($dep->path === '.')
|
||||
{
|
||||
Context::set('contain_core', TRUE);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -338,6 +343,11 @@
|
|||
$package->need_update = version_compare($package->version, $installedPackage->current_version, ">");
|
||||
}
|
||||
Context::set("package", $package);
|
||||
|
||||
if($package->path === '.')
|
||||
{
|
||||
Context::set('contain_core', TRUE);
|
||||
}
|
||||
}
|
||||
if(!$_SESSION['ftp_password'])
|
||||
{
|
||||
|
|
|
|||
|
|
@ -328,4 +328,7 @@
|
|||
<value xml:lang="en"><![CDATA[Cannot delete this package (no moduleUninstall() in the module class).]]></value>
|
||||
<value xml:lang="jp"><![CDATA[このパッケージは、削除をサポートしません(モジュールクラスにmoduleUninstall()がありません)。]]></value>
|
||||
</item>
|
||||
<item name="msg_update_core">
|
||||
<value xml:lang="ko"><![CDATA[<strong style="color:red">XE core가 업데이트 됩니다.</strong><br />core 업데이트 시 설치된 프로그램의 호환성을 반드시 점검하시기 바랍니다.]]></value>
|
||||
</item>
|
||||
</lang>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
<load target="js/waiting.js" usecdn="true" />
|
||||
|
||||
<h2 class="h2">{$package->title} ver. {$package->version}</h2>
|
||||
<div cond="$contain_core" class="message info">
|
||||
<p>{$lang->msg_update_core}</p>
|
||||
</div>
|
||||
<p cond="$package->installed">{$lang->current_version}: {$package->cur_version} <block cond="$package->need_update">({$lang->require_update})</block></p>
|
||||
<p cond="!$package->installed">{$lang->require_installation}</p>
|
||||
<block cond="$package->depends">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue