Quest/Misc
* move honor/arena point reward to gains on detail page so it no longer looks like an item
This commit is contained in:
parent
98763c3060
commit
5f7247b292
2 changed files with 28 additions and 9 deletions
|
|
@ -147,7 +147,7 @@ if ([$spells, $items, $choice, $money] = $this->rewards):
|
|||
|
||||
endif;
|
||||
|
||||
if ([$xp, $rep, $title, $tp] = $this->gains):
|
||||
if ([$xp, $rep, $title, $tp, $honor, $arena] = $this->gains):
|
||||
?>
|
||||
<h3><?=Lang::main('gains'); ?></h3>
|
||||
<?=Lang::quest('gainsDesc').Lang::main('colon'); ?>
|
||||
|
|
@ -171,6 +171,19 @@ if ([$xp, $rep, $title, $tp] = $this->gains):
|
|||
echo ' <li><div>'.Lang::quest('bonusTalents', [$tp])."</div></li>\n";
|
||||
endif;
|
||||
|
||||
if ($arena || $honor[0]):
|
||||
echo ' <li><div>';
|
||||
if ($honor[0]):
|
||||
$a = '<a href="?currency=104">'.$honor[0].'</a>';
|
||||
$a = $honor[1] == SIDE_BOTH ? '<span class="moneyalliance">'.$a.'</span>' : $a;
|
||||
echo '<span class="money'.($honor[1] == SIDE_ALLIANCE ? 'alliance' : 'horde').' tip q1" onmouseover="Listview.funcBox.moneyHonorOver(event)" onmousemove="$WH.Tooltip.cursorUpdate(event)" onmouseout="$WH.Tooltip.hide()">'.$a.'</span>';
|
||||
endif;
|
||||
if ($arena):
|
||||
echo ' <span class="moneyarena tip q1" onmouseover="Listview.funcBox.moneyArenaOver(event)" onmousemove="$WH.Tooltip.cursorUpdate(event)" onmouseout="$WH.Tooltip.hide()"><a href="?currency=103">'.$arena.'</a></span>';
|
||||
endif;
|
||||
echo "</div></li>\n";
|
||||
endif;
|
||||
|
||||
echo " </ul>\n";
|
||||
endif;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue