mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Page/WH
* handle backlink in Page instead of Util * update event/holiday link
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// link to wowhead
|
||||
if (isset($this->redButtons[BUTTON_WOWHEAD])):
|
||||
if ($this->redButtons[BUTTON_WOWHEAD]):
|
||||
echo '<a href="'.Util::$wowheadLink.'" rel="np" class="button-red"><em><b><i>Wowhead</i></b><span>Wowhead</span></em></a>';
|
||||
echo '<a href="'.$this->wowheadLink.'" rel="np" class="button-red"><em><b><i>Wowhead</i></b><span>Wowhead</span></em></a>';
|
||||
else:
|
||||
echo '<a href="javascript:;" class="button-red button-red-disabled"><em><b><i>Wowhead</i></b><span>Wowhead</span></em></a>';
|
||||
endif;
|
||||
|
||||
@@ -11,7 +11,7 @@ $this->brick('pageTemplate');
|
||||
?>
|
||||
|
||||
<div class="text">
|
||||
<a href="<?php echo Util::$wowheadLink; ?>" class="button-red"><em><b><i>Wowhead</i></b><span>Wowhead</span></em></a>
|
||||
<a href="<?=$this->wowheadLink; ?>" class="button-red"><em><b><i>Wowhead</i></b><span>Wowhead</span></em></a>
|
||||
<?php
|
||||
if ($this->lvTabs):
|
||||
echo ' <h1>'.Lang::main('foundResult').' <i>'.Util::htmlEscape($this->search).'</i>';
|
||||
|
||||
Reference in New Issue
Block a user