diff --git a/application/modules/default/views/scripts/explore/partials/products.phtml b/application/modules/default/views/scripts/explore/partials/products.phtml index 4f889c5e1..5ba25cf25 100644 --- a/application/modules/default/views/scripts/explore/partials/products.phtml +++ b/application/modules/default/views/scripts/explore/partials/products.phtml @@ -1,138 +1,138 @@ . **/ $helperPrintDate = new Default_View_Helper_PrintDate(); //Check if this is a collection $collCatId = Zend_Registry::get('config')->settings->client->default->collection_cat_id; $helperImage = new Default_View_Helper_Image(); $this->rownum = (1 + (($this->page - 1) * 10)); foreach ($this->products as $this->product) { $updateTime = $helperPrintDate->printDate($this->product->project_changed_at); $helperBuildProductUrl = new Default_View_Helper_BuildProductUrl(); if($collCatId == $this->product->project_category_id) { $helperBuildProductUrl = new Default_View_Helper_BuildCollectionUrl(); } ?>
rownum)?>.

product->version); $product_title = Default_Model_HtmlPurify::purify($this->product->title); ?>

product->cat_title?> by product->username?>
dataCategory->show_description==1){ $desc = $this->truncate(Default_Model_HtmlPurify::purify(Default_Model_BBCode::renderHtml($this->product->description)), 300); ?>
product->package_names)) { $list_packages = explode(',', $this->product->package_names); $resultString = ''; foreach ($list_packages as $item) { $resultString = $resultString . ' ' . stripslashes($item) . ''; } echo $resultString; } ?>
product->count_plingers; $count_comments = $this->product->count_comments; //echo ($count_plingers>0 ? ''.$count_plingers.' supporter':'').($count_plingers>1?'s':'').($count_plingers>0?'':'') ; echo ($count_comments>0 ? ''.$count_comments.' comment':'').($count_comments>1?'s':'').($count_comments>0?'':'') ; ?>
hasIdentity() AND Zend_Auth::getInstance()->getIdentity()->roleName == 'admin') { if($this->product->laplace_score) { echo 'Score_old : '.$this->product->laplace_score_old.'%'; - echo '/Score_test : '.number_format($this->product->laplace_score/100,1); + echo '/Score_test : '.number_format($this->product->laplace_score_test/100,1); } }?> widgetRating = new stdClass(); $this->widgetRating->project_id = $this->product->project_id; $this->widgetRating->laplace_score = $this->product->laplace_score; $this->widgetRating->count_likes = $this->product->count_likes; $this->widgetRating->count_dislikes = $this->product->count_dislikes; // it is a trial include APPLICATION_PATH . '/modules/default/views/scripts/partials/widgetRating.phtml'; //echo $this->render('partials/widgetRating.phtml'); ?>
rownum++; }