mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
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:
parent
8aa01caea2
commit
31317f0a0b
4 changed files with 20 additions and 73 deletions
|
|
@ -1214,33 +1214,19 @@ jQuery(function($){
|
||||||
});
|
});
|
||||||
/* Details toggle in admin table */
|
/* Details toggle in admin table */
|
||||||
jQuery(function($){
|
jQuery(function($){
|
||||||
var details = $('.x .dsTg>table>tbody>tr>td.title>p:not(:first-child)');
|
var viewBtn = $('.x .dsTg span.side>button.text');
|
||||||
var viewBtn = $('.x .dsTg>table>caption>span.side>button.text');
|
var tdTitle = $('.x .dsTg td.title');
|
||||||
details.hide();
|
tdTitle.each(function(){
|
||||||
viewBtn.click(function(){
|
var $t = $(this)
|
||||||
details.slideToggle(200);
|
if($t.find('p.update').length==0){
|
||||||
viewBtn.toggleClass('details');
|
$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();
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
40
modules/admin/tpl/js/admin.min.js
vendored
40
modules/admin/tpl/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -17,13 +17,13 @@
|
||||||
<value xml:lang="zh-TW"><![CDATA[此項目有新版本]]></value>
|
<value xml:lang="zh-TW"><![CDATA[此項目有新版本]]></value>
|
||||||
</item>
|
</item>
|
||||||
<item name="msg_do_you_like_install">
|
<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="en"><![CDATA[Would you like to create?]]></value>
|
||||||
<value xml:lang="jp"><![CDATA[インストールしますか?]]></value>
|
<value xml:lang="jp"><![CDATA[インストールしますか?]]></value>
|
||||||
<value xml:lang="zh-TW"><![CDATA[想要安裝嗎?]]></value>
|
<value xml:lang="zh-TW"><![CDATA[想要安裝嗎?]]></value>
|
||||||
</item>
|
</item>
|
||||||
<item name="msg_do_you_like_update">
|
<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="en"><![CDATA[Would you like to update?]]></value>
|
||||||
<value xml:lang="jp"><![CDATA[アップデートしますか?]]></value>
|
<value xml:lang="jp"><![CDATA[アップデートしますか?]]></value>
|
||||||
<value xml:lang="zh-TW"><![CDATA[想要更新嗎?]]></value>
|
<value xml:lang="zh-TW"><![CDATA[想要更新嗎?]]></value>
|
||||||
|
|
|
||||||
|
|
@ -35,9 +35,9 @@
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</p>
|
</p>
|
||||||
<p>{$val->description}</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_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} <a href=="#" onclick="doUpdateModule('{$val->module}'); return false;">{$lang->msg_do_you_like_update}</a></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}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$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}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a></p>
|
||||||
</td>
|
</td>
|
||||||
<td class="nowr">{$val->version}</td>
|
<td class="nowr">{$val->version}</td>
|
||||||
<td class="nowr">
|
<td class="nowr">
|
||||||
|
|
@ -59,7 +59,6 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue