Add new voting system
This commit is contained in:
committed by
Chris Morgan
parent
c95da59dd1
commit
835d82e49b
@@ -789,10 +789,12 @@ class version {
|
||||
// main URL
|
||||
echo " <tr class=\"color1\"><td><b>URL</b></td><td>".$appLinkURL."</td></tr>\n";
|
||||
|
||||
$oM = new objectManager("voteManager", "Vote");
|
||||
$oM->setReturnTo($this->objectMakeUrl());
|
||||
// Votes
|
||||
echo html_tr(array(
|
||||
"<b>Votes</b>",
|
||||
vote_count_version_total($this->iVersionId)),
|
||||
vote_count_version_total($this->iVersionId).' <a href="'.$oM->makeUrl("edit", $_SESSION['current']->iUserId).'&iVersionId='.$this->iVersionId.'">Vote</a>'),
|
||||
"color0");
|
||||
|
||||
if($this->sTestedRating != "/" && $this->sTestedRating)
|
||||
|
||||
Reference in New Issue
Block a user