mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
59 lines
3 KiB
HTML
59 lines
3 KiB
HTML
<include target="header.html" />
|
|
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/autoinstall/tpl/uninstall/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
|
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
|
</div>
|
|
<table class="x_table x_table-striped x_table-hover dsTg">
|
|
<caption>
|
|
<strong>{lang('all')} ({count($module_list)})</strong>
|
|
<div class="x_pull-right x_btn-group">
|
|
<button class="x_btn x_active __simple">{$lang->simple_view}</button>
|
|
<button class="x_btn __detail">{$lang->detail_view}</button>
|
|
</div>
|
|
</caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="nowr">{lang('favorite')}</th>
|
|
<th class="title">{$lang->module_name}</th>
|
|
<th class="nowr">{$lang->version}</th>
|
|
<th class="nowr rx_detail_marks">{$lang->author}</th>
|
|
<th class="nowr rx_detail_marks">{$lang->path}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr loop="$module_list => $key,$val" data-type1="#"|cond="in_array($val->module,$favoriteModuleList)" data-type2="#"|cond="$val->need_install || $val->need_update || $val->need_autoinstall_update">
|
|
<td class="nodescription"|cond="!$val->description">
|
|
<button type="button" class="fvOn" onclick="doToggleFavoriteModule(this, '{$val->module}')" cond="in_array($val->module,$favoriteModuleList)">{lang("favorite")} ({lang("on")})</button>
|
|
<button type="button" class="fvOff" onclick="doToggleFavoriteModule(this, '{$val->module}')" cond="!in_array($val->module,$favoriteModuleList)">{lang("favorite")} ({lang("off")})</button>
|
|
</td>
|
|
<td class="title">
|
|
<p>
|
|
<a href="{getUrl('','module','admin','act',$val->admin_index_act)}" cond="$val->admin_index_act">{$val->title}</a>
|
|
<strong cond="!$val->admin_index_act">{$val->title}</strong>
|
|
</p>
|
|
<p cond="$val->description">{$val->description}</p>
|
|
<p cond="Context::isBlacklistedPlugin($val->module, 'module')" class="x_alert x_alert-error">
|
|
{$lang->msg_blacklisted_module}
|
|
</p>
|
|
<p cond="$val->need_install" class="x_alert x_alert-info">{$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="x_alert x_alert-info">{$lang->msg_avail_update} <button class="text" type="button" onclick="doUpdateModule('{$val->module}')">{$lang->msg_do_you_like_update}</button></p>
|
|
</td>
|
|
<td>
|
|
<!--@if($val->version === 'RX_VERSION' && Context::isDefaultPlugin($val->module, 'module'))-->
|
|
<img src="{\RX_BASEURL}common/img/icon.png" class="core_symbol" alt="Rhymix Core" title="Rhymix Core" />
|
|
<!--@else-->
|
|
<span style="color:#aaa"|cond="Context::isBlacklistedPlugin($val->module, 'module')">{$val->version}</span>
|
|
<!--@endif-->
|
|
</td>
|
|
<td class="nowr rx_detail_marks">
|
|
<!--@foreach($val->author as $author)-->
|
|
<!--@if($author->homepage)-->
|
|
<a href="{$author->homepage}" target="_blank">{$author->name}</a>
|
|
<!--@else-->
|
|
{$author->name}
|
|
<!--@endif-->
|
|
<!--@endforeach-->
|
|
</td>
|
|
<td class="rx_detail_marks">{$val->path}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|