mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Make all addons, modules, and widgets follow RX_VERSION
This commit is contained in:
parent
aef258e48a
commit
0b265cde21
54 changed files with 156 additions and 109 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<table class="x_table x_table-striped x_table-hover">
|
||||
<tr>
|
||||
<th scope="row">{$lang->title}</th>
|
||||
<td>{$addon_info->title} ver. {$addon_info->version}</td>
|
||||
<td>{$addon_info->title} ver. {$addon->version === 'RX_VERSION' ? 'CORE' : $addon->version}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->author}</th>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,13 @@
|
|||
{$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>
|
||||
<!--@if($addon->version === 'RX_VERSION')-->
|
||||
<img src="{\RX_BASEURL}common/img/icon.png" class="core_symbol" alt="Rhymix Core" title="Rhymix Core" />
|
||||
<!--@else-->
|
||||
<span style="color:#aaa"|cond="$addon->isBlacklisted">{$addon->version}</span>
|
||||
<!--@endif-->
|
||||
</td>
|
||||
<td class="nowr rx_detail_marks">
|
||||
<block loop="$addon->author => $author">
|
||||
<a cond="$author->homepage" href="{$author->homepage}" target="_blank">{$author->name}</a>
|
||||
|
|
@ -53,7 +59,7 @@
|
|||
</td>
|
||||
<td><input type="checkbox" name="pc_on[]" title="PC" value="{escape($addon->addon_name, false)}" checked="checked"|cond="$addon->activated && !$addon->isBlacklisted" disabled="disabled"|cond="$addon->isBlacklisted" /></td>
|
||||
<td><input type="checkbox" name="mobile_on[]" title="Mobile" value="{escape($addon->addon_name, 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>
|
||||
<td><a cond="$addon->remove_url && $addon->version !== 'RX_VERSION'" href="{$addon->remove_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<th class="nowr">{$lang->version}</th>
|
||||
<td>{$addon_info->version} ({zdate($addon_info->date, 'Y-m-d')})</td>
|
||||
<td>
|
||||
{$addon_info->version === 'RX_VERSION' ? 'CORE' : $addon_info->version}
|
||||
<!--@if($addon_info->date)-->({zdate($addon_info->date, 'Y-m-d')})<!--@endif-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="nowr">{$lang->author}</th>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue