issue 1602 fixed. The notify of creating table and updating module should be showed in simple view of installed module on admin page.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10408 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-03-09 10:26:47 +00:00
parent 8aa01caea2
commit 31317f0a0b
4 changed files with 20 additions and 73 deletions

View file

@ -1214,33 +1214,19 @@ jQuery(function($){
});
/* Details toggle in admin table */
jQuery(function($){
var details = $('.x .dsTg>table>tbody>tr>td.title>p:not(:first-child)');
var viewBtn = $('.x .dsTg>table>caption>span.side>button.text');
details.hide();
viewBtn.click(function(){
details.slideToggle(200);
viewBtn.toggleClass('details');
var viewBtn = $('.x .dsTg span.side>button.text');
var tdTitle = $('.x .dsTg td.title');
tdTitle.each(function(){
var $t = $(this)
if($t.find('p.update').length==0){
$t.addClass('tg').find('>p:not(:first-child)').hide();
} else {
$t.addClass('up');
}
});
var details = $('.x .dsTg td.tg>p:not(:first-child)');
viewBtn.click(function(){
viewBtn.toggleClass('details');
details.slideToggle(200);
});
var lnb = $('div.lnb');
var h = lnb.offset().top;
function fixedLnb()
{
if(lnb.css('width') != '210px')
{
lnb.css('position', 'relative');
return;
}
if($(document).scrollTop() >= h-20)
{
lnb.css({'position':'fixed', 'top':'0px'});
}
else
{
lnb.css('position', 'relative');
}
setTimeout(fixedLnb, 100);
}
fixedLnb();
});

File diff suppressed because one or more lines are too long

View file

@ -17,13 +17,13 @@
<value xml:lang="zh-TW"><![CDATA[此項目有新版本]]></value>
</item>
<item name="msg_do_you_like_install">
<value xml:lang="ko"><![CDATA[생성하시겠습니까?]]></value>
<value xml:lang="ko"><![CDATA[생성 하시겠습니까?]]></value>
<value xml:lang="en"><![CDATA[Would you like to create?]]></value>
<value xml:lang="jp"><![CDATA[インストールしますか?]]></value>
<value xml:lang="zh-TW"><![CDATA[想要安裝嗎?]]></value>
</item>
<item name="msg_do_you_like_update">
<value xml:lang="ko"><![CDATA[업데이트하시겠습니까?]]></value>
<value xml:lang="ko"><![CDATA[업데이트 하시겠습니까?]]></value>
<value xml:lang="en"><![CDATA[Would you like to update?]]></value>
<value xml:lang="jp"><![CDATA[アップデートしますか?]]></value>
<value xml:lang="zh-TW"><![CDATA[想要更新嗎?]]></value>

View file

@ -35,9 +35,9 @@
<!--@end-->
</p>
<p>{$val->description}</p>
<p cond="$val->need_install" class="update">{$lang->msg_avail_install} <a href="#" onclick="doInstallModule('{$val->module}');return false;">{$lang->msg_do_you_like_install}</a></p>
<p cond="$val->need_update" class="update">{$lang->msg_avail_update} <a href=="#" onclick="doUpdateModule('{$val->module}'); return false;">{$lang->msg_do_you_like_update}</a></p>
<p cond="$val->need_autoinstall_update == 'Y'" class="update">{$lang->msg_avail_easy_update}<a href="{$val->update_url}&amp;return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a></p>
<p cond="$val->need_install" class="update">{$lang->msg_avail_install} <button class="text" type="button" onclick="doInstallModule('{$val->module}')">{$lang->msg_do_you_like_install}</button></p>
<p cond="$val->need_update" class="update">{$lang->msg_avail_update} <button class="text" type="button" onclick="doUpdateModule('{$val->module}')">{$lang->msg_do_you_like_update}</button></p>
<p cond="$val->need_autoinstall_update == 'Y'" class="update">{$lang->msg_avail_easy_update}<a href="{$val->update_url}&amp;return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a></p>
</td>
<td class="nowr">{$val->version}</td>
<td class="nowr">
@ -59,7 +59,6 @@
</td>
</tr>
<!--@end-->
</tbody>
</table>
</div>