Updated : functions_templates.php

This commit is contained in:
Arslan Hassan 2012-07-04 07:47:34 +00:00
parent 4c4aefc9dd
commit 5b8d2d8008

View file

@ -245,7 +245,7 @@ function show_rating($params) {
$disperc = 100 - $perc; $disperc = 100 - $perc;
if ($ratings <= 0 && $disperc == 100) if ($ratings <= 0 && $disperc == 100)
$disperc = 0; $disperc = 0;
}
$perc = $perc . '%'; $perc = $perc . '%';
$disperc = $disperc . "%"; $disperc = $disperc . "%";
@ -311,7 +311,7 @@ function show_rating($params) {
} }
} }
break; break;
}
/* $rating = '<div class="'.$class.'"> /* $rating = '<div class="'.$class.'">
<div class="stars_blank"> <div class="stars_blank">
<div class="stars_filled" style="width:'.$perc.'">&nbsp;</div> <div class="stars_filled" style="width:'.$perc.'">&nbsp;</div>
@ -704,6 +704,7 @@ function is_includeable($array) {
* This function works the same way as include_header * This function works the same way as include_header
* but the only difference is , it is used to include * but the only difference is , it is used to include
* JS files only * JS files only
* @deprecated v3.0
*/ */
$the_js_files = array(); $the_js_files = array();