mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +09:00
issue 160, add waiting message when install/uninstall, fix invalid encoding
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9295 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1b261db0c8
commit
7c496eb936
4 changed files with 21 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
<include target="header.html" />
|
<include target="header.html" />
|
||||||
|
<load target="js/waiting.js" usecdn="true" />
|
||||||
|
|
||||||
<h2 class="h2">{$package->title} ver. {$package->version}</h2>
|
<h2 class="h2">{$package->title} ver. {$package->version}</h2>
|
||||||
<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->current_version}: {$package->cur_version} <block cond="$package->need_update">({$lang->require_update})</block></p>
|
||||||
|
|
|
||||||
15
modules/autoinstall/tpl/js/waiting.js
Normal file
15
modules/autoinstall/tpl/js/waiting.js
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
(function($){
|
||||||
|
var WaitingStub = xe.createPlugin('waiting_stub', {
|
||||||
|
API_BEFORE_VALIDATE : function(sender, params) {
|
||||||
|
$('.wfsr').html(waiting_message).show();
|
||||||
|
},
|
||||||
|
API_BEFORE_SHOW_ALERT : function(sender, params) {
|
||||||
|
$('.wfsr').hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
var Validator = xe.getApp('validator')[0];
|
||||||
|
if(Validator){
|
||||||
|
Validator.registerPlugin(new WaitingStub);
|
||||||
|
}
|
||||||
|
})(jQuery);
|
||||||
|
|
@ -24,9 +24,9 @@
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
Sort by
|
Sort by
|
||||||
<a href="{getUrl('order_target','newest','order_type',$_newest_order_type)}">{$lang->order_newest}<!--@if($order_target == 'newest')--><!--@if($_newest_order_type == 'asc')-->¡å<!--@else-->¡ã<!--@end--><!--@end--></a> |
|
<a href="{getUrl('order_target','newest','order_type',$_newest_order_type)}">{$lang->order_newest}<!--@if($order_target == 'newest')--><!--@if($_newest_order_type == 'asc')-->▼<!--@else-->▲<!--@end--><!--@end--></a> |
|
||||||
<a href="{getUrl('order_target','download','order_type',$_download_order_type)}">{$lang->order_download}<!--@if($order_target == 'download')--><!--@if($_download_order_type == 'asc')-->¡å<!--@else-->¡ã<!--@end--><!--@end--></a> |
|
<a href="{getUrl('order_target','download','order_type',$_download_order_type)}">{$lang->order_download}<!--@if($order_target == 'download')--><!--@if($_download_order_type == 'asc')-->▼<!--@else-->▲<!--@end--><!--@end--></a> |
|
||||||
<a href="{getUrl('order_target','popular','order_type',$_popular_order_type)}">{$lang->order_popular}<!--@if($order_target == 'popular')--><!--@if($_popular_order_type == 'asc')-->¡å<!--@else-->¡ã<!--@end--><!--@end--></a>
|
<a href="{getUrl('order_target','popular','order_type',$_popular_order_type)}">{$lang->order_popular}<!--@if($order_target == 'popular')--><!--@if($_popular_order_type == 'asc')-->▼<!--@else-->▲<!--@end--><!--@end--></a>
|
||||||
</span>
|
</span>
|
||||||
</caption>
|
</caption>
|
||||||
<thead>
|
<thead>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<include target="header.html" />
|
<include target="header.html" />
|
||||||
|
<load target="js/waiting.js" usecdn="true" />
|
||||||
|
|
||||||
<h2 class="h2">{$package->title}</h2>
|
<h2 class="h2">{$package->title}</h2>
|
||||||
<p>{$package->type} ({$package->path})</p>
|
<p>{$package->type} ({$package->path})</p>
|
||||||
|
|
@ -36,4 +37,4 @@
|
||||||
<ul cond="$package->deps">
|
<ul cond="$package->deps">
|
||||||
<li loop="$package->deps => $dep_package_srl">{$installed[$dep_package_srl]->title}</li>
|
<li loop="$package->deps => $dep_package_srl">{$installed[$dep_package_srl]->title}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</block>
|
</block>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue