mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
69 lines
3.4 KiB
HTML
69 lines
3.4 KiB
HTML
<div class="x_page-header">
|
|
<h1>{$lang->installed_addons} <a class="x_icon-question-sign" href="./common/manual/admin/index.html#UMAN_advanced_installed_addon" target="_blank">{$lang->help}</a></h1>
|
|
</div>
|
|
<p>{$lang->about_installed_addon}</p>
|
|
<form action="./" method="post">
|
|
<input type="hidden" name="module" value="addon" />
|
|
<input type="hidden" name="act" value="procAddonAdminSaveActivate" />
|
|
<input type="hidden" name="sccess_return_url" value="{getRequestUriByServerEnviroment()}" />
|
|
<input type="hidden" name="xe_validator_id" value="modules/addon/tpl/addon_list/1" />
|
|
|
|
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/addon/tpl/addon_list/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>All({$addon_count})</strong>
|
|
<div class="x_pull-right x_btn-group">
|
|
<button type="button" class="x_btn x_active __simple">{$lang->simple_view}</button>
|
|
<button type="button" class="x_btn __detail">{$lang->detail_view}</button>
|
|
</div>
|
|
</caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="title">{$lang->addon_name}</th>
|
|
<th class="nowr">{$lang->version}</th>
|
|
<th class="nowr">{$lang->author}</th>
|
|
<th class="nowr">{$lang->installed_path}</th>
|
|
<th class="nowr">{$lang->cmd_setup}</th>
|
|
<th class="nowr">PC</th>
|
|
<th class="nowr">Mobile</th>
|
|
<th class="nowr">{$lang->cmd_delete}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr loop="$addon_list => $addon">
|
|
<td class="title">
|
|
<p><strong style="color:#aaa"|cond="$addon->isBlacklisted">{$addon->title}</strong></p>
|
|
<p>{$addon->description}</p>
|
|
<p cond="$addon->need_update == 'Y'" class="update">
|
|
{$lang->msg_avail_easy_update} <a href="{$addon->update_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a>
|
|
</p>
|
|
</td>
|
|
<td><span style="color:#aaa"|cond="$addon->isBlacklisted">{$addon->version}</span></td>
|
|
<td class="nowr">
|
|
<block loop="$addon->author => $author">
|
|
<a cond="$author->homepage" href="{$author->homepage}" target="_blank">{$author->name}</a>
|
|
<block cond="!$author->homepage">{$author->name}</block>
|
|
</block>
|
|
</td>
|
|
<td><span style="color:#aaa"|cond="$addon->isBlacklisted">{$addon->path}</span></td>
|
|
<td>
|
|
<!--@if($addon->isBlacklisted)-->
|
|
<span style="color:#aaa">{$lang->cmd_setup}</span>
|
|
<!--@else-->
|
|
<a href="{getUrl('act', 'dispAddonAdminSetup', 'selected_addon', $addon->addon_name)}">{$lang->cmd_setup}</a>
|
|
<!--@end-->
|
|
</td>
|
|
<td><input type="checkbox" name="pc_on[]" title="PC" value="{htmlspecialchars($addon->addon_name, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}" checked="checked"|cond="$addon->activated && !$addon->isBlacklisted" disabled="disabled"|cond="$addon->isBlacklisted" /></td>
|
|
<td><input type="checkbox" name="mobile_on[]" title="Mobile" value="{htmlspecialchars($addon->addon_name, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}" checked="checked"|cond="$addon->mactivated && !$addon->isBlacklisted" disabled="disabled"|cond="$addon->isBlacklisted" /></td>
|
|
<td><a cond="$addon->remove_url" href="{$addon->remove_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div class="x_clearfix">
|
|
<div class="x_pull-right">
|
|
<button type="submit" class="x_btn x_btn-primary">{$lang->cmd_save}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|