mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Locks
* implemented display of LOCK_TYPE_SPELL (3 cases) * show "unlocks" tab on spell detail page * closes #288
This commit is contained in:
@@ -99,7 +99,7 @@ class GameObjectList extends DBTypeList
|
||||
if (isset($this->curTpl['lockId']))
|
||||
if ($locks = Lang::getLocks($this->curTpl['lockId']))
|
||||
foreach ($locks as $l)
|
||||
$x .= '<tr><td>'.sprintf(Lang::game('requires'), $l).'</td></tr>';
|
||||
$x .= '<tr><td>'.Lang::game('requires', [$l]).'</td></tr>';
|
||||
|
||||
$x .= '</table>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user