mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Add label to rating template
This commit is contained in:
parent
6bad3580a8
commit
159fc98009
@ -103,7 +103,7 @@ class rater
|
||||
$identifier = $table.'-'.$id.'-'.vartrue($options['uniqueId'],'rate');
|
||||
|
||||
$TEMPLATE['STATUS'] = " <span class='e-rate-status e-rate-status-{$table}' id='e-rate-{$identifier}' style='display:none'>".$label."</span>";
|
||||
$TEMPLATE['RATE'] = "<div class='e-rate e-rate-{$table}' id='{$identifier}' data-hint=\"{$datahint}\" data-readonly='{$readonly}' data-score='{$score}' data-url='".e_HTTP."rate.php' data-path='{$path}'></div>";
|
||||
$TEMPLATE['RATE'] = "<div class='e-rate e-rate-{$table}' id='{$identifier}' data-hint=\"{$datahint}\" data-readonly='{$readonly}' data-score='{$score}' data-url='".e_HTTP."rate.php' data-path='{$path}'>".$label."</div>";
|
||||
$TEMPLATE['VOTES'] = "<div class='muted e-rate-votes e-rate-votes-{$table}' id='e-rate-votes-{$identifier}'><small>".$this->renderVotes($votes,$score)."</small></div>";
|
||||
|
||||
$tmp = explode("|",$template);
|
||||
|
Loading…
x
Reference in New Issue
Block a user