Issue 2378: Admin UI Refactoring - Advanced - Easy Install

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11662 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-10-11 04:42:27 +00:00
parent 4eac255d7d
commit 3015cc2340

View file

@ -43,10 +43,10 @@
<div class="x_thumbnail" style="position:absolute;left:15px">
<img src="{str_replace('./', $uri, $item->item_screenshot_url)}" alt="" width="100" height="100" />
</div>
<div style="text-align:right">
<div class="x_clearfix">
<p>{$item->category}</p>
<h4 style="text-overflow:ellipsis;overflow:hidden;white-space:nowrap"><a href="{$target_url}" title="{htmlspecialchars($item->title)}" target="_blank">{htmlspecialchars($item->title)}</a></h4>
<p>
<p class="x_pull-left nowr" style="margin-right:20px">
<block cond="(int)$item->package_voter > 0">
<span class="starRating" style="text-align:left"><span style="width:{sprintf("%d",$item->package_voted/$item->package_voter*20)}%">{sprintf($lang->rate, $item->package_start)}</span></span>
<span class="x_label">{sprintf("%0.1f",$item->package_voted/$item->package_voter*2)}/{number_format($item->package_voter)}</label>
@ -56,7 +56,7 @@
<span class="x_label">0/0</span>
</block>
</p>
<p>
<p class="x_pull-right nowr">
<a cond="$item->current_version && $item->need_update != 'Y'" class="x_btn x_disabled" href="#">{$lang->installed}</a>
<a cond="!$item->current_version" class="x_btn x_btn-primary" href="{getUrl('act','dispAutoinstallAdminInstall','package_srl',$item->package_srl)}">{$lang->install}</a>
<a cond="!$show_ftp_note && $item->current_version && $item->avail_remove" class="x_btn x_btn-primary" href="{getUrl('act','dispAutoinstallAdminUninstall','package_srl',$item->package_srl)}">{$lang->cmd_delete}</a>