mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-26 00:10:55 +01:00
"lock" should be "unlock" and "unlock" should be "lock"
This commit is contained in:
parent
33e125a06c
commit
b5f2390d10
@ -468,9 +468,9 @@
|
||||
// Lock
|
||||
if($this->mod['type'] >= $config['mod']['lock'])
|
||||
if($this->locked)
|
||||
$built .= ' <a title="Lock thread" href="?/' . $board['uri'] . '/unlock/' . $this->id . '">' . $config['mod']['link_unlock'] . '</a>';
|
||||
$built .= ' <a title="Unlock thread" href="?/' . $board['uri'] . '/unlock/' . $this->id . '">' . $config['mod']['link_unlock'] . '</a>';
|
||||
else
|
||||
$built .= ' <a title="Unlock thread" href="?/' . $board['uri'] . '/lock/' . $this->id . '">' . $config['mod']['link_lock'] . '</a>';
|
||||
$built .= ' <a title="Lock thread" href="?/' . $board['uri'] . '/lock/' . $this->id . '">' . $config['mod']['link_lock'] . '</a>';
|
||||
|
||||
$built .= '</span>';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user