Updated : functions_templates.php
This commit is contained in:
parent
4c4aefc9dd
commit
5b8d2d8008
1 changed files with 3 additions and 2 deletions
|
@ -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.'"> </div>
|
<div class="stars_filled" style="width:'.$perc.'"> </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();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue