added a url to item's page

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12114 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-11-05 02:42:51 +00:00
parent 44b3d7a823
commit dee611e323

View file

@ -177,6 +177,8 @@
$v = $this->rearrange($item, $targets);
$v->item_screenshot_url = str_replace('./', _XE_DOWNLOAD_SERVER_, $v->item_screenshot_url);
$v->category = $this->categories[$v->category_srl]->title;
$v->url = _XE_LOCATION_SITE_ . '?mid=download&package_srl=' . $v->package_srl;
if($packages[$v->package_srl])
{
$v->current_version = $packages[$v->package_srl]->current_version;